You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Infrastracture as codeæµè¡ã®å¯ç£ç©ã¨ãã¦ãããOpsã¯ããç¨åº¦Rubyã§ã©ã¤ãã©ãªãæ¸ããããã«ãªãã¾ããã æè§Rubyã§ã©ã¤ãã©ãªãæ¸ãããªããå®å ¨ï¼ã©ã¯ã«é å¸ããããGemããã±ã¼ã¸ã«ãã¾ããããåºæ¥ã人ã«ã¯ä»æ´ã§ããããç¥ããªã人ã¯çä¼¼ãã¦ã¿ã¦ãã ã¡ãªã¿ã«æå¤ã¨èª¤è§£ããã¦ãç¹ãgemã«ããï¼Rubygems.orgã§å ¬éãããã§ã¯ããã¾ããããã¦ãOKã¨ããã ãã§ã ç®æ¨ gemãã¡ã¤ã«ãç½®ãã¦ãgemã³ãã³ãã§èªåã®ã©ã¤ãã©ãªããµã¼ãã«å°å ¥ããã ãããªãããã§ã gem install -l my_libs-0.0.1.gem ããããã£ã¦ã¿ã¾ãããã Gemã®éå½¢ãã¤ããã Gemã®ä½ãæ¹ã¯è²ã ããããã§ãããç§ã¯ãã£ã±ãbundlerã§ãã bundle gemã§å¿ è¦ãªãã¡ã¤ã«ç¾¤ãä½æãã¾ãã便å©ã§ããã $ bundle gem my_libs c
Perlã ã¨ãç¹ã«å®£è¨ãªãã«ã $a{'size'}{'upperbody'}{'chest'} = 100; ã¨ãåºæ¥ãã®ã« Ruby ã ã¨ãã¡ãã¡ Hash.new() ãªã©å®£è¨ããªãã¦ã¯ãªããä¸ä¾¿ã§ãï¼ ããã以ä¸ã®ãã¾ããªããå±ããã¨ãããã·ã¥ã®ããã·ã¥ã®ããã·ã¥ã¨ããä¸æ°ã«å®£è¨ã§ãã¡ãã£ã¦ä¾¿å©ã£ããããããã¾ããã my_hash = Hash.new{|h,k| h[k]=Hash.new(&h.default_proc)} my_hash[:size][:upperbody][:chest] = 100 my_hash[:size][:egg] = 'XL' my_hash => {:size=>{:upperbody=>{:chest=>100}, :egg=>"XL"}} ã¨ããã®ã使ãæ¹ã§ãã¨ã£ã¦ã便å©ã§ãããããããªå ´é¢ã§ä½¿ãããã§ãï¼ ä»¥ä¸ã¯ããªãã§ã¼ãããªãã®ï¼ã¨
Flexible TTY components let you solve command line problems in the same way Unix philosophy of focused tools does. You can mix and match components as you please. Composable Each component is an independent piece and can be combined in many ways with other libraries outside of tty ecosystem. Reliable All tty components are well tested to work on all major operating systems and terminal emulators,
åãã¦åå ãã¦ããRubyWorld Conference 2013ã§ã®ãRubyåµå§è Matzãã¨ã¾ã¤ãã¨ããã²ãæ°ã®åºèª¿è¬æ¼ãAiming the Moving Targetããæè¡è ã«ã¨ã©ã¾ããããããªã²ã¨ã«èãã¦ããããããããªå 容ã ã£ãã®ã§ã¡ã¢ãæ¾æµã ä½è£ã¯ãã¨ã§æ´ãâ¦ããããããªããæ´ããªããããããªãã 以ä¸ãèããããã¡ã¢ã 大å¦åæ¥å¾ã2000人è¦æ¨¡ã®å¤§æã·ã¹ãã ä¼ç¤¾ã«å°±è·ãã¨ã³ã¿ã¼ãã©ã¤ãºåãã®å¤§è¦æ¨¡éçºãæãããã ã¦ã©ã¼ã¿ã¼ãã©ã¼ã«åã®éçºã§åãããçµããã¾ã§3å¹´ãããããã£ã¦ããã âããã«çåãæ±ãããªã«ãééã£ã¦ããæ°ããããããªã«ãééã£ã¦ããã®ã説æã§ããªãã ãªã«ãééã£ã¦ããã®ãï¼ ãªã«ãä½ã£ã¦ãããææ¡ãã¦ããã¨æã£ã¦ãã å®éã«ã¯ã½ããã¦ã§ã¢ãä¸ä½ãªããªã®ããååã«ç解ãã¦ããªã ç©ççæ³åã«å¶éãããªãã®ã§ã©ãã©ãè¤éãªæ§é ã«ãªã£ã¦ããã®ã§ãã
Chefã PHPã«ã¤ã¥ããRubyã®ä»å¹´2013å¹´ãä»å¹´äººæ°ãéããè¨äºããã¼ãå¥ã«ã¾ã¨ãã¾ãããã¯ã¦ãªããã¯ãã¼ã¯ã®æ°ã¨ä¸ç·ã«æ¯ãè¿ã£ã¦ããã¾ããä»å¹´ã®2æ24æ¥ã«Ruby20å¨å¹´ãè¿ããruby-2.0.0ããªãªã¼ã¹ããã¾ãããä»ã«ãRails4ã®ãªãªã¼ã¹ãRubyKaigiã®åéãªã©å¤ãã®ãããã¯ãããã¾ããã ç®æ¬¡ Ruby20å¨å¹´ï¼ããã¦ruby-2.0.0, ruby-2.1.0ã®ãªãªã¼ã¹ è¨èªå®è£ ã¸ã®èå³ãã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã»ã Rubyã®ã²ããã Rails4ã®ãªãªã¼ã¹ã¨Railsã®æç ãã¹ããCI éçºç°å¢ãææ³ããã¶ã¤ã³ ãã¥ã¼ããªã¢ã«ãRuby, Railsãå§ãã Ruby 話é¡ã®æ¬ ä½ãã¾ããï¼ æ°ããã©ã¤ãã©ãª ãã°ã»ããã¼ã¸ã¡ã³ã fluentd Tips! ã³ã¼ãã£ã³ã° ã¯ã©ã¤ã¢ã³ããµã¤ãã¨ããã¯ã¨ã³ã Rubyãåãå·»ãç°å¢ãçµç¹ TwitterãR
ã¾ããJenkins ãå©ãã¹ã¯ãªããã ~/git/jenkins.rb ãªã©ã«ç½®ãã¾ãã require 'net/http' require 'uri' Net::HTTP.version_1_2 unless ARGV[0] puts 'usage: ruby jenkins.rb [JOB_NAME]' exit 1 end user = "(Jenkins ã¦ã¼ã¶ã¼ID)" api_token = "(ã¦ã¼ã¶ã® API ãã¼ã¯ã³ãJenkins ã®ãã¦ã¼ã¶è¨å®ãã¼ã¸ã«è¼ã£ã¦ãã¾ã)" uri = URI("http://JENKINS_HOST/job/#{ ARGV[0] }/build") # ARGV[0] ã« job åã渡ã£ã¦ãã¾ã Net::HTTP.start(uri.host, uri.port) do |http| req = Net::HTTP::Get.n
ãã®è¨äºã¯Civic Tech Advent Calendar 2013ã®ä¸ã¤ã«ãªãã¾ãã Civic Techï¼ã·ããã¯ããã¯ï¼ ã¨ã¯ä½ã â¦å¸æ°ããã¯ããã¸ã¼ãæ´»ç¨ãã¦å ¬å ±ãµã¼ãã¹ãªã©ã®å°å課é¡è§£æ±ºãè¡ããã¨ãæãã¦ãã¾ããâ¦ããã¾ã§è¡æ¿ã ãã§ã¯ãµãã¼ãã§ããªãã£ãåéã§ã®ãµã¼ãã¹ãè¡ã£ãããå¸æ°èªèº«ãããæ·±ãè¡æ¿ã®ããã»ã¹ã«åå ããããå ¬å ±åéã§ã®ã¤ããã¼ã·ã§ã³ãèµ·ãããã¨ãã§ããã®ã§ã¯ãªããã¨ã欧米ãªã©ã§çãä¸ãããè¦ãã¦ããåéã§ãã civictech â å°å課é¡è§£æ±ºã®æ°ããå½¢ãCivic Tech 㨠Code for Japan â Qiita åèªèº«ãç¹ã« Civic Tech ã«å¯¾ãã¦ä½ãå¿ãç±æãããããã§ã¯ä»ã®ã¨ããç¡ãã§ãããå¥ä»¶ã§ API ã¨ãã¼ã¿ã«ã¤ãã¦ãµã¨èãã¦ãæã«ãæ¥æ¬å½ã®æ³ä»¤ãã¼ã¿ãæ´æ°ãé »ç¹ãããªããã ããæ®éã«å ¨é¨ãã¦ã³ãã¼ãã§ããæ¹ãããããªã
[Sitespec](https://github.com/r7kamura/sitespec)ã¨ããéçãµã¤ãçæãã¼ã«ãä½ãããã®ããã°ã移è¡ããã ## Sitespec Sitespecã¯ãWebã¢ããªã¨ãã¹ãããéçãµã¤ããçæããããã®ãã¼ã«ã Webã¢ããªã«ã¯Rackãããã¹ãã«ã¯RSpecã使ãã Rackã使ã£ãé©å½ãªWebã¢ããªãç¨æãã RSpecã§HTTPãªã¯ã¨ã¹ããçºè¡ããããã«è¨è¿°ãããã¹ããå®è¡ããã¨ã ã¬ã¹ãã³ã¹ã®å 容ããéçãã¡ã¤ã«ãçæãããã¨ããä»çµã¿ã«ãªã£ã¦ããã åèã¾ã§ã«ç´¹ä»ãã¦ããã¨ãéçãµã¤ãçæãã¼ã«ã«ã¯ä»ã« [Middleman](http://middlemanapp.com/)ã[Octopress](http://octopress.org/)ã[Movable Type](http://www.movabletype.jp/) ãª
Speed & Concurrency Current Release: 6.4.0 Unlike other Ruby Webservers, Puma was built for speed and parallelism. Puma is a small library that provides a very fast and concurrent HTTP 1.1 server for Ruby web applications. It is designed for running Rack apps only. What makes Puma so fast is the careful use of a Ragel extension to provide fast, accurate HTTP 1.1 protocol parsing. This makes the se
kkaneko.com 2024 èä½æ¨©. ä¸è¨±è¤è£½ ãã©ã¤ãã·ã¼ããªã·ã¼
Ohh! Fresh chapter snuck up! When You Wish Upon a Beard, drawings everywhichway.
ãããã¹ããã¡ã¤ã«ã®åè¡ã«ä¸æ¬ã§åããããªå¦çããã¦ããã®çµæãå¾ãããã¨ãããããªãã¨ã¯ããããã¾ããç¹ã«è·å ´ã Windows ãªç°å¢ã 㨠CUI ã®ãã¼ã«ã貧弱ã§ãã¤ãã¨ãã£ã¿ã§ãã£ã¦ã¿ãããã¦ãã¾ã£ã¦ãååããããã£ãã¨ããã§ç¡éã«è¥²ããã¦ã©ãã¾ã§ä½æ¥ãããããããªããªã£ã¦å ¨é¨ããç´ãããã ãããªã³ã¼ãã PATH ã®éã£ãã¨ããã«ãããã ãã§ãé常ã«éå®ãã¦ããã®ã§ãç´¹ä»ãã¾ããã¯ã¾ã£ãã¨ãã«ã¯ãç¬ã£ã¡ãããããä½æ¥å¹çãä¸ããããã script = ARGV.shift || '' lines = $stdin.readlines.map {|li| li.chomp} puts eval(script) ãã¡ã¤ã«åã« firter ã¨ã§ãåä»ãã¦ãã£ã¦å¼ã³åºãã¦ã¿ã¾ãã ãã¨ãã°ãc:\ruby\bin\rake ãã¡ã¤ã«ããã³ã¡ã³ãã§å§ã¾ãè¡ã ããæãåºãããã¨ãã¯ãã
æ¹é Rubyãã¾ã£ããç¥ããªãåæã§å§ãã¾ã JavaãJavaScriptãelispã®ãããªã¡ã¸ã£ã¼ãªè¨èªã¨å¯¾æ¯ããªãã説æãã¾ã ãªãã¹ãæãåããã¦ç®ã«è¦ããå½¢ã§èª¬æãé²ãã¾ã 次åRuby on Railsã®åå¼·ä¼ãããã®ã§ãããã«ã¤ãªãããã¨ã«éç¹ãç½®ãã¾ã éã«è¨ãã¨ãRoRã§ãã¾ã使ããªãç¥èã¯æµãã¾ããä¾ãã°ããã¡ã¤ã«æä½å¨ããã¹ã¬ããå¨ããªã© éçºç°å¢(2) .emacs.elã«æ¸ãã¹ãè¨è¿° ; ruby (autoload 'ruby-mode "ruby-mode") (setq auto-mode-alist (cons '("\\.rb$" . ruby-mode) auto-mode-alist)) (setq interpreter-mode-alist (append '(("ruby" . ruby-mode)) interpreter-mode-al
ãç¥ãã 2007å¹´11æ27æ¥ åå å¸æè ãå°ãªããããRubyèªå®è©¦é¨ã®ç¬¬äºåã«åããåå¼·ä¼ã¯è¡ããªããã¨ã«ãã¾ããã ç·åçãªåé¡ã11å追å ãã¾ãããåè¨ã§ã20åå ¬éãã¦ã¾ãã ãæ´»ç¨ãã ããã ç·ååé¡ No.1 2007å¹´11æ21æ¥ ç·åçãªåé¡ã9åãå ¬éãã¾ããã 11æ26æ¥(æ)ã¾ã§ã«ã10åç¨åº¦ã追å ããäºå®ã§ãã ç·ååé¡ No.1 2007å¹´10æ26æ¥ è§£çã¨è§£èª¬ãå ¬éãã¾ãããã覧ãã ããã åçã¨è§£èª¬ 2007å¹´10æ26æ¥ ç¬¬15åãªã¼ãã³ã½ã¼ã¹ãµãã³ã§ï¼ åé¡ã®ããã¤ãã解説ãã¾ããããåå ããã ããããã¨ããããã¾ããã ã¯ããã« Rubyèªå®è©¦é¨ ã®å¯¾çã¨ãã¦ãNaCl ã®æå¿ã§æ¨¡æ¬è©¦é¨åé¡ãä½æãã¾ããã Rubyèªå®è©¦é¨ã¯æ¬¡ã®æ¥ç¨ã§è¡ããã¾ãã 第ä¸å 2007å¹´10æ27æ¥(å) - çµäº 第äºå 2007å¹´12æ1æ¥(å) - çµäº 第
ref:Life is beautiful: ãªãã¸ã§ã¯ãã次ã ã«æ¸¡ããRuby Filterãã£ã¦ã©ãã ãã ã©ãããããªããRuby ã®ä¸ã§ããã¤ãã©ã¤ã³ãæ§ç¯ã§ããããã«ããã°ããã®ã«ã require 'pp' require 'uri' require 'open-uri' require 'rubygems' require 'scrapi' class Filter def initialize(&block) @proc = block end def |(filter) Filter.new do |arg| filter.execute(execute(arg)) end end def execute(arg) @proc.call(arg) end end def parseURI Filter.new do |arg| URI.parse(arg) end end
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}