ããããã¤ãã æ è¡ã¨ãã¤ã¯ã¨ãã©ã¤ãã¨æçã¨å®å®ã好ãã Ubie Discoveryã®ããã°ã©ãã webã¢ããªãä½ãä¸ã§ãxssãé²ãããã«ãhtmlã®ã¨ã¹ã±ã¼ãå¦çã¯å¿ ããããªããã°ãªãã¾ããã ãã®å¦çã¯ä½åº¦ãä½åº¦ãã³ã¼ã«ãããã®ã§ãããã®é度ãä¸ãããã¨ãã§ãããã¬ã¹ãã³ã¹ã¿ã¤ã ã®åä¸ã«å¯ä¸ãããã§ãã Railsã®htmlã¨ã¹ã±ã¼ãå¦çã¯æ£è¦è¡¨ç¾ã使ã£ãString#gsubã§è¡ããã¦ãã¦ãããã¯ããã«ãé ãããæååå¦çã¨ããã°ãã¼ãã以åä½ã£ã word_scoopã¨ããã©ã¤ãã©ãªãããã¾ãããã¼ã¯ã¼ããæ¤åºããã©ã¤ãã©ãªã¨ãã¦ã¯ããªãã®é度ãèªã£ã¦ããã¨èªè² ãã¦ãã¾ãã ãã®ã³ã¼ããæµç¨ããã°ãescapeå¦çãéãã§ããããããªããã¨æã£ã¦è©¦ãã«å®è£ ãã¦ã¿ã¾ããã https://github.com/tsukasaoishi/saisoku é«éãªescapeå¦çã®
ã¤ãã£ãªã 説æ 以ä¸ã®ããã«æ¸ãã¾ãã if $0 == __FILE__ then # ããã°ã©ã ãã³ãã³ãã§å®è¡ãããå ´å else # ããã°ã©ã ã require ã§èªã¿è¾¼ã¾ããå ´å end $0 㯠Kernel ã¢ã¸ã¥ã¼ã«ãå®ç¾©ããå®æ°ã§ãç¾å¨å®è¡ä¸ã® Ruby ã¹ã¯ãªããã®ååã表ãæååã§ãã 詳細ã¯ãKernel ã¢ã¸ã¥ã¼ã«ãã®ãªãã¡ã¬ã³ã¹ãåç §ãã¦ãã ããã __FILE__ 㯠Ruby ã®æ¨æºã®çä¼¼å¤æ°ã§ãç¾å¨ã®ã½ã¼ã¹ãã¡ã¤ã«åã§ãããªãã¡ã¬ã³ã¹ã®ãå¤æ°ã¨å®æ°ããåç §ãã¦ãã ããã ç¾å¨å®è¡ä¸ã® Ruby ã¹ã¯ãªããã¨ç¾å¨ã®ã½ã¼ã¹ãã¡ã¤ã«åãä¸è´ã«ãã£ã¦ãã³ãã³ãã§å®è¡ããããã®ã§ããã¨å¤æãã¾ãã å¿ç¨ æ¬ã³ã¼ãã¨ãã¹ãã³ã¼ããï¼ã¤ã®ã½ã¼ã¹ã³ã¼ãã«ã»ããã§æ¸ã ãã®ã¤ãã£ãªã ã使ããã¨ã§ãæ¬ã³ã¼ãã¨ãã¹ãã³ã¼ãã¨ãï¼ã¤ã®ã½ã¼ã¹ãã¡ã¤ã«ã«ã¾ã¨ãã¦æ¸ãã¾ãã ä¾ãã°
(FYI: I'm following the Twitter Omniauth from railscast #241. I used Twitter successfully, now going onto Facebook) As soon as I logged into Facebook using Omniauth, I get this error: Faraday::Error::ConnectionFailed SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed What does this mean? This is my code Rails.application.config.middleware.use OmniAuth::
é³ã®é³´ãã¨ãã£ã¿ã便å©ã ãã©ä½¿ã㨠Vim ãæ»ã¬ã»ã©éããªããé©å½ã«è»½éåããã ~/bin/vim-key-sound.rb #!/usr/bin/env ruby open("#{ENV["HOME"]}/vim_audio_list",'a'){|x| x.puts ARGV[0]} å®éã«é³é³´ããã㤠#!/usr/bin/env ruby require "coreaudio" require 'kconv' class SinWaveSounder LONG = 44000 scale = 2.0 ** (1 / 12.0) FREQUENCIES = 28.times.map do |i| 220 * (scale ** i) end def initialize dev = CoreAudio.default_output_device @buf = dev.output
Rubyã®éçºå¹çãé«ãããï¼ vimã§RubyãRailséçºããã¨ãã«ãããã©ã«ãã®ç¶æ ã§ã¯éåã§ãããã éçºå¹çãé«ãã9ã¤ã®ãã©ã°ã¤ã³ãç´¹ä»ãã¾ãã alpaca_tagsãããctagsã®éåæçæ neosnippetãããRails/sinatra/rspecçã®è£å® swtich.vimãããã.present?:.brank?ãªã©å¯¾å¿ãããã¼ã¯ã¼ããåãæ¿ãã rubocopããããææ³ã¨ã©ã¼ãã¹ã¿ã¤ã«ãã§ã㯠vim-railsããããRailsããã¸ã§ã¯ãç¨ãã©ã°ã¤ã³ unite-railsããããRailsããã¸ã§ã¯ãç¨Unite-source vim-endwiseãããif...endãªã©å¯¾å¿ãããã¼ã¯ã¼ãã®èªåè£å® ruby-matchitãã %ãæ¡å¼µãã¦ãdef...endçã®ãã¼ã¯ã¼ãã移ååºæ¥ãããã«ããã vim-refãããããRuby/Gems
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}