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
" Smarter defaults | |
set nocompatible " Uses vim vs vi settings must be set first | |
syntax on " Turn on syntax highlighting for recognized filetypes | |
set history=1000 " Default is 20, I'd rather set this to ∞ | |
set nofoldenable " Don't fold shit | |
set wildmenu " List outoptions for autocompleting commmands | |
set number " Adds line numbers | |
set visualbell " Never hear beep again === happy |
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
set nocompatible | |
set title | |
set number | |
set history=1000 " Default is 20, I'd rather set this to ∞ | |
set nofoldenable " Don't fold shit | |
set laststatus=2 | |
set encoding=utf-8 | |
execute pathogen#infect() | |
syntax on |
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
# Test to see if url is serving up gzipped content | |
curl --head --compressed URL | |
-------- HTACCESS STUFF ------ | |
# BEGIN GZIP | |
<ifmodule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript | |
</ifmodule> | |
# END GZIP |
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
csslint --ignore=box-model,universal-selector,underscore-property-hack,star-property-hack |
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
set nocompatible | |
set title | |
set number " Show line numbers | |
set history=1000 " Default is 20, I'd rather set this to ∞ | |
set nofoldenable " Don't fold shit | |
set laststatus=2 " Always show file status line | |
set encoding=utf-8 | |
setlocal tabstop=4 | |
setlocal shiftwidth=4 |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
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
document.getElementsByTagName("*").length |
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
for file in *; do csslint $file > lint_$file; |
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
I$^[/\ ^Mi: #^[lx/\ ^Mxnxnr;lD^[j0 | |
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
// Single color variable named after content | |
$red: #ff0000; | |
// Multiple variables mapped to this variable. | |
$font-color: $red; | |
$secondary-bg: $red; |