id:joker1007 ããã«è§¦çºããã¾ããã Ginza.rb 21åã®çºè¡¨è³æãrails_adminã®ã¤ãã¿ã¨ãªã¹ã¹ã¡geméã 1å¹´éã§10å以ä¸ã¢ããªãgemãä½ã£ã¦ããä¸ã§ãã使ãgemãã¾ã¨ãã¦ã¿ã¾ã Railsã¢ããªï¼rails new ããç´å¾ã«å¿ ãå ¥ããï¼ annotate https://github.com/ctran/annotate_models modelã®ã½ã¼ã¹ã®å é ã«ãã¼ãã«ã®ã¹ãã¼ãæ å ±ãä»å ãã¦ãããgemããã¡ãã¡schema.rbãè¦ã«è¡ãå¿ è¦ããªããªãã®ã§è¶ ãã³ãª ãããªæã # == Schema Information # # Table name: plugins # # id :integer not null, primary key # name :string # title :string # version :string #
ã©ãã大ç§ã§ãã ãã¼ã¿ãã¼ã¹ãã¯ã©ã¦ãã¹ãã¬ã¼ã¸ã«ã¢ã¯ã»ã¹ããããã«ãDockerã³ã³ããã§ãã¹ã¯ã¼ããAPIãã¼ã¯ã³ãã¼ãªã©ã®ããããã¯ã¬ãã³ã·ã£ã«(è³æ ¼)æ å ±ãæ±ããã¨ãããã¾ãããããã®æ å ±ã®æ±ãæ¹ã«ã¤ãã¦ããã¤ããã¿ã¼ã³ãæããèå¯ãã¦ã¿ããã¨æãã¾ãã TL;DR(è¦ç¹) Dockerã¤ã¡ã¼ã¸ãDockerfileã«åãè¾¼ãã®ã¯ã¢ã³ããã¿ã¼ã³ ã³ã³ããå®è¡æã«ç°å¢å¤æ°ã§æ¸¡ãã®ãã¡ã¸ã£ã¼ããããã¯ã¬ãã³ã·ã£ã«ç®¡çãä¸è¦ã«ãªãããã§ã¯ãªã ã³ã³ããå®è¡æã«å¤é¨ããåçåå¾ããã®ããããããã¯ã©ã¦ãã®ã¡ã¿ãã¼ã¿ãµã¼ãã¼ã®å©ç¨ããæ軽 ã¯ã¬ãã³ã·ã£ã«æ å ±ã¨ã¯ ã¯ã¬ãã³ã·ã£ã«ã¯ãã³ã³ããããå¤é¨ã®ãã¼ã¿ã½ã¼ã¹ã«ã¢ã¯ã»ã¹ããããã®è³æ ¼æ å ±ãæãã¾ããå ¸åçãªã¯ã¬ãã³ã·ã£ã«ã¨ãã¦ä»¥ä¸ãããã¾ãã DBã¦ã¼ã¶ã¼åã¨DBãã¹ã¯ã¼ã : dbuser/dbpass Webãµã¼ãã¹ã«ã¢ã¯ã»ã¹ããAP
{ "greatDocumentaries": [ "earthlings.com", "forksoverknives.com", "cowspiracy.com" ], "importantFacts": { "emissions": "Livestock and their byproducts account for at least 32,000 million tons of carbon dioxide (CO2) per year, or 51% of all worldwide greenhouse gas emissions.\nGoodland, R Anhang, J. âLivestock and Climate Change: What if the key actors in climate change were pigs, chickens and cow
HCL is a toolkit for creating structured configuration languages that are both human- and machine-friendly, for use with command-line tools. Although intended to be generally useful, it is primarily targeted towards devops tools, servers, etc. NOTE: This is major version 2 of HCL, whose Go API is incompatible with major version 1. Both versions are available for selection in Go Modules projects. H
Ruby ã®ãããªå®è¡æã«ä½ã§ãã§ããè¨èªã ã¨ãã¦ã¼ã¶ãæ¸ãã Ruby ã®ã³ã¼ããå®è¡ãããããã©ã°ã¤ã³ã® gem ãã¤ã³ã¹ãã¼ã«ããã ãã§ä½¿ããããã«ãªã£ããããä»çµã¿ãæä¾ã§ããã ä¾ãã° spring 㯠~/.spring.rb ã config/spring.rb ãèªåçã«èªã¿è¾¼ã¿ãã¾ã spring-commands- ã§å§ã¾ã gem ãèªåçã« require ãããã©ã°ã¤ã³å´ã¯ Spring.register_command ã§ç¬èªã®ã³ãã³ããå®ç¾©ã§ããããã«ãªã£ã¦ããã https://github.com/rails/spring/blob/v1.1.2/lib/spring/commands.rb https://github.com/jonleighton/spring-commands-rspec/blob/v1.0.1/lib/spring/command
I accidentally stumbled upon something yesterday that I felt like sharing, which fell squarely into the "why the hell didnât I know about this before?" category. In this post, Iâll describe how to manage the various configuration files in your GNU/Linux home directory (aka "dotfiles" like .bashrc) using GNU Stow. The difficulty is that it would be helpful to manage oneâs configuration files with a
What is EditorConfig? EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they
æ¨ä»ãããã¸ã§ã¯ããã¨ã«è¨èªã®ãã¼ã¸ã§ã³ããå種è¨å®ãã©ã¤ãã©ãªã使ãåãããã¨ãå½ããåã¨ãªã£ã¦ãã¦ããã ä¸è¨ã®ãããªä½¿ãåãã¯ãVisual Studio/Eclipse/Xcodeãªã©ãIDEã«ã²ãã¥ããããã¸ã§ã¯ããã¡ã¤ã«ãããç°å¢ã§ã¯å½ããåã ã£ãæ¦å¿µã§ã¯ãããããã¸ã§ã¯ããã£ã¬ã¯ããªãããã«.xxxconfigçãªãã¡ã¤ã«ãç½®ãã¨ããææ³ãããã¡ã¯ãã¹ã¿ã³ãã¼ãã¨ãªã£ããã¨ã«ãã£ã¦ãã³ãã³ãã©ã¤ãã¼(ã©ã¤ãã©ã¤ãã¼ç)ãã¡ã®éã§ããããã£ãæåãåºããã¤ã¤ããã¨æãã¦ããã ããã°ã©ãã³ã°è¨èªã«ã¤ãã¦ãRubyã®rvm/rbenvã®ããã«ãè¤æ°ã®ãã¼ã¸ã§ã³ã®å®è¡ç³»ãæ°è»½ã«åãæ¿ããããããã«ãªã£ã¦ãã¦ãããã¾ããRubyã®rvmã§ã¯.rvmrcãrbenvã§ã¯.rbenv-versionã¨ãããã¡ã¤ã«åã§è¨å®ãè¨è¿°ãã¦ãããã®ãã両è ã¨ã.ruby-versionã¨ãããã¡ã¤
TOMLã¨ã¯ https://github.com/mojombo/toml Tom's Obvious, Minimal Language (TOML) ã¨ã¯githubã®ä¸ã®äººãææ¡ãã¦ããè¨å®ãã¡ã¤ã«ã®ããã®ããè¨èªã§ã以ä¸ã®ãããªç¹å¾´ãããã¾ãã 人éãèªã¿æ¸ããããã æ¨æºçãªãã¼ã¿åãå©ç¨ã§ãã ææ§ããçºçããä½å°ã極åæé¤ããã¦ãã ãã¼ãµãããã®ãç°¡å ãªãTOML? ä¾ãã°ãYAMLãè¨å®ãã¡ã¤ã«ã«ä½¿ã£ã¦ããã·ã¹ãã ã¯å¤ãã§ãããYAMLã®ä»æ§æ¸ã¯80ãã¼ã¸ãããæ£ãã使ãã®ã¯æå¤ã¨å¤§å¤ã§ãã1 ã¾ãJSONã¯ã«ãã³ãããã«ã¯ãªã¼ãã®å²åãå¤ããã¾ãããã³ã¡ã³ãã使ãã¾ããã2 TOMLãã¤ããã°ãã®ãããªã¹ãã¬ã¹ã¯ããã¾ããã TOMLã®ä½¿ãæ¹ TOMLã®æ¸ãæ¹ã¯æ¬å®¶ã®ããã¥ã¡ã³ã ãã¿ã¦ãããã°ãããããã¨æãã¾ãã TOMLã®ã©ã¤ãã©ãªã¯å種è¨èªã«å¯¾å¿ãããã®ãæ¢
ç°å¢ãæ°ãããªã£ãã®ã§ããããæ©ã«è¨å®ãã¡ã¤ã«é¡ã®ç®¡çãè¦ç´ãã¦ã¿ã¾ããã 調ã¹ã¦ã¿ãã¨å¤§æµã¯ä»¥ä¸ã®ããã«ç®¡çããã¦ãããããªã®ã§ãåããã¦ãã£ã¦ã¿ã¾ãã dotfilesãgithubã§ç®¡çããï¼ä»åã¯.zshrcã¨.vimrcã§ãï¼ vimãã©ã°ã¤ã³ãvundleã§ç®¡çãã dotfilesãgithubã§ç®¡çãã æ¯åè¨å®ãã¡ã¤ã«çãã³ãã¼ãããããã®ãç ©ãããã®ã§ãgithubã§ç®¡çããããã«ãã¾ãã æé ã¯ä»¥ä¸ã®éãã§ãã # dotfilesãã£ã¬ã¯ããªãä½æ mkdir ~/dotfiles cd ~/dotfiles # dotfilesãgit管çãã git init # ã.ããã¡ã¤ã«ãdotfilesã«ç§»å mv ~/.zshrc ~/dotfiles/ mv ~/.vimrc ~/dotfiles/ mv ~/.vim ~/dotfiles/ ããã¾ã§ã§ãdotf
implemented in plain Java with no dependencies supports files in three formats: Java properties, JSON, and a human-friendly JSON superset merges multiple files across all formats can load from files, URLs, or classpath good support for "nesting" (treat any subtree of the config the same as the whole config) users can override the config with Java system properties, java -Dmyapp.foo.bar=10 supports
37signalsã®Basecampã§ã¯ãRailsã§ç¨æããã¦ããããã©ã«ãã®3ã¤ã®ç°å¢ã®ã»ãã«ãBetaãStagingãRolloutã®3ã¤ãå®ç¾©ãã¦ä½¿ã£ã¦ããã Beyond the default Rails environments by David of 37signals Rolloutç°å¢ã¯ãæ°æ©è½ãã¾ãã¦ã¼ã¶ã¼ã®10%ã«ã ãå ¬éããããã«ä½¿ããããã®ã§ãFlickrãetsyãªã©å¤ãã®ãµã¤ãã§ã¯Feature flippersã¨ãã°ããæ©æ§ã§å®ç¾ãã¦ããï¼æ©è½æ¯ã®ãã©ã°ãåç §ãããã¨ã§ãæ°æ©è½ãã¦ã¼ã¶ã¼ã«æä¾ãããã©ããåãæ¿ãããããªãã®ï¼ãã³ã¡ã³ãæ¬ã§ããä½æ ãFeature flippersã§ã¯ãªãç°å¢ã§æ©è½ã®ãã¼ã«ã¢ã¦ããè¡ãã®ããå°ãããã¦ãã¦ãDHHã¯ä»¥ä¸ã®ããã«åçãã¦ãã¾ããã I always want to leave the campsite in
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}