Skip to content

Instantly share code, notes, and snippets.

View dennisfrank's full-sized avatar

Dennis Frank dennisfrank

View GitHub Profile
@dennisfrank
dennisfrank / 0_reuse_code.js
Created February 7, 2014 17:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

<?php
/**
* Custom configuration bootsrtap file for ExpressionEngine
*
* Place config.php in your site root
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/config.php
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/database.php
* If you have moved your site root you'll need to update the require_once path
*
@dennisfrank
dennisfrank / osxtweaks.sh
Last active October 2, 2015 18:58 — forked from erikh/hack.sh
OS X Tweaks
#!/usr/bin/env bash
##
# This script stands on the shoulders of giants:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# https://github.com/ptb/Mac-OS-X-Lion-Setup/blob/master/setup.sh
#
# Adjust it to your needs and install it like this:
# curl -sL https://raw.github.com/gist/2301333/osxtweaks.sh | sh
#