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
æ¬ç¨¿ã¯ 2015å¹´5æ27æ¥ (æ°´) ã« Armin Ronacher (@mitsuhiko) æ°ã«ãã£ã¦æ¸ãããè¨äºã®ç¿»è¨³ã§ãã Rust for Python Programmers 訳è 㯠Rust ãå ¨ãç¥ããªããããåéãã誤訳ãããã¨æãã¾ã (ç¹ã«ç¨èª) ããããã£ã誤ããè¦ã¤ãããç·¨éãªã¯ã¨ã¹ããéã£ã¦ããããã¨å©ããã¾ãã Python ããã°ã©ãã¼ã®ããã® Rust å ¥é ãã¾ Rust 1.0 ãç»å ´ãã¦é常ã«å®å®ãã¦ããã®ã§ãPython ããã°ã©ãã¼åãã« Rust ã®å ¥éè¨äºãæ¸ãã¨ãããããã®ã§ã¯ãªããã¨ç§ã¯æãã¾ããããã®æå¼ãã§ã¯ãRust è¨èªã®åºç¤ã調ã¹ãªããç°ãªãæ§ææ¦å¿µã¨ããããã©ãæ¯ãèãã®ããæ¯è¼ãã¾ãã Rust ã¨ããè¨èªã¯ Python ã¨æ¯ã¹ãã¨å ¨ãç°ãªãç£ã§ããåã«ä¸æ¹ãã³ã³ãã¤ã«åè¨èªã§ããä¸æ¹ãã¤ã³ã¿ã¼ããªã¿ã¼åè¨èªã§ããã¨ãã
Part 1 Task ã®ä¾åé¢ä¿ã®è§£æ±º Part 2 Workflow ã®åªçæ§ Part 3 Task éã§ã®ãã¼ã¿ã®ããåã Part 4 Task ã®ä¸¦åå®è¡ Workflow Engine ã£ã¦ä½ï¼ Workflow Engine ã¨è¨ã£ã¦ãå¤æ©è½ãªãã®ãããã·ã³ãã«ãªãã®ã¾ã§æ§ã ãªãã®ãããã¾ããããã§ã主æ¨ãã¶ããªãããã«ããã®è¨äºã§ã® Workflow Engine ã¯ã以ä¸ã®è¦ä»¶ãæºããã½ããã¦ã§ã¢ã¨ãã¾ãã Workflow Engine ã¨ã¯ãä¾åé¢ä¿ã®ããè¤æ°ã® Task ããæå³ããé çªéãã«å®è¡ãããã® ãã®è¨äºã§ã¯ããã®è¦ä»¶ãæºãã Workflow Engine ã Ruby ã§ã¤ããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã ä¾åé¢ä¿ãè¨è¿°ãã ä¾åé¢ä¿ã解決ããã³ã¼ããæ¸ãåã«ãä¾åé¢ä¿ãè¨è¿°ããæ¹æ³ãã¾ã決ãã¾ãããã ä¾åé¢ä¿ãè¨è¿°ããã«ã¯ãluigi ã®ããã« Ta
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Part 1 Task ã®ä¾åé¢ä¿ã®è§£æ±º Part 2 Workflow ã®åªçæ§ Part 3 Task éã§ã®ãã¼ã¿ã®ããåã Part 4 Task ã®ä¸¦åå®è¡ ã¾ããã ãã®é£è¼è¨äºã§ä½æãã Workflow Engine ã¯ãLuigi ã®è¨è¨ææ³ã«å¤§ããå½±é¿ãåãã¦ãã¾ãããªã®ã§ã @k24d ããã® Luigi ã«ããã¯ã¼ã¯ããã¼ç®¡ç ãå ã«èªãã§ããã¨ãç解ãæ·±ã¾ãã¨æãã¾ãã åå㯠Task ã®ä¾åé¢ä¿ã®è§£æ±ºæ¹æ³ãå®è£ ãã¾ããããPart 2ã®ä»å㯠Workflow ã®åªçæ§ã«ã¤ãã¦å®è£ ãã¦ããã¾ãã Workf
Part 1 Task ã®ä¾åé¢ä¿ã®è§£æ±º Part 2 Workflow ã®åªçæ§ Part 3 Task éã§ã®ãã¼ã¿ã®ããåã Part 4 Task ã®ä¸¦åå®è¡ Task éã§ã®ãã¼ã¿ã®ããåã ä»å㯠Task éã§ã®ãã¼ã¿ã®ããåããå®è£ ãã¦ããã¾ãã次å以éãå°ãé·ããªãã®ã¨ãå®è£ ãç°¡åãªã®ã§ãä»åã¯çãã«ã¾ã¨ãã¾ãã Task éã®ãã¼ã¿ã®ããåãã¨ã¯ï¼ ãTask éã®ãã¼ã¿ã®ããåããã¨ã¯ä½ããããã¤ãã®ä¾ã§èª¬æãã¾ãã ![Alt text](http://g.gravizo.com/g? digraph G { rankdir=LR; TaskB -> TaskA TaskC -> TaskA; TaskD -> TaskB; TaskD -> TaskC; } ) ãTask éã®ãã¼ã¿ã®ããåããã¨ããã®ã¯ãæ£ç¢ºã«ã¯ãä¸æµï¼Downstreamï¼Task ã® ou
Part 1 Task ã®ä¾åé¢ä¿ã®è§£æ±º Part 2 Workflow ã®åªçæ§ Part 3 Task éã§ã®ãã¼ã¿ã®ããåã Part 4 Task ã®ä¸¦åå®è¡ Task ã®ä¸¦åå®è¡ ä»å㯠Workflow Engine ã« Task ã並åå®è¡ã§ããæ©è½ãå®è£ ããã¾ããWorkflow Engine ãå©ç¨ãããã®ã¯ãããç¨åº¦ä»¥ä¸ã®æ°ã® Task ãå«ãå¦çã«ãªãã®ã§ãå ¨ä½ã®å®è¡æéãç縮ããããã«ä¸¦åå®è¡ã®æ©è½ã¯ã¨ã¦ãéè¦ãªãã®ã«ãªãã¾ãã ![Alt text](http://g.gravizo.com/g? digraph G { rankdir=LR; Task2 -> Task1 Task3 -> Task1; Task4 -> Task1; Task5 -> Task1; Task6 -> Task2; Task6 -> Task3; Task6 -> Task4;
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? Part 1 Task ã®ä¾åé¢ä¿ã®è§£æ±º Part 2 Workflow ã®åªçæ§ Part 3 Task éã§ã®ãã¼ã¿ã®ããåã Part 4 Task ã®ä¸¦åå®è¡ ã¾ããã ãã®é£è¼è¨äºã§ä½æãã Workflow Engine ã¯ãLuigi ã®è¨è¨ææ³ã«å¤§ããå½±é¿ãåãã¦ãã¾ãããªã®ã§ã @k24d ããã® Luigi ã«ããã¯ã¼ã¯ããã¼ç®¡ç ãå ã«èªãã§ããã¨ãç解ãæ·±ã¾ãã¨æãã¾ãã åå㯠Task ã®ä¾åé¢ä¿ã®è§£æ±ºæ¹æ³ãå®è£ ãã¾ããããPart 2ã®ä»å㯠Workflow ã®åªçæ§ã«ã¤ãã¦å®è£ ãã¦ããã¾ãã Workf
Goã§ããã°ã©ã ãæ¸ãã¦ããã¨ãæ±ç¨çãªmapé¢æ°ãfoldé¢æ°(reduceé¢æ°)ã®ãããªãã®ãããã°ä¾¿å©ãªã®ã«ãã¨ããå ´é¢ãçµæ§ããã¾ãã ããããã¨ãã¯ãããããã®åå°ç¨ã®é¢æ°ãä¸éããããããç¨æãã¦ãããã¨ãããããªæ¹æ³ã§ãè¶ãæ¿ããã¨ãå¤ãã¨æãã¾ããããããªãã®ã§ã¯HaskellãLispãªäººã¯ãã¡ããRubyãPythonã«æ £ããLLè³ãªäººã«ãæºè¶³ã§ããªãã¯ãã§ãã ããã§æ¬è¨äºã§ã¯ãã¸ã§ããªãã¯ãªé«éé¢æ°ããªãã¬ã¯ã·ã§ã³ãé§ä½¿ãã¦å®è£ ãããã¨ã§ãGoã§é¢æ°åããã°ã©ãã³ã°ã試ã¿ããã¨æãã¾ãã åç´ãªå®è£ ã®mapé¢æ° æåã«ãé¢æ°ãå¼æ°ã«ã¨ãé¢æ°ãåç´ã«å®è£ ããå ´åãã¿ã¦ã¿ã¾ãã ä¾ãã°ãsliceã®ãã¹ã¦ã®è¦ç´ ã«å¯¾ãã¦é¢æ°ãé©ç¨ããçµæãæ°ããªsliceã§è¿ãMapé¢æ°ãèãã¦ã¿ã¾ãã package main import ( "fmt" ) var ( ints =
以ä¸ã§ææ°ã® RuboCop ãã¤ã³ã¹ãã¼ã«ãããã¨ãå¯è½ã§ãã å°ããã¡ã¤ã«ã追å ããå ´åã«ã¯ãã®ãã¡ã¤ã«ãgit addããå¿ è¦ããã注æãå¿ è¦ã§ãã ãããã°ã«æç¨ãª RuboCop ã®ãªãã·ã§ã³ RuboCop ã«ã¯å¤ãã®ãªãã·ã§ã³ãããã¾ããããã®ä¸ãããããã°ãããéã«ä¾¿å©ãªãªãã·ã§ã³ãç´¹ä»ãã¾ãã --debug --debug ãªãã·ã§ã³ã¯ããã®åã®éããããã°æ å ±ã表示ãããªãã·ã§ã³ã§ãã é常ãRuboCop ã¯ã¨ã©ã¼ãçºçãã¦ãã¹ã¿ãã¯ãã¬ã¼ã¹ã表示ãã¾ããã 試ãã« RuboCop ã«ããã¨ãã°ãåãè¾¼ãã§å®è¡ãã¦ã¿ã¾ãããã $ rubocop An error occurred while Lint/MultipleCompare cop was inspecting /tmp/tmp.3IJl8RsGgZ/test.rb:4:7. To see the com
ããã«ã¡ã¯ãpockeã§ããä»åã¯Lintãã¼ã«ã®ã²ã¨ã¤ãRuboCopã®Copã®å®è£ æ¹æ³ã«é¢ãã¦è¿°ã¹ããã¨æãã¾ãã 対象èªè RuboCopã®å é¨å®è£ ãç¥ããã人 Lintã®å®è£ ãããã人 Cop ã¨ã¯? Cop ã¨ã¯ãRuboCopã«ãããã²ã¨ã¤ã®ã«ã¼ã«ã®åä½ã§ãã ä¾ãã°ã evalã¡ã½ããã®ä½¿ç¨ãæ¤åºãã ã¤ã³ãã³ãã®ä¸æ´åãæ¤åºãã Gemfileå ã®gemãã¢ã«ãã¡ãããé ã«ãªã£ã¦ãããæ¤æ»ãã ãªã©ãã²ã¨ã¤ã®Copã®åä½ã¨ãªãã¾ãã ä»åè¿°ã¹ãscope RuboCopã«ã¯ç¾å¨(2016/12/23ç¾å¨ã®master)ã321åã®Copãããã¾ãã æ°å¤ãã®Copãããä¸ã§ãCopãåé¡ã¨ããé åã«ãã£ã¦Copãå¿ è¦ã¨ããæ å ±ãå¤ãããããCopã®å®è£ æ¹æ³ãå¤åãã¾ãã ãã®ããRuboCopã«ã¯Copã®å®è£ ã«ããã¤ãã®æ¹æ³ãããã®ã§ãããä»åã¯ãã®ä¸ãã1ã¤ãé¸ãã§ç´¹ä»ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? #! vim: ruby ##### Yuto's Gemfile ##### source 'https://rubygems.org' gem 'rails' # Authentication gem 'devise' # Flexible authentication solution for Rails with Warden gem 'devise-i18n' # Translations for the devise gem gem 'omniauth-facebook' # OmniAuth strategy for Fa
ã¯ããã« Effective Rubyããã£ã¨èªã¿çµãã£ãï¼ï¼ï¼ ã´ã¼ã«ãã³ã¦ã£ã¼ã¯ä¸ã®èª²é¡å³æ¸ã ã£ãã®ã«ãæã£ããããå 容ãéãã¦èªã¿çµããã®ã«ä¸ã¶æãããããã£ã¦ãã¾ã£ãã Effective Ruby ä½è : Peter J.Jonesåºç社/ã¡ã¼ã«ã¼: ç¿æ³³ç¤¾çºå£²æ¥: 2015/01/19ã¡ãã£ã¢: Kindleçãã®ååãå«ãããã° (5件) ãè¦ã æ¬æ¸ã¯48é ç®ããæ§æããã¦ãã¦ããã§ããããã®ã¨ã³ããªã¯ããã¡ããã¤ãã®é ç®ã«ã¤ãã¦ã®ææ³ãåå¿é²ã«ãªãã¾ãã ãªããåé ç®ã«ããããµã³ãã«ã³ã¼ãã¯æ¬æ¸ã«æ²è¼ããã¦ãããã®ã§ã¯ãªãã復ç¿ã®ããã«èªåã§æ¸ãããã®ã§ãã ææ³ã»åå¿é²ãªã© é ç®4 å®æ°ããã¥ã¼ã¿ãã«ãªãã¨ã«æ³¨æããã å®æ°ãé åãããã·ã¥ãªã©ã®ã³ã¬ã¯ã·ã§ã³ãªãã¸ã§ã¯ãã®å ´åã¯ãã³ã¬ã¯ã·ã§ã³ã®è¦ç´ ãfreezeããªãã¨ãã¡ã # ãã¡ãªä¾ PERFUME = %w(Aa
Effective Ruby ããã£ã¨èªã¿ã¾ããï¼ Effective Ruby ä½è : Peter J.Jonesåºç社/ã¡ã¼ã«ã¼: ç¿æ³³ç¤¾çºå£²æ¥: 2015/01/19ã¡ãã£ã¢: Kindleçãã®ååãå«ãããã° (5件) ãè¦ã èãã¨æã£ã¦æ²¹æãããæ¡å¤éãã£ãâ¦â¦ï¼ ãã£ããããææ³ã¨ãã¦ãRuby ããããã使ããããã«ãªã£ã¦ãã人ãèªãã¨é常ã«åå¼·ã«ãªãæ¬ãã ã¨æãã¾ããã èªãã§ã¦ãã¸ãï¼ãããªãã ï¼ãã¨ããããï¼ãã£ã¦ã¿ããï¼ãã¨ãæãããã¨ãå¤ããé¢ç½ãã£ãã§ãã ãã ãæ¡å¤éãã¦ãå¯ãåã«èªãã§ããã¹ã¤ã¹ã¤ã¨çç¡ãããããã¦ã¾ããã ä¼ç¤¾ã§ãç¡ç ã« Effective ãªæ¬ãªãããªãã¨ãè¨ããã¾ããã ç´ æ´ãããæ¬ã§ãã æ¬é¡ ãã¦ãå®ã¯ã¿ã¤ãã«ããã¡ãã®è¨äºãããã¯ãªã¾ããã web-salad.hateblo.jp ãã¤ãé£ã§ã¯ã¤ã¯ã¤åããªããåãã¦ãååã®è¨äº
èªå·±ç´¹ä» cuiã¨ãªãã¡ã¯ã¿ãªã³ã°ã好ããªrailsããã°ã©ãã§ãã awsãªã©ã®ã¤ã³ãã©å¨ãã触ãã¾ãã ã¸ã¢ãã£ã¼ã¨ããä¼ç¤¾ã§ååã®ãµã¼ãã¹ãä½ã£ã¦ã¾ãã ä¼ç¤¾ã§vim使ã£ã¦ããã®ã¯èªåã ãã§ãå¯ããã§ãã zsh tmux vim peco ergodoxã®ã¹ã¹ã¡(ï¼Î±) cui toolã使ãããªãã¨ä½æ¥ãæã tmuxã®ã¹ã¹ã¡(1) å¿ è¦ãªæã«ãå¿ è¦ãªåã ããã¤ã³ãåå²ãã¦ä½¿ã£ã¦ããã®ã好ã tmuxã®ã¹ã¹ã¡(2) zshèµ·åæã«èªåèµ·åã«ãã¦ãã # tmuxèªåèµ·å if [ -z "$TMUX" -a -z "$STY" ]; then if type tmuxx >/dev/null 2>&1; then tmuxx elif type tmux >/dev/null 2>&1; then if tmux has-session && tmux list-sessions
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ç´¹ä»ãã¾ãã Railsã®ã³ã¢é¨åã¨ãã gem 'rails' WAFã¨å¼ã°ããä½ããRubyã®ãã©ã¼ãã¬ã¼ã ã¯ã¼ã¯ã ããã©ã«ãã®ã¡ãã»ã¼ã¸ã¨ãã®å¤è¨èªåã¯ãgem 'rails-i18n' ãã©ãã gem 'mysql2' DBã¤ãªãã«ãããã³ã MySQLèªä½ã¯Oracleã«è²·åããã¡ãã£ãã®ã§ãPostgresqlã«æ»ã£ã¦ãããæ°ããã¦ãã gem 'unicorn' æ¬ç©ã®ãµã¼ãã¼ã®ä¸ã§Railsãåããããã®ãã¤ã unicornã¨ãpumaã¨ãpassengerã¨ãthinã¨ãããã¾ããã¼ã ä»ã¯ã©ãããããã ããã
æè¿ãRailsããã¸ã§ã¯ãã§ã¨ããããå ¥ãã¦ããgem20åã¾ã¨ãã¦ããã¾ãï¼éææ´æ°ä¸ã§ãï¼ èªåã®ã¡ã¢ç¨ãªã®ã§ç¹ã«ç®æ°ãããã®ã¯ãªãã§ããâ¦ç¬ ä½ãããããããããã°ãã²æãã¦ãã ãã gem 'devise' ç°¡åãã°ã¤ã³å®è£ ã®gemï¼å·éã«ãªãã¨è¤éï¼ http://qiita.com/Salinger/items/873e3c667462746ae707 gem 'slim-rails' slimã®è¨æ³ã使ãããã®gem http://ruby-rails.hatenadiary.com/entry/20140929/1411997071 gem 'draper' decorator使ãããã®gem http://morizyun.github.io/blog/draper-ruby-gem-code-clear/ gem 'rubocop' rubyãããã³ã¼ããæ¸ãããã®g
awesome_printã¯rails consoleã§ãæ´»ç¨ã§ãã¾ãã ä¸æºå Gemfileã®developmentã°ã«ã¼ãã«ãpry-railsã¨awesome_printãè¨è¿° group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug' # Access an IRB console on exception pages or by using <%= console %> in views gem 'web-console', '~> 2.0' # Spring speeds up development by keeping your application running in the ba
ãã®è¨äºã¯ãRubyéçºç°å¢ Advent Calendar / Jul.ã®3æ¥ç®ã®è¨äºã§ãã ãã¹ãèªåå®è¡ã®ã¹ã¹ã¡ TDDãå®è·µãã¦ããã¨ãRed -> Green -> Refactoring ããªãºã ããã«ã¼ãããããã¨ãéè¦ã¨ãªãã¾ãã ããã§ãã³ã¼ãã®å¤æ´ãæ¤åºãã¦ãã¹ããèªåã§å®è¡ãããããªãã¼ã«ã«ãããµãã¼ããããã¨ãã®ãããæãã¾ãã å¤ã㯠autotest(ZenTest) ã®ãã㪠gem ãå©ç¨ãã¦å®ç¾ãã¦ãã¾ããã ä»ã§ããruby èªåãã¹ããã¨ãã§ã°ã°ã㨠autotest ã«é¢ããæã®è¨äºãä¸ä½ã«åºãããã¾ãã autotest ã¯å®ã¾ã£ãç°å¢ã§ã¯é常ã«ä¾¿å©ãªã®ã§ããã å°ãéã£ããã¨ããããã¨ããã¨ãå¤æ´ãé常ã«ããã©ããããæè»æ§ã«æ¬ ãã¦ãã¾ããï¼ä»ããããã¯ç¥ãã¾ããï¼ã ããã§ãç£è¦å¯¾è±¡ã¨ãããå¤æ´ãããæã«ä½ãããããDSLã§ç°¡åã«æ¸ãããããª
ãã¹ãå®è¡ä¸ã«ããä»ã£ã¦ã©ããªç¶æ ãªãã ã£ãï¼ãã¨ç¥ããããã¨ãããã¾ãã ããã§å½¹ã«ç«ã¤ã®ãlaunchyã¨ããgemã§ãã https://www.ruby-toolbox.com/projects/launchy 使ãæ¹ launchyãã¤ã³ã¹ãã¼ã« Gemfile group :test do gem 'launchy', '2.4.2' end $ bundle install --without production specãã¡ã¤ã«ãè¨è¿° describe "Top page" do it "should have 'home page'" do visit '/static_pages/home' # ãã©ã¦ã¶ã§éã save_and_open_page page.should have_content('home page') end ããã便å©ã§ãã
åãã¦ã®äººã®ããã®LISP[å¢è£æ¹è¨ç]ã®ã¡ã¢ã§ãã æå:åãã¦ã®äººã®ããã®LISP (第1è¬-第5è¬) - ããã«ã丼ã§ããã㪠é¢æ°å¼æ°ã®åºæ¬ã¯apply applyã®ç¬¬1å¼æ°ã¯é¢æ°ã§ã第2å¼æ°ããã®é¢æ°ã®å¼æ°ã®ãªã¹ã(第11è¬)ã æ°å¤ã ããå ¥ã£ããªã¹ãã®ç·åãè¨ç®ããã (setq x '(1 2 3 4 5 6)) (apply '+ x) ; => 21 funcall funcallã使ãã¨å¼æ°ããªã¹ãã«ããªãã¦ãããã (funcall '+ 1 2 3 4 5 6) ; => 21 mapcar mapcaré¢æ°ã¯ãªã¹ãã®åã ã®è¦ç´ ã«é¢æ°ãapplyããçµæããªã¹ãã¨ãã¦è¿ãã (setq x '(1 2 3 4 5)) (mapcar (lambda (x) (* x x)) x) ; => (1 4 9 16 25) å®ç¾© (defun mapcar (fn mli
æ¬ã§è¨ã第10ç« , ãã®ä»ã®æ©è½. æ¬ã¯ãããããLispå ¥éã. ããçµããã ãª. å±æé¢æ°. ;; æ§æ (flet ((å±æé¢æ°1 å¼æ°ãªã¹ã1 å±æé¢æ°å®ç¾©1 ...) (å±æé¢æ°2 å¼æ°ãªã¹ã2 å±æé¢æ°å®ç¾©2 ...) ... (å±æé¢æ°N å¼æ°ãªã¹ãN å±æé¢æ°å®ç¾©N ...)) å®è¡å¼) ;; letã«å¯¾ããlet*ã¿ãããªä½ç½®ä»ãã®é¢æ°. ;; labelsã¯, fletã¨ã»ã¼åãã ã, åæã«å®ç¾©ããå±æé¢æ°ãç¸äºã«å¼ã³ã ããã¨ãã§ãã. (labels ((å±æé¢æ°1 å¼æ°ãªã¹ã1 å±æé¢æ°å®ç¾©1 ...) (å±æé¢æ°2 å¼æ°ãªã¹ã2 å±æé¢æ°å®ç¾©2 ...) ... (å±æé¢æ°N å¼æ°ãªã¹ãN å±æé¢æ°å®ç¾©N ...)) å®è¡å¼) å¤å¤. ;; floorã¯å°æ°ç¹ä»¥ä¸åæ¨ã¦ã¦ãããé¢æ°. ;; ãã®é¢æ°ã§ã¯ä½ããé常, çºçãã¦ãã. > (floor 11/3)
rspec ã§æéãæä½ãããã£ãã®ã§ delorean ã使ããã¨ãããã©ãtimecop ã®ã»ããæ©è½ãå¤ãããGitHub ã® Star ã 400 対 1500 ã ããdelorean å ¨ç¶ã¢ã¯ãã£ããããªãããã£ã¦ãã¨ã§ timecop 試ãã¦ã¿ã¾ããã ï¼æ¸ãã¦ããå 容㯠readme ã¨ã»ã¼ä¸ç·ã§ããï¼ ææ³ timecop ããããããªãã§ãããããdelorean ããããªã«ä½¿ã£ããã¨ãããããããªãã®ã§ããã¾ãæ¯è¼ã§ããªãã§ããããã㦠delorean ã£ã¦ååã®ã»ããããã¦ããã©ã freezeãscale 㯠delorean ã«ã¯ãªãæ©è½ã£ã½ããscale ãªããã¯å®éã«æéãé²è¡ãããããã§ãã¹ããããã¨ãã«ä¾¿å©ã æ©è½ travel æå®ããæéã«ç§»åããã移åãããã¨ãæéãé²ãã Time.now => 2014-12-01 10:46:12 +0900
ãã¾ã¾ã§ãã¼ãPCã§éçºããã¦ããæã¯ç»é¢ãå°ããã£ãã®ã§ãã¾ããããã¡ã¯åå²ãã¦ãã¾ããã§ãããæè¿åºãã¢ãã¿ã«ãã¦ãããã¡ãåå²ãããã¨ãå¤ããªããåå²ãããã¡ã®å¹ ãå¤ããã®ã«C-x {ãC-x }ã§ãã£ã¦ããçµæ§é¢åã§ããã ãããã§èª¿ã¹ã¦ããã®ããã£ãã®ã§ãã®è¨å®ãã¡ã¢ãã¦ããã¾ãã è¨å®ãã¡ã¤ã«ã«ä¸è¨ã追å ãã¾ãã (defun window-resizer () "Control window size and position." (interactive) (let ((window-obj (selected-window)) (current-width (window-width)) (current-height (window-height)) (dx (if (= (nth 0 (window-edges)) 0) 1 -1)) (dy (if (= (nth
$ # æ¬ä½ã¤ã³ã¹ãã¼ã« $ cargo install racer $ # racerã®ããã«Rustã®ã½ã¼ã¹ã³ã¼ãã追å $ rustup component add rust-src $ # ãã¹ã®ç¢ºèª $ echo ~/.multirust/toolchains/*/lib/rustlib/src/rust/src /Users/owner/.multirust/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src $ # ãã¹ã追å $ echo "export RUST_SRC_PATH='$(echo ~/.multirust/toolchains/*/lib/rustlib/src/rust/src)'" >> ~/.profile $ # ã¤ã³ã¹ãã¼ã«ãã§ã㯠$ bash -l $ racer co
対象èªè Emacsã§ClojureScriptéçºãã¦ãã人ãSpacemacsãæ°ã«ãªã£ã¦ãã人ãEmacsã®è¨å®ãé¢åã ã¨æã£ã¦ãã人ã åæ© Emacsã®æ¡å¼µããã±ã¼ã¸ç®¡çã¯åºæ¬çã«é¢åã§ãã ã¾ãã©ããªä¾¿å©ããã±ã¼ã¸ãä¸ã®ä¸ã«ãããç¥ããªãã¨å ¥ãããããªãä¸ãå ¥ããã¨ãã¦ã .emacs.d/init.el ã«ããã±ã¼ã¸ã®è¨å®ãæ¸ããªãã¨å²ãã¨ä½¿ãããã®ãããªãã¨ããã®ãããã©ã«ãã§ãã ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ã Cask ã package.el ãªã©ããã¾ãããããã使ã£ã¦ããã®ã¯ãã£ã±ãé¢åã§ãã Spacemacsã®ç¹å¾´ ã§ãæ¬é¡ã®Spacemacsã§ãããã©ããªãã®ãã¨ããã¨ã ãããããEmacs以å¤ã®Emacsenã§ã¯ãªã (ï¼Meadowãªã©ã®ã«ã¹ã¿ãã¤ãºæ¸ã¿Emacsã§ã¯ãªã) ã¤ã¾ããç´ ã®Emacsã¨çµã¿åããã¦ä½¿ããã®ã¨ãããã¨ã§ãã ã¨ã¯ãããmacOSã
å ¬å¼ãµã¤ã A Tour of Go Webä¸ã§å®è¡ããªããå¦ã¶ãã¨ãã§ããå ¬å¼ã®ãã¥ã¼ããªã¢ã«ã§ãã ãã¥ã¼ããªã¢ã« å ¬å¼ã®ãã¥ã¼ããªã¢ã«ã§ããåå¦è åãããã¸ã§ããªã¯ã¹ã®ãã¥ã¼ããªã¢ã«ãªã©ãç¨æããã¦ãã¾ãã A Tour of Goãçµãã£ãå¾ã«åãçµãã¨è¯ãã§ãããã Go Wiki Go Code Review Commentsãªã©ãæ²è¼ããã¦ããGitHubä¸ã®Wikiã§ãã ããã±ã¼ã¸ããã¥ã¡ã³ã æ¨æºããã±ã¼ã¸ããµã¼ããã¼ãã£è£½ã®ããã±ã¼ã¸ã®ããã¥ã¡ã³ããè¦ãããµã¤ãã§ããæ¤ç´¢ãã§ãã¾ãã å ¥é ããã°ã©ãã³ã°è¨èªGoå®å ¨å ¥é çè ãä½ã£ã¦ãã巨大ãªGoã®å ¥éè³æã§ãããªãGoãä½ãããã®ããããææ°ã®ã¸ã§ããªã¯ã¹ã®æ å ±ãéç解æã¾ã§æ±ã£ã¦ãã¾ãã Gopheréå ´ Goãä½ç³»çã«å¦ã¹ãå ´ã§ãã10æéãããããåç»ææï¼èªç¿å®¤ããå ¥æå¯ï¼ãããã¾ãã Go ã®æåã®æé
å æ¥ãGoè¨èªãã¼ã¸ã§ã³1.1ããªãªã¼ã¹ããã¾ãããå®å®ãã¦ããã®ã¯å¿è«ãå¹¾ã¤ãæ°æ©è½ã追å ããã¾ããããä½ãããããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ãæ½ãããä¸çªå¬ããã§ããã Go 1.1 performance improvements | Dave Cheney This is the first in a series of articles analysing the performance improvements in the Go 1.1 relea... http://dave.cheney.net/2013/05/21/go-11-performance-improvements ãã¦ä»æ¥ã¯Vimã使ã£ã¦Goè¨èªãéçºããæ¹æ³ãç´¹ä»ãããã¨æãã¾ãã Vimã§Goè¨èªãéçºããã«ã¯ãGoè¨èªã®ãªãã¸ããªã«å«ã¾ãã misc/vim ã«ã©ã³ã¿ã¤ã ãã¹ã追å ãã¾ãã以ä¸ã vimr
ã¯ããã« ããã«ã¡ã¯ãGoçã®æ©çªåã§ãã以åmattnãããVimã使ã£ãGoã®éçºç°å¢ã¨ããã¨ã³ããªãæ¸ããã¦ãããã§ãããèªåç¨ã«ãEmacsçããã¨æã£ãã®ã§ãã¾ã¨ãã¦ããã¾ãã åºç¤ããããã Goè¨èª ä½è : å¤å·æåºç社/ã¡ã¼ã«ã¼: ã·ã¼ã¢ã³ãã¢ã¼ã«ç 究æçºå£²æ¥: 2012/11/21ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã¯ãªãã¯: 7åãã®ååãå«ãããã° (2件) ãè¦ã åè Big Sky :: Vimã使ã£ãGoè¨èªéçºææ³ / - go - The Go Programming Language - Google Project Hosting Emacsã®ãªãã·ã§ã³ãå ¥ãã¨ãã¾ããã Adentures in Go: Using ctags with Go etags/ctagsã使ãããå ´åã«ã¯ãã¾ã Goã«å¯¾å¿ãã¦ãªãã®ã§.ctagsãã¡ã¤ã«ã§å¯¾å¿ Emacsã§
Timecopã¨ããGemã使ããã¨ã§ã好ããªæå»ã«ç§»å(Timecop.travel)ãããããæå»ãæ¢ããã(Timecop.freeze)ã¨ãã£ããã¨ãã§ããæ¥ä»/æéã«é¢ãããã¹ããããã¨ãã«å¿ é ã¨ãã£ã¦ããã»ã©ä¾¿å©ãªGemã§ãã å ·ä½çãªãæ¥ä»/æéãé¢ä¿ãããã¹ãä¾ãã¨ãã¦ããããæ³ã®ãã¹ããç¨çå¤æ´ã®ãã¹ããæå¹æéã®ãã¹ããªã©ãããã¾ãã åä½ç¢ºèª Rails 4.1.7 Timecop 0.7.1 ç®æ¬¡ Timecopã®ã¤ã³ã¹ãã¼ã«æ¹æ³ æéã®ç§»åæ¹æ³(travel) æéã®åæ¢æ¹æ³(freeze) æéã®é²ã¿ãå éããã(scale) Timecopã®ã¤ã³ã¹ãã¼ã«æ¹æ³ Gemfileã«timecopã追å ãã¾ãã # Gemfile group :test do gem 'timecop' end Bundlerãå®è¡ãã¾ãã bundle install æéã®ç§»åæ¹
Spacemacsã使ã£ã¦ããã¨ããã¿ã¤ã ã¹ã¿ã³ããæ¿å ¥ããããªããããã£ã¨user-initã«é¢æ°ãå®ç¾©ããã¨è¯ãããã§ãã ã¿ã¤ã ã¹ã¿ã³ããæ¿å ¥ããé¢æ°ã¨ããã°ãorg-time-stampãæãããã¾ããã表示形å¼ã<2017-02-13 Mon>ã¨ãªãã¾ããæå»ã¾ã§å ¥ãããã¨ãã¯ãæåã§å ¥åãå¿ è¦ã§é¢åã§ãããã£ã¨ä¾¿å©ãªé¢æ°ãEmacsã§ã¯ç¨æããã¦ããã¨æã£ãã®ã§ãããSpacemacsã§ã¯åããæ¹ããããã¾ããã§ããã Spacemacsã«æ°ããé¢æ°ãå®ç¾©ãã $HOME/.spacemacsã®dotspacemacs/user-initã«ä»¥ä¸ã®é¢æ°å®ç¾©ã追å ãã¾ãã (defun my/insert-time-stamp () "Insert TimeStamp" (interactive) (insert (current-time-string))) M-x my/ins
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}