Skip to content

Instantly share code, notes, and snippets.

View reggi's full-sized avatar
🌺
Learning

Thomas Reggi reggi

🌺
Learning
View GitHub Profile
@yeco
yeco / empirejs-links.md
Last active August 29, 2015 14:01
EmpireJS Talks Links
@mikeal
mikeal / gist:7724521
Last active December 29, 2015 20:29
Inclusive by Exclusion

When you build a community you're creating a culture. That culture will be about more than the code, the modules, or the language. The people you draw in will have their own biases and behaviors that impact the kinds of people you continue to draw as you grow.

Cultures will naturally fight behavior that is divisive. That is, behavior that is divisive to the established members of that community. As a community grows larger it is harder and harder to change what the culture finds acceptable because changing it, even if it is inclusive in nature, is disturbing and divisive to existing membership. Fighting for change in established cultures means dealing with a lot of dismissive language and attacks for the "tone" of your argument.

That is why it is so important that a culture becomes comfortable with aggressively fighting exclusionary behavior. While it is certainly more beneficial to make pro-active steps to increase diversity we cannot be dismissive of the effect that passionate reactions to poor behavior

@mrasmus
mrasmus / gist:b133ca537eff7c3ae175
Last active June 16, 2016 07:35
WavTap Uninstaller
#!/bin/bash
# Because WavTap (https://github.com/pje/wavtap) doesn't come with a straightforward way to do it. :\
# Must be run elevated. Mirrors what "make uninstall" does exactly as of June 24, 2014.
osascript -e 'tell application "WavTap"' -e 'quit' -e 'end tell'
rm -rf /Applications/WavTap.app
if [[ "$(kextstat | grep WavTap | grep -v grep)" ]]; then sudo kextunload /System/Library/Extensions/WavTap.kext; fi
rm -rf /System/Library/Extensions/WavTap.kext
rm -rf /Library/Receipts/WavTap*
rm -rf /var/db/receipts/*WavTap.*
@christophercliff
christophercliff / Makefile
Created December 14, 2012 00:19
Makefile for deploying a Wintersmith static site to Github Pages without exposing the source (assumes you're using the default build directory).
deploy:
rm -rf ./build
wintersmith build
cd ./build && \
git init . && \
git add . && \
git commit -m "Deploy"; \
git push "git@github.com:{YOUR NAME}/{YOUR REPO}.git" master:gh-pages --force && \
rm -rf .git
@jpetazzo
jpetazzo / README.md
Created January 9, 2015 17:06
Mouses Are Overrated!

Mouses Are Overrated

This script allows you to enable/disable your pointers on a Linux machine.

Usage:

mao.sh on   # enters "mouseless" mode
mao.sh off  # returns to "I can has clicks" mode

Note: if you just want to disable built-in pointers (to keep a mouse on the side

@kevinold
kevinold / simple-twitter-timeline.html
Created June 29, 2012 15:25 — forked from bchhun/simple-twitter-timeline.html
Simple Twitter Timeline with AngularJS
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>Twitter widget</title>
@mhart
mhart / awslambda
Last active April 14, 2019 15:38
node_modules/awslambda
#!/usr/bin/env node
var path = require('path')
var fs = require('fs')
var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
require(lib + '/awslambda.js').start_runtime();
@schrodervictor
schrodervictor / uncamelize.js
Last active August 6, 2019 14:52 — forked from jpetitcolas/uncamelize.js
How to uncamelize a string in Javascript? Example: "HelloWorld" --> "hello_world"
/**
* Uncamelize a string, joining the words by separator character.
*
* @param {string} text - Text to uncamelize
* @param {string} [separator='_'] - Word separator
* @returns {string} Uncamelized text
*/
function uncamelize(text, separator) {
// Assume separator is _ if no one has been provided.
if('undefined' === typeof separator) {
/*
* jGFeed 1.0 - Google Feed API abstraction plugin for jQuery
*
* Copyright (c) 2009 jQuery HowTo
*
* Licensed under the GPL license:
* http://www.gnu.org/licenses/gpl.html
*
* URL:
* http://jquery-howto.blogspot.com
@metrofx
metrofx / glog
Created February 12, 2014 07:56
Pretty git log, displays 20 last commits.
#!/bin/sh
git --no-pager log -n 20 --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative