Entries from 2013-05-13 to 1 day

remote lubuntu LXDE session tightvnc vncclient vino

https://help.ubuntu.com/community/VNC/ServersLXDE session automatically after tightvncserver starts to make me able see desktop when connecting to the host via vncclient? http://askubuntu.com/questions/178962/how-to-start-lxde-session-auto…

例外の発生した場所/行番号をメッセージで出力してみる

組み込み変数の$@を使う。begin open("notfound.txt", "r") do |file| puts file.readlines end rescue puts $@ end ファイル名、行数、メソッド名が出力される。morningcoffee.rb:2:in `initialize'

sftp ruby command line

Net::SFTP.start('host', 'username', :password => 'password') do |sftp| # upload a file or directory to the remote host sftp.upload!("/path/to/local", "/path/to/remote") # download a file or directory from the remote host sftp.download!("/p…