Skip to content

Instantly share code, notes, and snippets.

View natedsaint's full-sized avatar
📚
Learning every second (often through failure)

Nathan St. Pierre natedsaint

📚
Learning every second (often through failure)
View GitHub Profile
@natedsaint
natedsaint / herald.vim
Created September 13, 2012 13:31
NateDSaint's modded Herald .vim theme
" Vim color file
" Name: herald.vim
" Author: Fabio Cevasco <[email protected]>
" Modified: More readable 256-color xterm version by Nathan St. Pierre <[email protected]>
" Version: 0.2.0
" Notes: Supports 8, 16, 256 and 16,777,216 (RGB) color modes
hi clear
if exists("syntax_on")
@natedsaint
natedsaint / .vimrc
Created October 2, 2012 17:43
NateDSaint's .vimrc (work version)
" set title
set title
" set cgi to read as perl
au BufNewFile,BufRead *.cgi setf perl
set mouse=a
nmap <C-W>e :new \| vimshell bash<CR>
nmap <C-W>E :vnew \| vimshell bash<CR>
" enable syntax highlighting
syntax on
@natedsaint
natedsaint / index.html
Created February 17, 2013 00:57
A CodePen by Nathan St. Pierre. Dribbble Request - Everyone's probably already done this, but it's my first attempt to do a lot with some of these CSS properties, so shoot me an invite if you like it!
<header>
<h1>Anyone have an invite?</h1>
Nathan St. Pierre (<a href="http://dribbble.com/NateDSaint">natedsaint</a>)
</header>
<section>
<article>
<p class="line one">
</p>
<p class="line two">
</p>
@natedsaint
natedsaint / 3d395ab9.main.css
Created June 2, 2015 15:29
Unminified CSS from fallout 4 preview site
@import url("//hello.myfonts.net/count/2dc302");
@import url("//hello.myfonts.net/count/2dc302");
@import url("//hello.myfonts.net/count/2dc302");
@import url("//hello.myfonts.net/count/2dc302");
@font-face{font-family:'schoolbook-web', serif;
font-weight:normal;
font-style:normal
}
@font-face{font-family:'FilmotypeGlenlake';src:url("/assets/fonts/filmotype-glenlake.otf");font-weight:normal;font-style:normal}@font-face{font-family:'SouthernAire';src:url("/assets/fonts/2DC302_1_0.eot");src:url("/assets/fonts/2DC302_1_0.eot?#iefix") format("embedded-opentype"),
url("/assets/fonts/2DC302_1_0.woff2") format("woff2"),
@natedsaint
natedsaint / 57601643.institute.js
Last active August 29, 2015 14:22
Unminifed javascript from fallout4 preview page
require = function a(b, c, d) {
function e(g, h) {
if (!c[g]) {
if (!b[g]) {
var i = "function" == typeof require && require;
if (!h && i) return i(g, !0);
if (f) return f(g, !0);
var j = new Error("Cannot find module '" + g + "'");
throw j.code = "MODULE_NOT_FOUND", j
}
@natedsaint
natedsaint / gb.bsh
Last active October 22, 2015 21:05
grunt/gulp build
# determines if your repo is grunt or gulp and builds accordingly
# (using default target unless you provide one) then
# returns to the previous working path.
gb () {
cd "$(git rev-parse --show-toplevel)";
if [[ -n `find ./ -maxdepth 1 -iname gulpfile.js` ]];
then gulp build;
elif [[ -n `find ./ -maxdepth 1 -iname gruntfile.js` ]];
then grunt build;
fi