Grid layout demo.
This file contains 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
# mastermind implementation | |
from itertools import * | |
# functions for AI | |
# 1. calculate the response for a guess, given the true code | |
def responseToGuess(guess, true_code): | |
N = len(guess) | |
assert N == len(true_code), "Guess is not the same length as true code." | |
correct_pos = 0 |
This file contains 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
node_modules/ |
This file contains 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 http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>One Graph</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<script type="text/javascript" src="simple-graph.js"></script> | |
<style type="text/css"> | |
body { font: 13px sans-serif; } | |
rect { fill: #fff; } |
This file contains 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
call plug#begin('~/.config/nvim/plugged') | |
Plug 'sjl/badwolf' | |
Plug 'rking/ag.vim' | |
Plug 'editorconfig/editorconfig-vim' | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug 'junegunn/fzf.vim' | |
Plug 'Chun-Yang/vim-action-ag' | |
Plug 'kchmck/vim-coffee-script' | |
Plug 'tpope/vim-sensible' |
This file contains 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
;; -*- 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 |
This file contains 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
# classes | |
class Foo | |
bar: () => 1 | |
foo = new Foo | |
foo.bar() | |
Foo.bar | |
Foo::bar | |
# commented |
This file contains 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
Parinfer | |
advanced-open-file | |
atom-fuzzy-grep | |
atom-material-ui | |
autocomplete-paths | |
cursor-history | |
editorconfig | |
egghead-react-snippets | |
emmet | |
git-plus |
This file contains 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
ack gnupg2 libusb | |
antigen gnutls libusb-compat | |
autoconf gobject-introspection libyaml | |
automake gpg-agent moreutils | |
cairo harfbuzz nettle | |
cask-repair haskell-stack openssl | |
cf-cli hr pango | |
coreutils httpie pcre | |
dirmngr hub pinentry | |
emacs-plus icu4c pixman |
OlderNewer