http://exercism.io/exercises/haskell/pangram/readme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local mash = {"shift", "alt"} | |
| -- disable window animation | |
| hs.window.animationDuration = 0 | |
| function fullscreen() | |
| local win = hs.window.focusedWindow() | |
| local f = win:frame() | |
| local screen = win:screen() | |
| local max = screen:frame() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| filetype off | |
| filetype plugin indent off | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " language specific plugins | |
| Plugin 'pangloss/vim-javascript' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Path to your oh-my-zsh installation. | |
| export ZSH=$HOME/.oh-my-zsh | |
| source $HOME/.profile/.tto_credentials | |
| source $HOME/.profile/.golang_setup | |
| source $HOME/.profile/.aws_credentials | |
| # theme | |
| ZSH_THEME="pure" | |
| DEFAULT_USER="bchung" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import most from 'most'; | |
| const fromNodeCallback = (nodeCallback) => { | |
| return (...args) => { | |
| return most.create((add, end, error) => { | |
| return nodeCallback(...args, function cb(err, ...data) { | |
| // if data has more than one element, leave as array. Else, pass along that single value | |
| err ? error(err) : data.length > 1 ? add(data) : add(...data); | |
| end(); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Quinn Comendant <quinn@strangecode.com> | |
| # https://gist.github.com/quinncomendant/3be731567e529415d5ee | |
| # Since 25 Jan 2015 | |
| # Version 1.1 | |
| CMD=$1; | |
| if [[ `id -u` = 0 ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <title>includes vs. fuzzy</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
| <script src="./suite.js"></script> | |
| </head> | |
| <body> | |
| <h1>Open the console to view the results</h1> |