Skip to content

Instantly share code, notes, and snippets.

View nickdenardis's full-sized avatar

Nick DeNardis nickdenardis

View GitHub Profile
{{-- Define all our servers --}}
@servers(['staging' => '', 'production' => ''])
@setup
{{-- The timezone your servers run in --}}
$timezone = 'Europe/Amsterdam';
{{-- The base path where your deployments are sitting --}}
$path = '/var/www/site.com/htdocs';
@nickdenardis
nickdenardis / learning-ember.md
Last active August 29, 2015 14:13
Learning Ember

Learning Ember

Install the Ember CLI

npm install -g ember-cli

Generate a new project

ember new testember

@nickdenardis
nickdenardis / lv5-create
Last active August 29, 2015 14:13
Laravel 5 creation
composer create-project laravel/laravel sitename dev-develop
sudo cat "192.168.10.10 sitename.app" >> /etc/hosts
@nickdenardis
nickdenardis / npm-update-w-nvm.md
Last active September 1, 2015 18:31
Updating npm with nvm

Clear all npm cache!

npm cache clear
rm -rf ~/.npm

Install latest npm version globally

# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
@nickdenardis
nickdenardis / sublimelint.json
Created October 30, 2013 11:19
sublimelint settings
{
"user": {
"debug": false,
"plugins": {
"AppleScript": {},
"C": {
"args": [
"-xc",
"-fsyntax-only",
"-std=c99",
@nickdenardis
nickdenardis / sublimetext3.json
Created October 30, 2013 10:52
SublimeText Settings
{
"bold_folder_labels": true,
"draw_minimap_border": true,
"draw_white_space": "all",
"font_face": "monaco",
"font_size": 11,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
@nickdenardis
nickdenardis / osx-change-mac-address.md
Created October 19, 2013 15:28
Change mac adress for Panera

Current

ifconfig en0 | grep ether

Generate one

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'

Change yours