This file contains 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
nnoremap <up> <nop> | |
nnoremap <down> <nop> | |
nnoremap <left> <nop> | |
nnoremap <right> <nop> | |
inoremap <up> <nop> | |
inoremap <down> <nop> | |
inoremap <left> <nop> | |
inoremap <right> <nop> |
This file contains 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
A *.php | |
A "D bar" | |
A "foo\"bar" |
This file contains 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
1. Bookmark this page ( Control - D in Chrome ). | |
2. Click Edit when it comes up. | |
3. Paste in the JS contents into the URL bar. | |
4. Enjoy. |
This file contains 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
route_name: | |
url: /foo/bar/:parameter | |
_requirements: | |
parameter: validation-regex | |
another_param: another regex |
This file contains 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
# GitHub Clone URL: | |
# git clone gh:nationalfield/app.git | |
Host gh | |
Hostname github.com | |
User git | |
ForwardAgent no |
This file contains 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
SELECT | |
role.name, | |
role.id, | |
role.rank, | |
IF(role.id = 6, 0, 1) AS bottom | |
-- short-circuits sorting to put a specific record on top of the resultset | |
FROM | |
field_role AS role | |
WHERE | |
role.rank >= 8 |
This file contains 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
$ story | |
As a writer of user stories | |
I want to have "As a" filled in for me | |
So that I can avoid all that typing. | |
More? (Y/n)y | |
As a writer of user stories | |
I want to have "I want to" filled in for me | |
So that I can avoid all that typing. |
This file contains 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
[filter "whitespace"] | |
smudge = rtrim |
This file contains 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
# | |
# /abc/def/.htaccess -- per-dir config file for directory /abc/def | |
# Remember: /abc/def is the physical path of /xyz, i.e., the server | |
# has a 'Alias /xyz /abc/def' directive e.g. | |
# | |
RewriteEngine On | |
# let the server know that we were reached via /xyz and not | |
# via the physical path prefix /abc/def |
This file contains 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
input[type=submit],.input | |
{ | |
background-image: url(https: //d2jn41w0phxv03.cloudfront.net/images/round-btn.png); | |
border: 0; | |
color: #777; | |
font-family: "Helvetica Neue",Helvetica,Arial,sansserif; | |
font-size: 12px; | |
font-weight: 700; | |
height: 32px; | |
padding: 2px 5px; |