Skip to content

Instantly share code, notes, and snippets.

$view = new view();
$view->name = 'agent_listing';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'users';
$view->human_name = 'Agent Listing';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
@deetergp
deetergp / brewStack.md
Created October 4, 2012 01:34 — forked from shrop/brewStack.md
brewStack Docs

brewStack Update for fresh install

Install steps:

  • Install Homebrew:
$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) $ brew install git $ brew update $ brew install drush

brewStack Update for fresh install

Install steps:

  • Install Homebrew:

      $ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)  
      $ brew install git  
      $ brew update  
    

$ brew install drush

To-Do

  • Read article about using Gist to make lists
  • Make a To-Do list on Gist

Next

  • Profit!
@deetergp
deetergp / 0_reuse_code.js
Created January 22, 2014 20:10
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
@deetergp
deetergp / gist:10007191
Last active August 29, 2015 13:58
Re-Configure Code Sniffer for Drupal

Intent

This document contains instructions for re-configuring PHP_CodeSniffer in the brewStack local development environment after running brew upgrade in Homebrew upgrades PHP.

Steps

  1. Update Pear and use it to re-download the PHP_CodeSniffer package:

     $ sudo pear update-channels
    

$ sudo pear install PHP_CodeSniffer

#!/bin/sh
if [ -z $1 ]
then
echo 'Please enter which version you want to switch to (e.g. `phps 55`, or `phps 53`)'
exit
fi
etc="/Users/deetergp/etc"
version=$1

Keybase proof

I hereby claim:

  • I am deetergp on github.
  • I am scottdeeter (https://keybase.io/scottdeeter) on keybase.
  • I have a public key ASC1TdKzTuNC72PU8CyL__yudZ0ZOQVTJ1bandh-qFMzrwo

To claim this, I am signing this object:

{"keyboard":"dz60","keymap":"deetz60","layout":"LAYOUT_60_ansi","layers":[["KC_GRV","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_MINS","KC_EQL","KC_BSPC","KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_LBRC","KC_RBRC","KC_BSLS","KC_LCTL","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_ENT","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_RSFT","KC_LCTL","KC_LALT","KC_LGUI","KC_SPC","KC_RGUI","KC_RALT","MO(1)","KC_RCTL"],["KC_ESC","KC_F1","KC_F2","KC_F3","KC_F4","KC_F5","KC_F6","KC_F7","KC_F8","KC_F9","KC_F10","KC_F11","KC_F12","KC_DEL","KC_TRNS","KC_MPLY","KC_UP","KC__MUTE","KC_VOLU","RGB_MOD","RGB_VAI","RGB_SPI","BL_INC","RGB_HUI","RGB_SAI","KC_PGUP","KC_TRNS","KC_TRNS","KC_TRNS","KC_LEFT","KC_DOWN","KC_RGHT","KC_VOLD","RGB_RMOD","RGB_VAD","RGB_SPD","BL_DEC","RGB_HUD","RGB_SAD","KC_PGDN","KC_TRNS","KC_TRNS","BL_TOGG","BL_STEP","BL_BRTG","KC_TRNS","RGB_TOG","KC_TRNS