Skip to content

Instantly share code, notes, and snippets.

View slack_emoji_map.json
[
{ "name": "1234", "unicode": "1f522", "id": "E1f522", "keywords": ["1234", "input", "numbers"] },
{ "name": "hash", "unicode": "0023-fe0f-20e3", "id": "E0023-fe0f-20e3", "keywords": ["symbol"] },
{ "name": "keycap_star", "unicode": "002a-fe0f-20e3", "id": "E002a-fe0f-20e3", "keywords": [] },
{ "name": "zero", "unicode": "0030-fe0f-20e3", "id": "E0030-fe0f-20e3", "keywords": ["number", "0"] },
{ "name": "one", "unicode": "0031-fe0f-20e3", "id": "E0031-fe0f-20e3", "keywords": ["number", "1"] },
{ "name": "two", "unicode": "0032-fe0f-20e3", "id": "E0032-fe0f-20e3", "keywords": ["number", "2"] },
{ "name": "three", "unicode": "0033-fe0f-20e3", "id": "E0033-fe0f-20e3", "keywords": ["number", "3"] },
{ "name": "four", "unicode": "0034-fe0f-20e3", "id": "E0034-fe0f-20e3", "keywords": ["number", "4"] },
{ "name": "five", "unicode": "0035-fe0f-20e3", "id": "E0035-fe0f-20e3", "keywords": ["number", "5"] },
View keybase.md

Keybase proof

I hereby claim:

  • I am impressiver on github.
  • I am impressiver (https://keybase.io/impressiver) on keybase.
  • I have a public key ASDJ4qjxwGq0XFr3qsp_OduTyOw6OyQRml-pgFeL-l-U1Qo

To claim this, I am signing this object:

@impressiver
impressiver / README.md
Last active May 24, 2017
Pi 2 Wink Hub Homebridge
View README.md

Wink Hub HomeKit bridge

... on a Pi 2, in 5 min.

don't be scared

pi@pi:~ $ sudo su -
@impressiver
impressiver / esp-dev.sh
Last active Oct 3, 2015
esp-dev: osx environment settings for esp8266 esp-open-sdk toolchain and development
View esp-dev.sh
#
# esp-dev:
# osx env for esp8266 esp-open-sdk toolchain
#
# dupes
dupes=/usr/local/opt/gettext/bin
dupes=$dupes:/usr/local/opt/gnu-getopt/bin
dupes=$dupes:/usr/local/opt/gnu-sed/libexec/gnubin
@impressiver
impressiver / angular-jquery-adapter.js
Last active Aug 29, 2015
Angular/jQuery event wrappers
View angular-jquery-adapter.js
/******************************************************************************
*
* Adapter functions to deal w/ Angular <--> jQuery (custom) events
*
* I wrote these quickly just to see if they'd fly. They should really be added
* to a provider, I just haven't gotten around it.
*
*****************************************************************************/
/**
@impressiver
impressiver / mirrorlist
Last active Aug 29, 2015
Arch US mirrorlist
View mirrorlist
##
## Arch Linux repository mirrorlist
## Sorted by mirror score from mirror status page
## Generated on 2014-03-16
##
## Score: 0.4, United States
Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
## Score: 0.7, United States
Server = http://mirrors.liquidweb.com/archlinux/$repo/os/$arch
@impressiver
impressiver / dammit-grandpa.js
Last active Dec 31, 2015
Traverse the DOM hierarchy and return the first ancestor that has all/any css attributes that match the provided hash. Expects jQuery, but could be easily modified to work w/o. Main use for this is in Chrome dev tools to quickly find the parent of an element that's responsible for layout troubles.
View dammit-grandpa.js
//
// Traverse the DOM hierarchy and return the first ancestor that has all/any
// css attributes that match the provided attribute:regexp hash.
//
var $parent = (function declares(el, attrs, any) {
var $el = $(el), fn = (!!any ? 'some' : 'every'), match;
if(!attrs || !$el.length || $el.is(document)) return undefined;
match = Object.keys(attrs)[fn](function(key) {
var css = $el.css(key), matcher = attrs[key];
@impressiver
impressiver / gist:7477068
Created Nov 15, 2013
Road to Dynamic Hybrid Web Applications
View gist:7477068

Road to Dynamic Hybrid Web Applications

Introduction

There has been a natural evolution over the past few years with regard to developing increasingly rich, desktop-like experiences in web applications. The old school way was to handle 100% of the dynamic content generation on the server and spit static HTML back to the browser. Then JavaScript grew up a bit and people slowly started to learn (begrudgingly) that it was more than just a toy. Increasingly, much of the rendering and processing was pushed to the

@impressiver
impressiver / private.xml
Created Oct 7, 2013
KeyRemap4Macbook Hyper
View private.xml
<?xml version="1.0"?>
<root>
<item>
<name>F19 to Hyper/Hyper+Esape</name>
<appendix>(F19 to Hyper (Control+Shift+Command+Option) or send Hyper+Escape when tapped)</appendix>
<identifier>private.f19_to_hyper</identifier>
<autogen>
--KeyOverlaidModifier--
KeyCode::F19,
KeyCode::COMMAND_L, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L,
View Preferences.sublime-settings
{
"always_prompt_for_file_reload": false,
"always_show_minimap_viewport": false,
"animation_enabled": true,
"atomic_save": true,
"auto_close_tags": true,
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_delay": 25,
"auto_complete_selector": "source - comment, meta.tag - punctuation.definition.tag.begin",