Skip to content

Instantly share code, notes, and snippets.

View gist:b293ed30b6bda9dd21d9
<input checked="checked" type="checkbox" />
this.checked=true;
View .vimrc.bundles.local
" UnBundle 'godlygeek/tabular'
Bundle 'ctrlpvim/ctrlp.vim'
Bundle 'vim-scripts/Align'
Bundle 'vim-scripts/Decho'
Bundle 'vim-scripts/dbext.vim'
Bundle "mattn/emmet-vim"
Bundle 'tommcdo/vim-exchange'
Bundle 'floobits/floobits-neovim'
Bundle 'ryanss/vim-hackernews'
View .vimrc.local
"colorscheme earendel
"colorscheme moria
"colorscheme github
"colorscheme freya
"colorscheme codeschool
"colorscheme two2tango
nnoremap z :w<cr>
"set nonumber
View .nvimrc
" Modeline and Notes {
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker spell:
"
" __ _ _____ _
" ___ _ __ / _/ |___ / __ __(_)_ __ ___
" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \
" \__ \ |_) | _| |___) |_____|\ V / | | | | | | |
" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_|
" |_|
"
View gist:27340c3b95de31596f89
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "iojs"
View io.js_on_travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
env:
- NODE_SCRIPT=node
- NODE_SCRIPT=./iojs-v1.0.2-linux-x64/bin/iojs
View test.js
(function() {
var MongoClient, config;
config = require('../config.js');
MongoClient = require('mongodb').MongoClient;
MongoClient.connect("mongodb://127.0.0.1:27017/" + config.General.database, function(err, db) {
var callback, callbackCount, condition;
callback = function(err, hands) {
View test.js
(function() {
var MongoClient, config;
config = require('../config.js');
MongoClient = require('mongodb').MongoClient;
MongoClient.connect("mongodb://127.0.0.1:27017/" + config.General.database, function(err, db) {
var callback, callbackOne;
callback = function(err, hands) {
View beequick.conf
<VirtualHost beequick:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
View gist:9244d3c0482097a27ad1
<?php
class AccountController extends \BaseController {
/**
* Display a listing of the resource.
*
* @return Response
*/
public function index()