- https://github.com/tpope/tpope
- https://github.com/holman/dotfiles/
- https://github.com/mislav/vimfiles
- https://github.com/sjl/dotfiles
- https://github.com/gf3/dotfiles
- https://github.com/skwp/dotfiles
- https://github.com/scrooloose/vimfiles
- https://github.com/derekwyatt/vim-config
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
var gulp = require('gulp'); | |
var rsync = require('gulp-rsync'); | |
gulp.task('deploy', function(){ | |
// Dirs and Files to sync | |
rsyncPaths = ['rsynctest01' ]; | |
// Default options for rsync | |
rsyncConf = { | |
verbose: 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
{ | |
"devDependencies": { | |
"gulp": "^3.9.0", | |
"gulp-autoprefixer": "^2.3.1", | |
"gulp-concat": "^2.5.2", | |
"gulp-notify": "^2.2.0", | |
"gulp-sass": "^2.0.1", | |
"gulp-uglify": "^1.2.0", | |
"gulp-changed": "^1.2.1" | |
} |
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
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var libsass = require('gulp-sass'); | |
var autoprefix = require('gulp-autoprefixer'); | |
var uglify = require('gulp-uglify'); | |
var notify = require('gulp-notify'); | |
var changed = require('gulp-changed'); | |
// Asset Handling - SCSS and JS | |
// --------------------------------------------------------------------------- |
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
# Drop these functions into your ~/.bashrc or ~/.bash_profile, wherever you keep your bashy goodness. | |
# Usage: cd to directory you want to serve up, fire one of these commands, navigate to http://0.0.0.0:{port number here} | |
# Start an HTTP server from a directory, optionally specifying the port | |
function serverpy() { | |
local port="${1:-8000}" | |
open "http://localhost:${port}/" | |
# Set the default Content-Type to `text/plain` instead of `application/octet-stream` | |
# And serve everything as UTF-8 (although not technically correct, this doesn’t break anything for binary files) | |
python -c $'import SimpleHTTPServer;\nmap = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;\nmap[""] = "text/plain";\nfor key, value in map.items():\n\tmap[key] = value + ";charset=UTF-8";\nSimpleHTTPServer.test();' "$port" |
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
<section class="post-nav container clearfix"> | |
{% if page.previous.url %} | |
<a class="prev" href="{{page.previous.url}}">← {{page.previous.title}}</a> | |
{% endif %} | |
{% if page.next.url %} | |
<a class="next" href="{{page.next.url}}">{{page.next.title}} →</a> | |
{% endif %} | |
</section> |
Date: [insert date]
I will do my best to fulfill your needs and meet your goals, but sometimes it’s best to have everything stated up front.
You ( [Client] ) are hiring me (Nathan Long) located at [address] to [description of work], (the project) for the estimated total price of [price] as we agreed upon in our previous correspondence. Before I begin working I require a [50%] retainer fee, which amounts to [retaineramount].
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
"----------------------------------------------------------------------------- | |
" GENERAL SETTINGS | |
"----------------------------------------------------------------------------- | |
set encoding=utf-8 "UTF8 All day, every day | |
set nocompatible "Use vim settins, not vi settings. Affects a lot. | |
call pathogen#infect() "Initialize Pathogen | |
call pathogen#helptags() "Update the help file tags for plugins | |
filetype on "Enable filetypes | |
filetype plugin on "Enable filetype plugins |
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
BEFORE | |
--- | |
grunt.loadNpmTasks('grunt-contrib-imagemin'); | |
grunt.registerTask('images', ['copy:standardImages', 'responsive_images', 'imagemin']); | |
AFTER | |
--- | |
grunt.registerTask('images', [], function () { |