Skip to content

Instantly share code, notes, and snippets.

(function($) {
/**
* This module will stack items on your page. Use it by calling
* stacker(params) in the global namespace. Stacker requires jQuery.
*
* @param {string} klassString the class of the items to target
* @param {number} columns the number of columns in your rows
* @param {number} breakpoint the width at which this module should disable itself
*/
var stacked = true,
/**
* This module will stack items on your page. Use it by
* var stacker = require('stacker'); stacker(params);
*
* @param {string} klassString the class of the items to target
* @param {number} columns the number of columns in your rows
* @param {number} breakpoint the width at which this module should disable itself
*/
var _stacked = true
var Ripples = function (initialState, setStateCallback) {
this.state = initialState;
this.events = {};
this.eventTargets = {};
this.setStateCallback = setStateCallback;
for (var key in this.state) {
var eventName = 'ripple' + key;
this.events[eventName] = new Event(eventName);
this.eventTargets[eventName] = [];
}
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@wilfreddenton
wilfreddenton / init.vim
Created December 20, 2016 18:44
My neovim config file
set number
nnoremap <C-p> :FZF<CR>
call plug#begin('~/.local/share/nvim/plugged')
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-go', { 'do': 'make'}
@wilfreddenton
wilfreddenton / github_guide.md
Last active October 14, 2017 23:59
A quickstart guide for github

Bitfinessed

Timeline

August 02, 2016

Bitfinex is hacked for ~70 million, ~36% of their user's assets. Only some user's are affected [[3]].

August 06, 2016

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* to hide the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* #tabbrowser-tabs, #navigator-toolbox, menuitem, menu, ... */
* {
@wilfreddenton
wilfreddenton / .bashrc
Last active March 15, 2023 03:05
bash configuration
# deps: fzf
# utf-8
export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
@wilfreddenton
wilfreddenton / .tmux.config
Last active March 16, 2023 00:23
tmux config
# deps: tpm
# colors
set -g default-terminal "screen-256color"
# remap prefix
set -g prefix C-w
unbind C-b
bind-key C-w send-prefix