Skip to content

Instantly share code, notes, and snippets.

Jeff Powers jeffpowrs

Block or report user

Report or block jeffpowrs

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
@milankarunarathne
milankarunarathne / ES6_Singlet.js
Last active Feb 10, 2017
Create Singleton pattern using ES6
View ES6_Singlet.js
'use strict';
/**
* Created by Milan Karunarathne
* Email: mhkarunarathne@gmail.com
* May be freely distributed under the MIT license
*/
import EventEmitter from 'events';
class Single extends EventEmitter {
View zeplin-keyboard-shortcuts.txt
Projects - Cmd + Shift + A
Dashboard - Cmd + D
Styleguide - Cmd + G
Jump to Next Screen - →
Jump to Previous Screen - ←
Jump to Screen - Cmd + J
Show/Hide Versions - Cmd + Alt + V
@matthewmueller
matthewmueller / osx-for-hackers.sh
Last active Oct 13, 2019
OSX for Hackers (Mavericks/Yosemite)
View osx-for-hackers.sh
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront
@anikalindtner
anikalindtner / gist:9524950
Last active Jun 14, 2018
Workshops/Mailinglists/Lists
View gist:9524950
@mikermcneil
mikermcneil / using-raw-socket-io-in-sails.js
Created Sep 17, 2013
Using raw socket.io functionality in a Sails.js controller
View using-raw-socket-io-in-sails.js
module.exports = {
/**
*
* Using raw socket.io functionality from a Sails.js controller
*
*/
index: function (req,res) {
@malarkey
malarkey / Contract Killer 3.md
Last active Oct 17, 2019
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer 3.md

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@brandonb927
brandonb927 / osx-for-hackers.sh
Last active Oct 12, 2019
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
View osx-for-hackers.sh
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
View states_hash.json
{
"AL": "Alabama",
"AK": "Alaska",
"AS": "American Samoa",
"AZ": "Arizona",
"AR": "Arkansas",
"CA": "California",
"CO": "Colorado",
"CT": "Connecticut",
"DE": "Delaware",
@paulmillr
paulmillr / dart.md
Last active Jul 28, 2019
Leaked internal google dart email
View dart.md

---------- Forwarded message ----------

From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
@trevmex
trevmex / bst.js
Created Feb 11, 2011
A simple binary search tree in JavaScript
View bst.js
/*
* File: bst.js
*
* A pure JavaScript implementation of a binary search tree.
*
*/
/*
* Class: BST
*
You can’t perform that action at this time.