Skip to content

Instantly share code, notes, and snippets.

Mackenzie 10thfloor

Block or report user

Report or block 10thfloor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am 10thfloor on github.
  • I am mknze (https://keybase.io/mknze) on keybase.
  • I have a public key ASD_HxMMa44bVF_OVp0lDIHbMIvoddEw3MN_rxMfVGMFAgo

To claim this, I am signing this object:

View DAPPER_GETTING_STARTED.md

Dapper - Getting Started

This page is an overview of important information you'll need to know to integrate Dapper into your hackathon project.

Download the Sandbox Wallet Chrome Extension

We developed a special version of our wallet for developers to use. The Dapper wallet takes care of Gas fees for you, so you can develop dApps without worrying about Gas!

@10thfloor
10thfloor / GridStream.js
Created Nov 10, 2017 — forked from derMani/GridStream.js
NodeJS MongoDB-GridFS Video range stream exampleLets your browser seek/jump wihin the video-playback.
View GridStream.js
var express = require('express');
var app = express();
var mongo = require('mongodb');
var MongoClient = require('mongodb').MongoClient;
var GridStore = mongo.GridStore;
var ObjectID = require('mongodb').ObjectID;
function StreamGridFile(req, res, GridFile) {
@10thfloor
10thfloor / address.txt
Last active Oct 22, 2017
Etherium (Rinkeby) Wallet
View address.txt
0x62cc2189daF146C5637Fc2A3FF2fd9eD35A466A6
View codemo logo
@10thfloor
10thfloor / npm-unfuck.sh
Created Nov 9, 2016 — forked from ShMcK/npm-unfuck.sh
Quick fix for npm dependency issues. Run "bash npm-unfuck.sh"
View npm-unfuck.sh
# NPM Unfuck
# Brought to you by:
# Mackenzie Kieran & Shawn McKay
# remove deps
rm -rf node_modules
npm cache clean
# lock dependencies
@10thfloor
10thfloor / events.js
Last active Nov 9, 2016
Simple event class
View events.js
export default class Event {
constructor() {
this.handlers = []
}
emit(event, ...args) {
if(this.handlers.event) {
this.handlers[event].forEach((handler, index) => {
handler.apply(this, [...args])
View watch.sh
#!/usr/bin/env bash
# script: watch
# author: Mike Smullin <mike@smullindesign.com>
# license: GPLv3
# description:
# watches the given path for changes
# and executes a given command when changes occur
# usage:
# watch <path> <cmd...>
#
View angular1-decorator.js
$routeProvider.when = (function(when){
var extendedWhen = function(incomingRoute, routeConfig){
// Basic error case.
if(routeConfig.resolve && typeof routeConfig.resolve !== 'object'){
throw new Error('$routeProvider.when: resolve should be \'object\' instead of: ' + typeof config.resolve );
}
routeConfig = routeConfig || {};
routeConfig.resolve = angular.extend(routeConfig.resolve, {
@10thfloor
10thfloor / css_triangle.scss
Created Sep 10, 2012
CSS Triangle SASS Mixin!
View css_triangle.scss
// add this to block level elements to create a nice triangle!
// derived from http://css-tricks.com/snippets/css/css-triangle/
@mixin css_triangle($dir, $size, $color) {
width: 0;
height: 0;
@if $dir == up {
border-left: $size solid transparent;
You can’t perform that action at this time.