2009-12-01ãã1ã¶æéã®è¨äºä¸è¦§
ãªã³ã©ã¤ã³ã®ãªãã¡ã¬ã³ã¹ãèªãã§ããããããããã£ãã®ã§ã½ã¼ã¹ããã©è¦ãã ã¹ã¯ãªããèªèº«ãExerbã©ã³ã¿ã¤ã ã§å®è¡ããã¦ãããå¤å¥ãã Exerbã®ã©ã³ã¿ã¤ã ã§åãã¦ããéã$Exerbã°ãã¼ãã«å¤æ°ãtrueã«ãªã£ã¦ããã®ã§ãããã§å¤å¥ã§ããã if $Exerb â¦
å ã¨ãªãã¹ã¯ãªãããæ¢ã«åå¨ããç¶æ ãã ã¬ã·ããã¡ã¤ã«ã®ä½æ > mkexy <ã¹ã¯ãªããå>ã¾ã㯠> ruby -r exerb/mkexy <ã¹ã¯ãªããå>ã§ã¹ã¯ãªãããå®è¡ãããã¨ã§ãã¬ã·ããã¡ã¤ã«ãä½æãããã ã¬ã·ããã¡ã¤ã«ããexeãçæ > exerb <ã¹ã¯ãªããå>ã§eâ¦
Notify.ioããã®éç¥ããªã¢ã«ã¿ã¤ã ã«åãåãã¯ã©ã¢ã³ãä½ã£ãï¼Windowsçï¼
ã¨ãããããGitHubã§å ¬éãã¦ã¾ããsnaka's Niow at master - GitHubä»åããã¼ãã«ããã®ã¯ Rubyã«ããGUIã¢ããªéçºGtkã¨ãwxRubyã¨ã試ãã¦ã¿ããã ãã©ãé å¸ï¼ã»ããã¢ãããããã©ãããããªæãã ã£ãã®ã§ã VisualuRubyã§ãã£ã¦ã¿ããNotify.ioã¯å¯¾â¦
gitãªãã¸ããªã«gemsãã£ã¬ã¯ããªãä½ã£ã¦ããã«ãã«ãæ¸ã¿ã®xxx.gemãã¡ã¤ã«ãæ ¼ç´ãã¦ããã°ãgem installã§ã¤ã³ã¹ãã¼ã«ã§ããããã«ãªãããã¨ãã°ãèªåãforkãã¦ããgistyãä¾ã«ããã¨ãããã¸ã§ã¯ãã®ã«ã¼ãã®ç´ä¸ã«gemsãã£ã¬ã¯ããªãä½æãã¦ããâ¦
ã¯ã¦ããã©ãã«ã¼ http://hatetra.appspot.com/å¿ è¦ãªãã® Googleã¢ã«ã¦ã³ã Pythonã®å®è¡ç°å¢ ãã¶ãMacã®ã¿ï¼Notify.ioã¯ã©ã¤ã¢ã³ããã©ãã«ãããããWindowsã§ãåãã¯ãï¼ è«¸äºæ ã«ããæéãç¡ãã®ã§ãã¨ããããç°¡åãªèª¬æã ããæ®´ãæ¸ãã Notify.ioâ¦
ãã¾ããVB6ãªãã§ã誰å¾ã£ã¦æãã§ãããã ãããã°ãªã©ã«éå®ããã¤ããã£ã¨ã¤ãã¦ã£ã³ãã¦ã§ãããæè¿ç¥ã£ããã§ããã«ã¼ãå¦çãæ¸ããã¨ãã§ãã¾ãã for i = 0 to 10: debug.print i : nextã¨ããæãã§ãé常ã®ããã°ã©ã ã§ã¯æ¹è¡ã¨ãªãç®æã:ï¼ã³â¦
ejabberdãµã¼ãã¼èµ·å ejabberdctl start ejabberdãµã¼ãã®åæ¢ sbin/ejabberdctl stop ã¦ã¼ã¶ã®ç»é² ejabberdctl register <user> <host> <password> ã¦ã¼ã¶ã®ç»é²è§£é¤ ejabberdctl unregister <user> ç»é²ããã¦ããå ¨ã¦ã¼ã¶ã®è¡¨ç¤º ejabberdctl registered_users <host> helpã®è¡¨ç¤º ejabberdc</host></user></password></host></user>â¦
ã³ãã³ãã©ã¤ã³ã§ crontab -e ããã¨ãã¨ãã£ã¿ãèµ·åãã¦èªåã®crontabãã¡ã¤ã«ãç·¨éãããã¨ãã§ãããcrontabã®ä¸ã§ã¯ã以ä¸ã®ããã«ã³ãã³ãå®è¡æã®ç°å¢å¤æ°ãå®ç¾©ãã¦ããããã¨ãã§ããã # ã³ãã³ãå®è¡æã®ãã¼ã¹ã¨ãªãPath BASE_PATH=/home/snakaâ¦
ããããã㨠cronã¨ãã§ãèªåçã«ã¹ã¯ãªãããå®è¡ããã¨ãã«ããã®å®è¡éå§ï¼çµäºã®ã¿ã¤ãã³ã°ã§éå§æå»ï¼çµäºæå»ãæ¨æºåºåã«åºåãããã ãã㧠æ±ç¨çã«ä½¿ããã¡ãã£ã¨ããã¹ã¯ãªãããçµãã§ã¿ã以ä¸ã®ã¹ã¯ãªããããtimestamp.rb ã¨ããååã§ä½â¦
æåã³ã¼ãé¢ä¿ã¯è¦æ ãã£ã¨ããæ¹æ³ããããããããªã... class String def jleft(len) result = "" total_len = 0 self.split(//).each do |c| break if (c.size + total_len) > len result << c total_len += c.size end result end end (1..18).each {â¦
èªåã®å ´å Googleã¢ã«ã¦ã³ãã®èªè¨¼ã Mechanizeã§éããã¨ããã¨ãã®ãã®ã¨ã©ã¼ã«ééããã /opt/local/lib/ruby/gems/1.8/gems/mechanize-0.9.3/lib/www/mechanize/util.rb:40:in `iconv': can't convert nil into String (TypeError) from /opt/local/liâ¦
以ä¸ãåèã«æ¸ãã¦ã¿ãã codeãªã«ãã::Rubyã§Excelä»æ§ã®CSVãã¡ã¤ã«ã®èªã¿è¾¼ã¿ã¨è¡¨ç¤º require 'csv' source = <
æ¸ãã http://userscripts.org/scripts/show/64075 åè 以ä¸ã®ã¹ã¯ãªãããåèã«ãªã£ã Source for "ldR: Go prev/next feed with wheel" â Userscripts.org
Brianã対å¿ãã¦ãããã®ã§COMçµç±ã§Growl for Windows ã®.NETã¢ã»ã³ããªãå©ç¨å¯è½ã«ãªã£ãã 以ä¸ã®ã¹ã¬ã«æ稿ããã¦ããdllãè½ã¨ãã¦ãregasm.exeã³ãã³ãã§ã¢ã»ã³ããªãç»é²ãã¦ãããDoes GfW supports COM? - growl for windows | Google ã°ã«ã¼ã以â¦
openfilesã¨ããã³ãã³ãã§æ¢ãã $openfiles /? OPENFILES /parameter [å¼æ°] 説æ: ã·ã¹ãã ä¸ã®éãã¦ãããã¡ã¤ã«ã¨ãã©ã«ãã管çè ã åæã§ããããã«ãã¾ãã ãã©ã¡ã¼ã¿ã®ä¸è¦§: /Disconnect 1 ã¤ä»¥ä¸ã®éãã¦ãããã¡ã¤ã«ãåæãã¾ãã /Query ãâ¦
以ä¸ã®ãµã¤ããåèã«ããã Python Tips def try_decode(text): encodings = [ "utf-8", "shift_jis", "euc_jp", "iso-2022-jp" ] for enc in encodings: try: return unicode(text, enc) except: pass return text iso-2022-jp以å¤ã¯ã¨ãããã確èªã§ããâ¦
ä»æ§ End point http(s)://tadalists-api-delegate.appspot.com Todoé ç®ã®è¿½å ãã¹ /post ã«POSTã¡ã½ããã§ã以ä¸ã®ãã©ã¡ã¿ãBODYãã¼ã¿ã¨ãã¦æ¸¡ãã¾ãã username : ã¦ã¼ã¶å password : ãã¹ã¯ã¼ã list: ç»é²å ã®ãªã¹ãid content: ç»é²ããå 容 ä¾ cuâ¦
ä»äºæããã§ãIEã使ããªããã°ãããªãå ´é¢ãå¤ã ããã Firefoxã®ããã«IEãæ軽ã«ã«ã¹ã¿ãã¤ãºããæ¹æ³ãç¡ããæ¢ãã¦ããã¨ãããFirefoxã»ã©ãããªããã©å³ã¯ãªãã¯ã¡ãã¥ã¼ããç¬èªã®ã¹ã¯ãªãããå¼ã³åºãæ¹æ³ãç´¹ä»ããã¦ããã®ã§ãã£ã¦ã¿ããå ãã¿â¦