2010-09-01ãã1ã¶æéã®è¨äºä¸è¦§
ç°å¢ã¯Ubuntu10.04skype apiã使ãããã«vncãµã¼ãã¼ãèµ·åãã tightvncã使ã£ã¦ããã ãã©ãã¼ãã¼ãé åããããããadgjãæ¼ãã¨asdfã¨åºããçãä¸ã®æ®µã¯ãºã¬ãããããã©ä»ã®æ®µã¯ã¡ãã£ã¯ã㣠vnc4serverã«æãããokã ã£ã sudo apt-get remove tightâ¦
rb-skypemacã®ã½ã¼ã¹èªãã§ããã Skype.send_(:command => "ã³ãã³ã") ã§çã®SkypeAPIã«è§¦ããããäºãããã£ããapple scriptã®ã¤ã³ã¿ãã§ã¼ã¹ã使ã£ã¦ããããããchatç³»ã¯rb-skypemacã¯ã©ããã¼ãç¨æããã¦ãªããã©ãsend_使ãã° http://developer.skyâ¦
ä»ã¾ã§boost::formatã使ã£ã¦ããã©ä½¿ããªãã¨ããããstringstreamã使ããã®ããããããã©ãã #include <sstream> using namespace std; ostringstream os; os << "tmp/" << 35 << ".jpg"; // é£çµ string out_filename = os.str();</sstream>
rb-skypemacãã®ãã gem install rb-skypemacruby -rubygems -e 'require "rb-skypemac";include SkypeMac;Skype.call("username").hangup'ããé£æããã¨æ®éã«chatã§è©±ããããããæ°ã¥ãã¦ããããããï¼
æ980åã®ãã¤ãå¥ç´ãã¦ãµã¼ãã¼èµ·åãã¦CentOSæ¶ãã¦Ubuntuå ¥ãç´ãã¾ã§ã§30åãããã§ã§ããã Ubuntuã¤ã³ã¹ãã¼ã«ä¸ãChromeã ã¨ãªã¢ã¼ãã³ã³ã½ã¼ã«ãããã£ã¡ã ãã¿ã¤ã ã¢ã¦ãããã®ãé¢åã ã£ã åèï¼ãããã®VPSã«Ubuntu 10.04 LTSãã¤ã³ã¹ãã¼ã«ãâ¦
rvm使ã£ã¦ãã rvm use 1.9.2 cd ~/.rvm/src/ruby-1.9.2-p0/ext/zlib ruby extconf.rb make make install ããã§gem使ããããã«ãªã£ã gem update gem install rake sinatra thin rack rspec
newgem zanmai -T rspecãã㨠"undefined method `merge' for false:FalseClass"ã¨ããã¨ã©ã¼ãåºãnewgemã§gemãã«ãæã«rubyforgeã®ã¢ã«ã¦ã³ãæ å ±ãå¿ è¦ã¨è¨ãããããã«ãªã£ã - æ©æ¬è©³è§£ã§ãrubyforgeã®ã¢ã«ã¦ã³ããå¿ è¦ã ã£ããã©æã£ã¦ãªãã£ãã®ã§â¦
ã©ã¤ã»ã³ã¹ã®é¢ä¿ã§x264å ¥ã£ã¦ãªãã®ã§ãå ¥ããã http://ubuntuforums.org/showthread.php?t=786095.movã§æ¸ãåºããããã«ãªã£ãã sudo apt-get remove ffmpeg x264 libx264-dev sudo apt-get install build-essential subversion git-core checkinstall â¦
rvm use jruby gem install ruboto-core which ruboto
jruby -rubygems -ropen-uri -rjava -e 'import "javax.swing.JFrame";import "javax.swing.JTextPane";f=JFrame.new;f.title="ãµã¤ãã¼ãã³ã¯ï¼";f.setSize(320,240);f.visible=true;textp=JTextPane.new;textp.text=open("http://shokai.org").read;f.contâ¦
sudo port install Xpdf mkdir ~/out pdfimages -j book.pdf ~/out/ jpegãçµåãã¦ä½ã£ãpdfããjpegé£çªãã¡ã¤ã«ã«æ»ãã