Skip to content

Instantly share code, notes, and snippets.

View nook-scheel's full-sized avatar

Nook Scheel nook-scheel

View GitHub Profile
" Quick array creation
nmap <leader>ta vF=l<Esc>:s/\%V\S\+/"&",/g<CR>A<BS><Esc>vF=2lgS[JJ:let @/ = ""<CR>
snippet async.apply
async.apply(${1:Class}.bind(${1/(\w+).*/$1/}), ${2:arguments})
endsnippet
snippet async.apply
async.apply(${1:Class}.bind(${1/(\w+).*/$1/}), ${2:arguments})
endsnippet
let g:github_user= 'nooks'
let g:gist_browser_command = '/usr/bin/open -a /Applications/Google Chrome.app %URL%'
let g:github_user= 'nooks'
"let g:gist_open_browser_after_post = 1
let g:gist_clip_command = 'pbcopy'
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
</template>
<script>
@nook-scheel
nook-scheel / index.js
Created December 2, 2014 21:57
Heroku write config vars
/*!
* Module dependencies.
*/
var Heroku = require('heroku-client')
, _ = require('lodash')
, async = require('async')
, fs = require('fs')
, path = require('path')
<?php
/**
* Project: Admin
* Copyright: ©2006-2011 Pumpkin Inc. and contributors.
* Portions ©2007-2011 Pumpkin Inc. All rights reserved.
* @package Users
*/
class User_Model extends CI_Model
Index: sapi/cli/config.w32
===================================================================
--- sapi/cli/config.w32 (revision 308839)
+++ sapi/cli/config.w32 (working copy)
@@ -6,7 +6,8 @@
ARG_ENABLE('cli-win32', 'Build console-less CLI version of PHP', 'no');
if (PHP_CLI == "yes") {
- SAPI('cli', 'php_cli.c', 'php.exe');
+ SAPI('cli', 'php_cli.c php_http_parser.c php_cli_server.c', 'php.exe');
<?php
class ShortsTable extends Doctrine_Table
{
public static function getInstance()
{
return Doctrine_Core::getTable('Shorts');
}