Entries from 2016-04-01 to 1 month

ubuntu incremental copy backup rsync samba

http://askubuntu.com/questions/198570/files-backup-utility-with-incremental-backups-that-would-keep-backup-device-clea http://qiita.com/bunzaemon/items/6f55d7da12d2b6bd0436 http://zettai-non-sugar.blogspot.hk/2009/10/rsync-nas-samba.html h…

desktop manager not active 「 デスクトップの設定」 デスクトップマネージャはアクティブでありません。

http://askubuntu.com/questions/454885/desktop-manager-error-ubuntu-14-04 https://bugs.launchpad.net/variety/+bug/1296560

ubuntu 14.04 gnome "No system tray detected on this system" where is start up program

This appears to be a problem with older systems. A workaround is to modify the startup desktop connection file (/etc/xdg/autostart/hplip-systray.desktop) fromExec=hp-systray -xtoExec=sh -c "sleep 15; exec hp-systray -x" /etc/xdg/autostart/…

ubuntu 14.10 vnc server multiple Simultaneous independent remote desktop connections (Not tested)

http://askubuntu.com/questions/581979/ubuntu-14-10-multiple-simultaneous-independent-remote-desktop-like-connection http://ubuntuforums.org/showthread.php?t=1302802 - not independent?http://ubuntuforums.org/showthread.php?t=1053242

ssh tunnel open/close options

http://www.g-loaded.eu/2006/11/24/auto-closing-ssh-tunnels/http://benporter.io/blog/linux/remote-desktop-on-a-linux-machine-installing-and-configuring-vnc-and-remminahttp://www.cyberciti.biz/tips/tunneling-vnc-connections-over-ssh-howto.ht…

watir Selenium firefox firstrun page `connect_until_stable': unable to obtain stable firefox connection in 60 seconds

http://sugi511.hatenablog.com/entry/2013/02/22/Selenium%E3%81%8Cfirefox%E3%81%A8%E7%B9%8B%E3%81%8C%E3%82%89%E3%81%AA%E3%81%8F%E3%81%AA%E3%81%A3%E3%81%9F%E3%80%82gem install "selenium-webdriver"

How to Install and Configure VNC on Ubuntu 14.04

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-14-04 https://www.howtoforge.com/how-to-install-vnc-server-on-ubuntu-14.04 http://www.havetheknowhow.com/Configure-the-server/Install-VNC.html http…

mechanize cookie

http://takuya-1st.hatenablog.jp/entry/2013/08/15/033348 http://koshigoeb.hateblo.jp/entry/2012/08/06/181428 http://blog.satooshi.jp/blog/2013/04/02/how-to-use-yaml-library-in-ruby/ http://seesaawiki.jp/ruby_mechanize/d/Mechanize%3a%3aCooki…

watir modal dialog headless

https://watirwebdriver.com/javascript-dialogs/https://watirmelon.com/2011/08/27/running-headless-watir-webdriver-tests-using-a-real-browser/

GETはPOSTより送信できる情報量が少ない

GETでのパラメータはURLに残るので、Web鯖、プロキシ鯖に残る。Refererにも載る

GETのレスポンスはキャッシュされるがPOSTはキャッシュされない(ブラウザ、プロキシ、ゲートウェイ)

テキストデータでもバイナリデータでも送信できる

違い

HTTPリクエストのbody部にパラメータ(データ)が含まれる

URLの文字数は、IEでの制限があり2048文字

POST メソッドについて

データを取得するときに使用する。副作用がない、常に結果が同じになるような処理に用いる

リクエストURLの後にパラメータを付与してデータを送付する

Post request

http://morizyun.github.io/blog/get-post-method-compare-parameter/HTTPリクエストについてHTTPリクエストは、大きく3つの部分に分かれる。1) HTTPリクエスト行 2) HTTPヘッダー行 3) HTTPリクエストのボディ部 GETメソッドについて

watir find "re td"

Let us assume that we are working with the table: <table> <tr> <td>1a</td> <td>1b</td> </tr> <tr> <td>2a</td> <td>2b</td> </tr> </table>Solution - Watir-WebdriverThe Table class has a strings method that returns the text of the table as a 2D array. The array is of rows, but you can use transpose to …

watir better Implicit/Explicit waits than "stop loading"

Implicit waitsWebDriver lets you configure implicit waits, so that a call to #find_element will wait for a specified amount of time before raising a NoSuchElementError: driver = Selenium::WebDriver.for :firefox driver.manage.timeouts.impli…

ubuntu 14.04 日本語入力 anthy fcitx

fcitx fcitx-anthy をソフトウェアセンターでいんすとーるするだけ

Variety is an open-source wallpaper changer for Linux

Installation on Ubuntusudo add-apt-repository ppa:peterlevi/ppa sudo apt-get update sudo apt-get install variety

Ubuntu14.04 Add new Drive

partitions,format,mount http://askubuntu.com/questions/476212/how-to-add-a-new-hard-drive-to-ubuntumount at start-up and fstab http://askubuntu.com/questions/512321/how-do-i-get-my-internal-hdd-to-mount-at-startup http://askubuntu.com/ques…