Skip to content

Instantly share code, notes, and snippets.

View realistschuckle's full-sized avatar

Curtis Schlak realistschuckle

View GitHub Profile
[
{
id: '1',
name: 'Bumblebee',
genus: 'Bombus',
species: 'Bombus polaris, Bombus alpinus, et al.',
communal: true,
endangered: true,
image_url: 'https://upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Bumblebee_October_2007-3a.jpg/800px-Bumblebee_October_2007-3a.jpg',
description: 'A bumblebee (also written bumble bee) is a member of the genus Bombus, part of Apidae, one of the bee families. This genus is the only extant group in the tribe Bombini, though a few extinct related genera (e.g., Calyptapis) are known from fossils. Over 250 species of bumblebee are known. They are found primarily in higher altitudes or latitudes in the Northern Hemisphere, although they are also found in South America where a few lowland tropical species have been identified. European bumblebees have also been introduced to New Zealand and Tasmania. The brood parasitic or cuckoo bumblebees have sometimes been classified as a subgenus or genus, Psithyrus, but are now usually treated as members of
@realistschuckle
realistschuckle / npm-debug.log
Created June 8, 2017 12:13
Uninstall Failure of npm Log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/8.0.0_1/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'rm',
1 verbose cli '-g',
1 verbose cli 'polymer-cli' ]
2 info using npm@5.0.2
3 info using node@v8.0.0
4 silly install loadCurrentTree
5 silly install readGlobalPackageData
#
# This is a SKELETON file and has been provided to enable you to get working on the
# first exercise more quickly.
#
# Go down to lines 21-28, read the comment, delete it, and
# write some code to make the tests pass.
#
use strict;
use warnings;
@realistschuckle
realistschuckle / example.js
Last active August 29, 2015 14:20
An options builder for gulp-newer that understands the output of gulp-hash
function newerOptionsForHashSuffixedFiles(dest, ext) {
var re = new RegExp('\\' + ext + '$');
var replacement = '-[^-]*' + ext;
return {
dest: dest,
ext: ext,
map: function(src) {
var d = join(process.cwd(), dest, src);
d = d.replace(re, replacement);
var result = glob.sync(d);
@realistschuckle
realistschuckle / gist:1a85e6a1f1712c94e1ea
Last active October 19, 2016 21:00
Application Reinstall
@realistschuckle
realistschuckle / tests.js
Created November 30, 2014 04:10
Example ES6 File
import data from 'data-es6';
export var tests = {};
class Test {
constructor (name, link, criterion, traceurSupport) {
this.name = name;
this.link = link;
this.traceurSupport = traceurSupport;
@realistschuckle
realistschuckle / Dependency.cpp.patch
Created May 28, 2014 01:20
Patch for dylibbundler with a right-trim on it.
diff --git a/src/Dependency.cpp b/src/Dependency.cpp
index 82dd3b0..a441474 100644
--- a/src/Dependency.cpp
+++ b/src/Dependency.cpp
@@ -14,6 +14,10 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <algorithm>
+#include <functional>
@realistschuckle
realistschuckle / static_assets_from_couchdb.js
Created February 23, 2014 03:41
An asset middleware component for Yahoo! Mojito that uses CouchDB attachments
/*jslint anon:true, sloppy:true, nomen:true, white:true, stupid:true*/
var http = require('http')
, path = require('path')
, url = require('url')
, ycb = require('ycb')
, fs = require('fs')
;
var uripattern = /^\/static\/([a-zA-Z0-9\-\._~]+)\/([a-zA-Z0-9\-\._~]+)\/([a-zA-Z0-9\-\._~]+)/
, configPath = path.join(__dirname, '../', 'application.json')
@realistschuckle
realistschuckle / jade.server.js
Last active August 29, 2015 13:56
jade View Engine for Yahoo! Mojito
/*jslint anon:true, sloppy:true, nomen:true, white:true*/
YUI.add('addons-viewengine-jade', function(Y, NAME) {
var jade = require('jade')
, fs = require('fs')
, cache = YUI.namespace('Env.Mojito.Jade')
;
function JadeAdapter(config) {
this.config = config || {};
}
@realistschuckle
realistschuckle / gist:1163687
Created August 22, 2011 21:42 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
Day job: software programmer/designer at Bank of America Merrill Lynch
Favorite Python project: pygments
Favorite Conference: OpenCON, the OpenBSD conference
Python Experience Level: like my doctor, I know where the colon should be.