2017-01-01ãã1å¹´éã®è¨äºä¸è¦§
for %%A in (A B C D E) do call :sub goto :EOF :sub for %%B in (1 2 3 4 5) do echo %%A-%%B ã¬ãã·ã«ã«ã«ã¯ :sub ã¯ãfor %%A ã®ã«ã¼ãã®å¤ã ãã%%A ãåç §ã§ããï¼ ä»ã¾ã§ãå¼æ°ã§æ¸¡ãã¦ã¾ããããªãã¦ãã¨ã ã ããããgoto ãã㨠%%B ã ãã§ãªã %%â¦
ãã¡ã¤ã¢ã¼ã¦ã©ã¼ã«ã®ä¸ã§Proxyãµã¼ãã¼çµç±ã§ãCentOS7ã«Mastodonãã¤ã³ã¹ãã¼ã«ããã¨ãã®ã¡ã¢ãï¼ï¼Dockerãã¼ã¢ã³ã®Proxyè¨å® â /etc/systemd/system/docker.service.d/proxy.conf ã« [Service] Environment="HTTP_PROXY=http://prox-hostname:port/" Envâ¦
åºãªãã®ã§ã¯ç¡ããã¨è¨ããã¦ããRubyInstaller2.4ãåºãããã¤ãã£ãgemsã®ã¤ã³ã¹ãã¼ã«ç¨ã«ãå¾æ¥ã¯DevKitã¨ããããã±ã¼ã¸ãç¨æãããã¦ããããä»åããã¯ã¤ã³ã¹ãã¼ã©ã¼ã«MSYS2ã®ã¤ã³ã¹ãã¼ã©ã¼ãå«ã¾ãã¦ãããã¡ãã¥ã¼ã§1,2,3ã¨é¸ã¹ãããã«ãªã£ã¦â¦
ã¹ã³ã¢ãã©ãã«å ¥ã£ã¦ãããã調ã¹ãã¨ã%APPDATA%\Microsoft Games ã®ä¸ã®ã²ã¼ã æ¯ã®ãã©ã«ãã¼ã«æ ¼ç´ããã¦ããã ã½ãªãã¢ã ã¨ã%APPDATA%\Microsoft Games\Solitaire\SolitaireSettings.xml ã²ã¼ã åã®ãã©ã«ãã¼ã¯ãExplorerããè¦ãã¨ãã½ãªãã¢ãã¨çâ¦
google-api-clientã使ã£ãã¹ã¯ãªãããRubyw.exeã§åããã¦ããããèµ·åæã«ä¸ç¬ã ãã³ãã³ãããã³ããç»é¢ãåºããæ¬å½ã«ä¸ç¬ãªã®ã§ä½ãåºã¦ããã®ããè¦ããªãã ã¨ãããã¨ã§ãå°ããã¤å®è¡ãã¦ã¿ã¦åå ãåãã£ãã \google-api-client-0.10.1\lib\gooâ¦
åãã¦ããVPSã®ãã£ã¹ã¯ã«ããªãã®ä½è£ãããã®ã§ããã©ã¤ãã¼ãDropbox風ãµã¼ãã¼ã½ãããå ¥ãã¦ã¿ããã¨ã«ããã ã°ã°ãã°ããããåèã«ãªããã¼ã¸ã¯ããããããã¯ãã¡ãã¨æ¬å®¶ãµã¤ã http://download.owncloud.org/download/repositories/9.1/owncloudâ¦
ãµã¤ãã®ä¸é¨ãæ´æ°ããããã©ããã®ãã§ãã¯ã cronããã®èµ·åãæ³å®ã #!/usr/local/bin/ruby require "nokogiri" require "open-uri" def check(url:, xpath: nil, css: nil, file:) doc = Nokogiri::HTML.parse(open(url).read) text = doc.search(xpathâ¦
ãµã¨ãç°å¢å¤æ°LESSOPENã®å¤ãè¦ãã¨ã"||/usr/bin/lesspipe.sh %s" ã«ãªã£ã¦ããã CentOS6.8ã ã¨ã/etc/profile.d/less.sh ã§ãã®ããã«è¨å®ããã¦ãããã"|/usr/bin/lesspipe.sh %s"ãæ£ããããããªãã®ãï¼ ãªã"|"ã2ã¤ããã®ãè¬ã "|||/usr/bin/lesâ¦
Ruby2.4ã§ãFixnumã¨Bignumã®åºå¥ãç¡ããªã£ããã©ãå®éã«ã¯ããã¨è¨ã話ã def is_fixnum(n) n.equal?(n.to_s.to_i) end p is_fixnum(1000) #=> true p is_fixnum(10000000000000000000000000) #=> false
ã¡ãã£ã¨ä¿¡ãããããã©ãå°ãªãã¨ãWindows7ã§ã¯ãforfilesã³ãã³ãã«ãã°ãããããã¹ããã¦ãªãã®ãï¼ /c ã§æå®ããå¤é¨ã³ãã³ãã®ç¬¬ä¸å¼æ°ãè½ã¡ãããã ãcmd /c ãæ¸ãã°åé¡ãªãã D:\foo>forfiles /c "gecho 1 2 3 @file" 2 3 bar 2 3 baz D:\foo>fâ¦