Code Archive Skip to content Google About Google Privacy Terms
OpenSPARC.net: Sun's Initiative to create a open source community and participation in processor architecture development and application design by making cutting-edge Ul traSPARC hardware IP (Verilog, RTL, EDA, software,...) freely availableOptimized Open Source Software Stack (Cool Stack) for the Sun Solaris Operating System(TM) Overview Cool Stack is a collection of some of the most commonly us
pit ã oneliner ã«ãã¦ã¿ãã!! ä»£å ¥ã¯ lambda ã§ã¯åºæ¥ãªãã®ã§ ã¨ãããããã¹ã¦ã°ãã¼ãã«ã«å ¥ãã¦ã¿ãã global ã®ä½¿ããã >>> g = globals() >>> g.__setitem__('x',1) >>> print x 1 ãã!! å¤æ°ã¸ã®ä»£å ¥ã¯ãã¹ã¦ã°ãã¼ãã«ã¸ g = globals() g.__setitem__("setitem", g.__setitem__) . . . setitem('set_if_t', tempfile.NamedTemporaryFile()) ãã¹ããå®è¡ãã¦å£ãã¦ãªãäºãç¢ºèª ãã¹ãã®å¤§äºããå®æ!! è¤æ°å¦çã oneliner å è¤æ°ã®å¦çãä¸ã¤ã®å¼ã«ãã os.mkdir(DIRECTORY) os.chmod(DIRECTORY, 0700) ãä¸ã¤ã®å¦çã«ããããã«ã¯ä¸¡æ¹å®è¡ãããã°è¯ã
ãªã¼ãã³ã½ã¼ã¹ãã¼ã¿ãã¼ã¹ãå éããããã ã©ãã¼ãã¼ãã®ããã°ã§ããã«ã¬ã¼æ¥è¨ãå ¼ãã¦ã¾ãããªãèè ã¯2010-06-01ããæ¥æ¬ãªã©ã¯ã«ã«å¨ç±ãã¦ãã¾ãããæ¬ãµã¤ãï¼ããã°ãã¾ãã¯ã¦ã§ããµã¤ãï¼ã«ããã¦ç¤ºããã¦ããè¦è§£ã¯ãç§èªèº«ã®è¦è§£ã§ãã£ã¦ããªã©ã¯ã«ã®è¦è§£ãå¿ ãããåæ ãããã®ã§ã¯ããã¾ããã ã¡ãã£ã¨å¿ è¦ããã£ã¦ãã¢ã«ã´ãªãºã ãSQLã§æ¸ãã¦ã¿ãããªãã¦ãã¨ããã¦ããããFIFOãSQLã§æ¸ãããï¼ãã¨ãããã¿ãæ¢ãã¦ããããæå ã®æ¬ã«ã¯ãããªã®ããã£ãã Andrew Cumming/Gordon Russell ãSQL HACKSã(ãªã©ã¤ãªã¼ã»ã¸ã£ãã³, 2007) ãHACK#86 ãã¼ã¿ãã¼ã¹ã§ãã¥ã¼ãå©ç¨ããã ãã ããã®ä¾ã¯ã¡ãã£ã¨ãããã«ãããç´ç²ã«FIFOã説æãããããã®ã«ã¯ä¸åãããªã¼ãã¨å¥ã®ãã¿ãæ¢ããã¨ããã以ä¸ã®ã¨ã³ããªãçºè¦ã How to imple
Introduction MATLAB® and NumPy/SciPy have a lot in common. But there are many differences. NumPy and SciPy were created to do numerical and scientific computing in the most natural way with Python, not to be MATLAB® clones. This page is intended to be a place to collect wisdom about the differences, mostly for the purpose of helping proficient MATLAB® users become proficient NumPy and SciPy users.
ç£è¦ãããã¼ã¿ é客åã®ãããµã¤ããéå¶ãã¦ããWebãµã¼ããã¡ã¼ãªã³ã°ãªã¹ããéå¶ãã¦ãããµã¼ããã½ããã¦ã§ã¢ãé å¸ããFTPãµã¼ãããã¡ã¤ã«å ±æãããããã®ãµã¼ããªã©ã¯ãã¯ã©ã¤ã¢ã³ãããã®é常ã«å¤ãã®è¦æ±ãå¦çããå¿ è¦ãããã¾ãã ãµã¼ãã®å¿çãé ãå ´åã¯ããã¼ãã¦ã§ã¢ã®å¢å¼·ãªã©ã§å¯¾å¿ããå¿ è¦ãããã¾ããããã«ããã¯ã®ç¹å®ã®ããã«ã¯ãåå ãCPUã®ãã¯ã¼ä¸è¶³ãªã®ããã¡ã¢ãªå®¹éã足ãã¦ããªãã®ããåç·å®¹éãç´°éããã®ããªã©ãå¤æããªããã°ãªãã¾ããããã®ã»ãã«ããã¼ããã£ã¹ã¯å®¹éããã¶ã¼ãã¼ãã®æ¸©åº¦ãUPSã®é»åãã¡ã¼ã«ã®é éå¹çãWebãã¼ã¸ã®ã¢ã¯ã»ã¹è§£æãªã©ãéç¨ä¸ã«æ³¨æãã¦è¦ã¦ããå¿ è¦ã®ãããã¼ã¿ã¯å¤ãããã¾ãã ããã§ã¯ãã·ã¹ãã ãéç¨ããããã§ãç£è¦é ç®ã¨ãã¦æãããã主è¦ãªãã¼ã¿ããã³ãã®ç¢ºèªæ¹æ³ãç´¹ä»ãã¾ãã ããã»ã¹ ããã»ã¹é¢é£ã®ç£è¦é ç®ã«ã¯ã以ä¸ã®ãããªãã®ãæããã
Linuxãªã©ãå©ç¨ããä¸ã§ããããã¯ã©ããã£ããå®ç¾ã§ããã®ã ãããã¨æããã¨ã¯æ°ç¥ããªããæ¬é£è¼ã§ã¯ãã¦ã¼ã¶ã¼ãã²ãã±ãã«ééããã§ãããåé¡ã¨ããã®è§£æ±ºæ¹æ³ã解説ãããä¸ç´è ã«ã¯æ°ããªçºè¦ããåå¿è ã«ã¯ä¸ç´è ã¸ã®éã®æå¼ãã¨ãªãã ããã ãã¡ã¤ã«ããã£ã¬ã¯ããªãããã¯ã¢ããï¼åæããããã®ãã¼ã«ã¯å¹¾ã¤ãåå¨ãã¦ãã¾ãããrsyncã¯ã¨ããã大ããªäººæ°ãèªã£ã¦ããã¨ãã£ã¦ããã§ããããå¤æ´åãæ¤åºãã¦å·®åã®ã¿ã転éãããã¨ã§ããããã¯ã¼ã¯çµç±ã§ãå¹ççã«ããã¯ã¢ããï¼åæãè¡ããç¹ããsshãªã©ã®ãªã¢ã¼ãã·ã§ã«çµç±ã§ã®å©ç¨ãå¯è½ãªç¹ãªã©ãæ©è½ã®æ´ç·´åº¦ã¯ãããã«ç»å ´ãã10年以ä¸ãã£ã¦ããã ãã®ãã¨ã¯ããã¾ããããã¯ã¢ããããã©ã¼ãªã³ã°ãªã©ã®ç¨éã§ããã°ãåºæ¬çã«ã¯ã³ãã¼å ã¨ã³ãã¼å ã§ããããªéãããçºçããªãã¯ãã§ããã¡ã¤ã«ã®ç¸éé¨åã ãã転éããrsyncã¯å¹ççã«æ©è½ãã¾ãã ãã
jQueryã¨ã¯ãJavaScriptã®ã³ã¼ãã£ã³ã°ãå¼·åã«æ¯æ´ããã©ã¤ãã©ãªã§ãã $('.semooh a').hover( function(){ $(this).text('ãï¼'); }, function(){ $(this).text('ãã¼'); } );
æ¬æ°ã§ãããªãonclickå±æ§ã¯é¿ãã¦ã©ã¤ãã©ãªãæ´»ç¨ãã¹ã - 帰ã£ã¦ããHolyGrailã¨HoryGrailã®åºå¥ãã¤ããªãæ¥è¨ ãèªãã§ï¼æãã¨ãããã£ã¦æ¸ãã¦ã¿ã¾ããï¼æ±ºãã¦ã«ã¦ã³ã¿ã¼ã¢ã¼ãã£ã¯ã«ã§ã¯ãªãï¼ã ãããããã JavaScript ã触ã£ã¦ãã ããããããã«æ¸ããã JavaScript ã®æ¬ã§åå¼·ãã¦ããï¼ãã 人åãã«ã大å è¨äºï¼ããããæ¬æ°ã§å¦ã³ã¾ãããï¼ | Think ITï¼ã·ã³ã¯ã¤ããï¼ï¼ã®æ³å®èªè ã«è¿ãããªã¨æãã¾ãããã£ã¦ä»¥ä¸ã¯ JavaScript ã®åå¦è ã«ã¯ã¾ã£ããããããã§ããªãï¼ä½è¨ãªç¥èãã¤ãã¦ãã¾ãï¼ã§ãã Step 1: ã¯ããã®ãã£ã½ ãã¿ã³ãæ¼ãããã¡ãã»ã¼ã¸ããã¯ã¹ãåºç¾ãã HTML ãæ¸ãã¦ã¿ã¾ãã <html><body> <script type="text/javascript"> function ShowMes
JavaScript-XPath ã¨ã¯ JavaScript-XPath ã¯ã DOM 3 XPath ãå®è£ ãã¦ããªããã©ã¦ã¶ã«å¯¾ãã¦ãå®ç¨çãªé度ã§åä½ãã DOM 3 XPath ã®ã¨ã³ã¸ã³ã追å ãã¾ãã ä¸è¨ã§ä¹±æ´ã«è¨ã£ã¦ãã¾ãã°ãã©ã®ãã©ã¦ã¶ã§ã document.evaluate ã£ã¦é¢æ°ã§ XPath 使ããããã«ãªããï¼ã£ã¦ãã¨ã§ãã 以ä¸ãå ¬å¼ãµã¤ãã«ãªãã¾ãã http://coderepos.org/share/wiki/JavaScript-XPath DOM 3 XPath ã£ã¦ãªããªã®ï¼ï¼ ãã£ã¡ãç°¡åï¼ã§ãã¡ãã£ã¨ã ãé©å½ï¼ãªDOM 3 XPath ã®èª¬æããã¾ãï¼ï¼ã JavaScript ã§ãã使ã document.getElementById ã document.getElementsByTagName ã£ã¦é¢æ°ããã¾ãããï¼ DOM 3 XPath
è¦æ¨ ãã§ã«å¥è¨èªã®ããã°ã©ã*1ãRubyã«æãåºãå ´åãã¾ãä»äºå ´ã§Rubyãå ¬ç¶ã¨ä½¿ãå ´åã«ã¯ãExcelãERBã®å©ç¨ããRubyã«è§¦ããã®ãè¯ãããã¨ãã話ã§ãã é常ã«ãã使ããããExcelãããããã㨠ã·ã³ãã«ãªãã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ããERBã使ããæ¥å¸¸çã«çºçããããã¹ããã¡ã¤ã«çæã楽ã«ãããã¨ã§ãå¨å²ã®äººã«ãRubyã£ã¦ä¾¿å©ãããã¨æããã æ示è³æã¨çºè¡¨ã®æ§å ruby_from_officeView SlideShare presentation or Upload your own. (tags: tokyorubykaigi01) ERB Rubyã®æ¨æºã©ã¤ãã©ãªã«æ·»ä»ããã¦ãããã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ãããRailsã§ã¯Viewã«ä½¿ããã¦ãã¾ãããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã®ãããªãJSPãã§ãããå°å ¥ãç°¡åã§ãã å¼ã³åºãå ã®ã¡ã¤ã³ããã°ã©ã ã®ãã¼ã«ã«å¤æ°ã
ããããã誰ããããæ·±å¤ã®Webãµã¼ãã£ã³ã¯ã究極ã®ã¨ããæéã®ç¡é§ã§ã¯ãªãã®ãããããªãã ããã¯ãWebã§å¤¢ãã¿ã¦ããã®ã«ã»ããªããªãã®ã ã(T.B=ãªã¼ãWebã®åµæããã) å æ¥ãã¾ãã㨠Ruby! Vol.1ããèªãã§ãã¦ãxmpfilterã¨ãã試è¡é¯èª¤ãã¼ã«ããããã¨ãç¥ãã¾ããã xmpfilterã¯ãRubyã½ã¼ã¹ã³ã¼ãä¸ã®ä»»æã®è¡æ«ã«ã# =>ãã¨ããè¨ç®ãã¼ã¯(ã³ã¡ã³ã)ãå ¥ãã¦ãããã¨ã§ãããã«ãã®è¡ã®å¼ã®å¤ãåãè¾¼ãã§è¡¨ç¤ºãã¦ããããã£ã«ã¿ã¼ã³ãã³ãã§ãã(irbã§ã¯ä¸è¡ãã¤è¡¨ç¤ºãããçµæããç´æ¥ã³ã¼ãã®è¡æ«ã«è¡¨ç¤ºã§ããã¤ã¡ã¼ã¸) ã¤ã³ã¹ãã¼ã«ãgemã§ä¸çºãããã«ä½¿ãããããæ¨æºã§Vimã¨Emacsãã使ãããã®ã¹ã¯ãªããã¾ã§ç¨æããã¦ããã¹ã°ã¬ã¢ãã è¶ çµ¶ä¾¿å©ã ã¨æãã®ã§ããããã®ããã«ãã¾ãæ å ±ãã¿ãããªãã®ã§ãããã§ã¯Vimãã便å©ã«ä½¿ãããã®æ¹æ³ã«ã¤ã
æ³¨ï¼ Rubyã¯2.1.0ããSemantic Versioningãæ¡ç¨ãã¦ãã¾ãã Ruby 2.1.1, 2.1.2çã¯ãã°ä¿®æ£ãã»ãã¥ãªãã£fixã®ã¿ãå«ãããããªãã¡ã¬ã³ã¹ã¨ãã¦ã¯2.1ã«çµ±ä¸ãã¦ãã¾ãã
Last Modified: Wed Feb 26 01:42:10 EST 2003 (02/26, 15:42 JST) ãããªã«? PyOne 㯠Python 㧠quick & dirty ãªã¯ã³ã©ã¤ãã¼ãæ¸ãããã®æ¯æ´ã¹ã¯ãªããã§ãã ã¢ã¤ãã¢ã¯ Pyawk ã¨ã ãããä¼¼ã¦ããã®ã§ããã PyOne ã¯ããç°¡åã«ãã¡ããã£ã¨æ¸ãããããªã¤ã³ã¿ã¼ãã§ã¤ã¹ãç®æãã¦ãã¾ãã åºæ¬çã«ãã£ã¦ããã¨ã¯ãã¯ãå±éãã㦠eval ãã¦ãã ãã§ãã PyOne ã¯ãåå¿è ã«ã¯ãå§ãã§ããªãã ã¯ã³ã©ã¤ãã¼ã¯èªã¿ã«ãããæå³ããªããã¹ãå ¥ãããããªããã ééã£ã¦ããããªãã®ãåå©ç¨ããããªã©ã¨èãã¦ã¯ããã¾ããã ãã㯠Perl ã«æ¯ããã人å°ç¨ã§ãã ãã¦ã³ãã¼ã pyone-0.1.py (5KBytes) 説æ ä¸ããããã¹ã¯ãªãããã¤ã³ãã³ãããã Python ã³ã¼ãã« å¤æã
æ£è¦è¡¨ç¾â ã³ã³ãã¤ã«ããæ¹æ³ findall findallã¯è¦ã¤ãã£ãæååãå ¨ã¦ãªã¹ãã«ãã¦è¿ãã import re p = re.compile("ab.", re.I) result = p.findall("AbdABCAAbb") print result finditer match matchã¯å é ã®æååãããããããããããªãã¸ã§ã¯ããè¿ããä½ããããããªãæã¯Noneã import re p = re.compile("ab.", re.I) result = p.match("Abd") print result.group() scanner search searchã¯æååãããããããããããªãã¸ã§ã¯ããè¿ãã import re p = re.compile("ab.", re.I) result = p.search("xxxAbd") print
srb ã§å ¥åè¡ãã¨ã«ã¤ã³ã¹ãã¯ãã表示ãããã®ãç ©ãããã£ãã®ã§ã表示ãããªã snrb ãä½ã£ãã snrb ã§éãã§ããããã·ã§ã«ã®ã³ãã³ãã `.... ` (backquote) ã§åãããã®ã«æ°ãã¤ãããsnrb ä¸ã§ a = `ls foo` ã®ããã«ããã¨ã ls ã®åºåãå¤æ°ã«åãè¾¼ããã¨ãã§ãããåãè¾¼ãã å¤æ°ã¯æ£è¦è¡¨ç¾ã§æ¤ç´¢ããããé åã«å¤æ´ããããRubyã®æ©è½ã§èªç±ã«å å·¥ã§ããã èªåãä½ãããããã£ãã®ãããã£ã¨ããã£ããRubyã§ãã¼ã¿ãå å·¥ã§ããã·ã§ã«ã欲ããã£ãã®ã ã ãã¡ã¤ã«åï¼ãsnrbãï¼ï½ï½ï½ ï½ï¼ãï½ ï½ï½ï½ãã¯å ¨è§è±æ°ã«å¤æãã¦ä½¿ç¨ï¼ require 'readline' include Readline module Srb def Srb.edit(prog = nil) if prog != nil File.ï½ï½ï½ ï½('temp.txt',
ã¹ããããããã¼ã¿ãã¼ã¹åããã¹ã¯ãªãã pick.rb ãä½ã£ãã ã³ãã³ãã©ã¤ã³ã§ ruby pick.rb foo.rb ã¨ããã¨ãfoo.rb ã¨ããã¹ããããããã¼ã¿ãã¼ã¹ã«åãããããruby pick.rb list ã¨ããã¨ããã¼ã¿ãã¼ã¹åãããã¹ããããã®ååã®ãªã¹ããã¨ãããruby pick.rb extract foo.rb > bar.rb ã¨ãã㨠foo.rb ã¨ããååã®ã¹ããããããã¼ã¿ãã¼ã¹ããæ½åºã㦠bar.rb ã¨ãããã¡ã¤ã«ã«ã³ãã¼ã§ããã ç´°ããæ¡ä»¶ã§ã®æ½åºãããããã¨ãã¯ãsqlite3 picker.db ã¨ãã¦ãsqlite3 ã§æ¤ç´¢ã§ããã sqlite3 ã¯ãã¼ã¿ãã¼ã¹ãä¸åã®ãã¡ã¤ã«ã«ã§ããã®ã§ãæ°æ¥½ã«ãã¼ã¿ä¿åã®åªä½ã¨ãã¦æ±ããã¨ãã§ããã ãã¡ã¤ã«åï¼ pick.rb if !File.exist?('picker.db') s
ãªã«ããªããRubyã®çç£æ§ã®é«ãã¯ã©ãã¾ã§æ¬å½ãï¼ ããªããµã¤ããè¦ä»ãã¦ãã¾ã£ãã ã¾ããããã®æ©è½ãåãä¸ãã¦è¨èªã®åªå£ãè«ããã®ã¯ãªããªãé£ããã ãã ãRubyï¼ã¨LISP)ã§ã§ãã¦ãä»ã®è¨èªã§ãªããªãã§ããªãäºã¨ãã¦ãæ§é ãæã¤ãã¼ã¿ã®åãè¾¼ã¿ãããããã«æãã ä¾ãã°ãSå¼ã§ (game (stadium "Yokohama") (teams (team (name "FC Barcelona") (region "Europa")) (team (name "SC Internacional") (region "South America"))) (score 0 1))
ããå¿ãã¡ããããæ¸ãã¦ãããWIN32OLEã®InternetExplorerç¨ã³ã³ãã¼ãã³ãã使ãäºã§ãwindowsãã·ã³ã«éããã³ãã³ãã©ã¤ã³ã§rubyããå¶å¾¡ãã§ããã require 'win32OLE' ie = WIN32OLE.new("InternetExplorer.Application") ie.Navigate("http://www.yahoo.co.jp") ã§ãyahooãéããã ie.Visible = true ãããfalseã¨ããã¨ãIEãéãããã¦ããµã¤ããæä½å¯è½ãããã°ä¸ã¯trueã¨ããã¨ããããããã while ie.Busy == true sleep 1 end ãµã¤ãã®èªã¿è¾¼ã¿ä¸ã¯ie.Busyãtrueãè¿ãã®ã§ãwhileã§sleepããã¦èªã¿è¾¼ã¿ãã«ã¼ããããããããªãã¸ã§ã¯ãã®åå¾ã¯DOMã«ä¼¼ã¦ãããie.docume
Die Luftkämpfe in War Thunder und World of Warplanes sehen zwar ähnlich aus, sind aber in Wirklichkeit Welten voneinander entfernt, wenn man sie genau betrachtet. Diese Unterschiede können sich auf Ihr Spielerlebnis auswirken, deshalb sollten Sie sie unbedingt zur Kenntnis nehmen. Online-FPS-Spiele â War Thunder gegen World of Warplanes Wenn Sie ein PC-Spieler sind, haben Sie wahrscheinlich schon
Die Luftkämpfe in War Thunder und World of Warplanes sehen zwar ähnlich aus, sind aber in Wirklichkeit Welten voneinander entfernt, wenn man sie genau betrachtet. Diese Unterschiede können sich auf Ihr Spielerlebnis auswirken, deshalb sollten Sie sie unbedingt zur Kenntnis nehmen. Online-FPS-Spiele â War Thunder gegen World of Warplanes Wenn Sie ein PC-Spieler sind, haben Sie wahrscheinlich schon
About Er.js piggybacks on Neil Mixâs Thread.js which fakes threading in JavaScript 1.7 using coroutines and nested generator continuations. The goal is to replicate Erlangâs concurrent lockless process model and message-passing APIs in JavaScript. Running Concurrently Running a JavaScript function in the background is easy with Er.js: Er.spawn(myBackgroundFunction); Er.spawn starts a new Er.js pro
Rulang Bridgeã¨ããRuby ãã Erlang ã®é¢æ°ãå¼ã³åºãã©ã¤ãã©ãªãè¦ã¤ããã®ã§ä½¿ã£ã¦ã¿ã¾ããã ããã使ãã¨ãRubyã®ããã°ã©ã ãããããããèµ·åãã¦ãããErlangãµã¼ãã¼ã«ã¢ã¯ã»ã¹ããErlangã®é¢æ°ãå®è¡ãããã¨ãã§ãã¾ããèªä½ã®é¢æ°ãå®è¡ã§ãã¾ã(ãã ããErlangãµã¼ãã¼å´ã§ãã¼ããã¦ããå¿ è¦ãããã¾ã)ãã¾ããããã¨ãã¯TCP/IPä¸ã§è¡ããã¦ãããããªã®ã§ããããå¥ãã¼ãã§èµ·åãã¦ãOK(ã®ã¯ã)ã 使ãæ¹ ä½¿ãæ¹ã¯æ¬¡ã®éãã§ãã ãµã¼ãã¼ã¨ããErlangã·ã§ã«ãèµ·åã Erlangã·ã§ã«ã§Rulangãµã¼ãã¼ãèµ·åã å¼æ°ã§å¾ ã¡åããã¼ããæå®ããã ãã®ã¨ããå¿ è¦ã§ããã°èªä½ã®é¢æ°ããã¼ããã¦ããã ã¯ã©ã¤ã¢ã³ãã¨ããRubyã¹ã¯ãªããã§RulangBridge::Rulangã®ã¤ã³ã¹ã¿ã³ã¹ãçæã å¼æ°ã§ãã¢ã¸ã¥ã¼ã«åããã¹ãåããã¼ã
This domain may be for sale!
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}