Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #---------------------------------------------------------------------------- | |
| # Ignore these files when commiting to a git repository | |
| # | |
| # The original version of this file is found here: | |
| # https://github.com/fortuity/rails3-gitignore/raw/master/gitignore.txt | |
| # | |
| # Corrections? Improvements? Create a GitHub issue: | |
| # https://github.com/fortuity/rails3-gitignore/issues | |
| #---------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ = jQuery | |
| queues = {} | |
| running = false | |
| queue = (name) -> | |
| name = 'default' if name is true | |
| queues[name] or= [] | |
| next = (name) -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // node.js proxy server example for adding CORS headers to any existing http services. | |
| // yes, i know this is super basic, that's why it's here. use this to help understand how http-proxy works with express if you need future routing capabilities | |
| var httpProxy = require('http-proxy'), | |
| express = require('express'); | |
| var proxy = new httpProxy.RoutingProxy(); | |
| var proxyOptions = { | |
| host: 'devpc.baedali.co.kr', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Centos 설치 후 | |
| # -------------- | |
| # 한글 설정 | |
| # /etc/sysconfig/i18n 파일에서 다음을 설정 한다. | |
| LANG="ko_KR.UTF-8" | |
| # 인터넷 접속여부 확인 | |
| ping -c3 google.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| // Settings | |
| "passfail" : false, // Stop on first error. | |
| "maxerr" : 100, // Maximum errors before stopping. | |
| // Predefined globals whom JSHint will ignore. | |
| "browser" : true, // Standard browser globals e.g. `window`, `document`. | |
| "node" : true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Kudos to Grumdrig | |
| // http://stackoverflow.com/questions/1207008/how-do-i-lock-the-orientation-to-portrait-mode-in-a-iphone-web-application | |
| $(document).ready(function () { | |
| function reorient(e) { | |
| var portrait = (window.orientation % 180 == 0); | |
| $("body > div").css("-webkit-transform", !portrait ? "rotate(-90deg)" : ""); | |
| } | |
| window.onorientationchange = reorient; | |
| window.setTimeout(reorient, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "asi" : false, // Require semicolons | |
| "boss" : false, // Don't allow variable assignments in conditionals | |
| "browser" : true, // Standard browser globals should be predefined | |
| "curly" : true, // Require curly braces for blocks (if, else, etc) | |
| "eqeqeq" : true, // === should be required | |
| "eqnull" : true, // == null comparisons should be tolerated | |
| "evil" : true, // Use of eval is ok | |
| "indent" : 4, // 4 spaces, soft-tabs | |
| "latedef" : true, // Prohibit use of var before definition |
I'm in a hospital in Spain and my MacBook was stolen.
Now I bought a new one and need to configure it. I have an external hard drive that backup everything using Time Machine, but I don't want all the crap I had in the old one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # encoding: UTF-8 | |
| # Original article: http://dailyupgrade.me/post/6806676778/rubyonrails-full-messages-for-korean | |
| # Modified to support more postpositions and client_side_validations gem. | |
| # | |
| # Add Korean translations like this: | |
| # ko: | |
| # errors: | |
| # format: "%{message}" | |
| # messages: | |
| # blank: "%{attribute}((이)) 입력되지 않았습니다" |
OlderNewer
