Skip to content

Instantly share code, notes, and snippets.

Avatar

Erik Ebsen ebsen

View GitHub Profile
@ebsen
ebsen / Sculpin exception trace
Last active Oct 8, 2015
Sculpin exception trace
View Sculpin exception trace
❯ sculpin generate --server --watch --verbose
Detected new or updated files
Generating: 100% (62 sources / 0.01 seconds)
Converting: 100% (76 sources / 0.25 seconds)
Formatting: 100% (76 sources / 0.08 seconds)
[Symfony\Component\Filesystem\Exception\IOException]
Failed to create /Users/erik/Sites/ebsen.me/output_dev/building-without-css
@ebsen
ebsen / songs.jade
Created Feb 8, 2015
Template to output a series of song lyrics from JSON
View songs.jade
h1 Christian Songs for Little Children
h2 Songs
ul.navigation
each song in songs
li #{song.title}
each song in songs
h3 #{song.title}
if chorusFirst
@ebsen
ebsen / gruntfile
Created Dec 27, 2013
This is the grunt file referred to in [Issue #265 in gruntjs/grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch/issues/265).
View gruntfile
module.exports = function(grunt) {
'use strict';
require("matchdep").filterDev("grunt-*").forEach(grunt.loadNpmTasks);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
@ebsen
ebsen / .bash_profile
Created Oct 23, 2012
bash command prompt
View .bash_profile
export PS1='\e[0:36m\w$\e[m '
View taskrc.txt
# [Created by task 2.1.1 9/4/2012 08:14:52]
# Taskwarrior program configuration file.
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-faq',
# 'man task-tutorial', 'man task-color', 'man task-sync' or 'man taskrc'
# Here is an example of entries that use the default, override and blank values
# variable=foo -- By specifying a value, this overrides the default
# variable= -- By specifying no value, this means no default
# #variable=foo -- By commenting out the line, or deleting it, this uses the default
View vimrc.after.vim
"******************************"
" .VIMRC.AFTER "
"******************************"
"if has('gui_running') " Duh.
" set background=light
"else
" set background=dark
@ebsen
ebsen / moveToApplications.txt
Created Oct 2, 2012
Move to Applications (Automator Service)
View moveToApplications.txt
# Service receives selected 'files or folders' in 'Finder'
Get value of variable
:Path
Copy finder items
:Applications
Copy finder items
:Path
@ebsen
ebsen / apple-objects
Created Sep 5, 2012
When Apple calls Objective-C "object-oriented," they really mean it.
View apple-objects
"To retrieve data using a managed object context, you create a fetch request. A fetch request is an object that specifies what data you want, for example..."
- https://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CoreData/Articles/cdBasics.html#//apple_ref/doc/uid/TP40001650
@ebsen
ebsen / john3,16.txt
Created Mar 29, 2012
Various files for debugging base color of Solarized (light)
View john3,16.txt
# John 3:16
For God so loved the world, that he gave his only Son, that whoever believes in him should not perish but have eternal life.