View machine.js
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View machine.js
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View .bashrc
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth |
View .bash_aliases
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
# My aliases | |
# to start compass | |
alias mycompass='source /home/josh/.rvm/scripts/rvm' | |
# to mount shared drive | |
alias devshare='sudo mount -t vboxsf devshare ~/devshare' | |
alias locals='sudo mount -t vboxsf Local-SS ~/Local-SS' | |
# to start, stop, and restart xampp | |
alias xamppstart='sudo /opt/lampp/lampp start' |
View .bash_profile
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
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
source ~/.profile |
View .profile
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
# ~/.profile: executed by the command interpreter for login shells. | |
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
# exists. | |
# see /usr/share/doc/bash/examples/startup-files for examples. | |
# the files are located in the bash-doc package. | |
# the default umask is set in /etc/profile; for setting the umask | |
# for ssh logins, install and configure the libpam-umask package. | |
#umask 022 |
View gist:10261306
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
(function($) { | |
$('#framesize-section').html('<input id="enable-checkboxes" type="checkbox"><label>Enable</label>'); | |
var noNews = '<input type="checkbox" id="no-news"><label>No thanks</label>'; | |
var yesNews = '<input type="checkbox" id="yes-news"><label>Yes, please</label>'; | |
$('#message').append(noNews); | |
$('#message').append(yesNews); | |
var enable = $('#enable-checkboxes'); | |
var disabledInputs = $('#accessories-section').find('input[type=checkbox]'); |
View gist:9627125
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
/** | |
* Short Description | |
* | |
* Long Description | |
* | |
* @package WordPress | |
* @since version | |
* | |
* @param type $varname Description | |
* @return type Description |
View gist:7832699
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
{ | |
"name": "steelsentry-theme", | |
"author": "josh", | |
"version": "0.1.0", | |
"devDependencies": { | |
"grunt": "~0.4.1", | |
"grunt-contrib-uglify": "~0.2.2", | |
"grunt-contrib-concat": "~0.3.0", | |
"grunt-contrib-cssmin": "~0.6.1", | |
"grunt-contrib-imagemin": "~0.3.0", |
View gist:7832678
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
module.exports = function (grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
imagemin: { | |
static: { | |
options: { | |
optimizationLevel: 3 | |
}, | |
files: { | |
'pbimages/pegboard-2424.jpg': 'img_src/pbimages/pegboard-2424.jpg' |
NewerOlder