Skip to content

Instantly share code, notes, and snippets.

View chrisege's full-sized avatar

Chris Ege chrisege

View GitHub Profile
;(function(win, undefined) {
"use strict";
var applicationName = "My Broken App";
let raphaelLoaded = false;
const numLibs = 1;
libs = { one : 'jQuery', two : 'Underscore', three : 'Backbone' };
BioSync.Common.loadLibs = function( libraries = {} ) {
var e = 0, r;
Message List
Not Started
init -> Loading
Loading
results -> Ready
err -> Error
Ready
request more -> Loading
change criteria -> Not Started
Error
@chrisege
chrisege / 0_reuse_code.js
Created November 18, 2015 17:26
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
@chrisege
chrisege / es6-export-default.sublime-snippet
Last active October 12, 2015 19:52
ES6 Module import snippets
<snippet>
<content><![CDATA[
export default ${1:this}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>exp</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
@chrisege
chrisege / index.html
Last active August 29, 2015 14:09
Wildcard Quiz
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' type='text/css' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css'></link>
@chrisege
chrisege / index.html
Last active August 29, 2015 14:09
Sports Quiz
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' type='text/css' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css'></link>
@chrisege
chrisege / index.html
Last active August 29, 2015 14:09
Politics Quiz
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' type='text/css' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css'></link>
@chrisege
chrisege / index.html
Last active August 29, 2015 14:09
Arts Quiz
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' type='text/css' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css'></link>
@chrisege
chrisege / index.html
Last active August 29, 2015 14:08
Food Quiz
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' type='text/css' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css'></link>
@chrisege
chrisege / Tomorrow-Night-Bright-chrisege.tmTheme
Created April 9, 2013 21:21
Settings that I like for SublimeText, tweaked from TomorrowNight theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>http://chriskempson.com</string>
<key>name</key>
<string>Tomorrow Night - Bright</string>
<key>settings</key>
<array>