Skip to content

Instantly share code, notes, and snippets.

View jasonmccallister's full-sized avatar

Jason McCallister jasonmccallister

View GitHub Profile
@jasonmccallister
jasonmccallister / baseinstall.sh
Created May 4, 2014 18:19
CentOS - Base install script
# install only the base packages
yum install nano git
@jasonmccallister
jasonmccallister / base.sh
Last active August 29, 2015 14:00
CentOS - Install scripts for Digital Ocean and Puppet Enterprise
# install the base packages
yum install nano git
@jasonmccallister
jasonmccallister / styles.less
Created June 10, 2014 22:13
My styles.less for my Atom editor. Uses Spacegray Dark for the UI and syntax theme.
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
<?php
craft()->path->getLicenseKeyPath()
@jasonmccallister
jasonmccallister / .zshrc
Last active August 29, 2015 14:13
Dotfiles
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Theme
ZSH_THEME="frisk"
# Custom plugins
plugins=(git ruby rails)
# User configuration
@jasonmccallister
jasonmccallister / .gitignore
Created February 3, 2015 05:25
Laravel 5 on Heroku Gitignore
/vendor
.env
gulpfile.js
package.json
@jasonmccallister
jasonmccallister / move-known-hosts.sh
Last active August 29, 2015 14:15
Remove known_hosts
mv ~/.ssh/known_hosts ~/.ssh/old_hosts && touch ~/.ssh/known_hosts
@jasonmccallister
jasonmccallister / composer.json
Created June 16, 2015 18:27
Composer configuration for building Craft websites on Heroku
{
"require": {
"php": "~5.6.9",
"ext-gd": "*",
"ext-iconv": "*",
"ext-imagick": "*",
"ext-mbstring": "*",
"ext-newrelic": "*",
"ext-redis": "*"
}
<?php
/**
* Register site routes.
*
* @return array
*/
public function registerSiteRoutes()
{
return array(
vmup()
{
cd ~/Homestead;
vagrant up;
cd ~/Code;
}
vmssh() {
cd ~/Homestead && vagrant ssh;
}