- Quickcheck
- Paxos
- A database
- A real time networked game across the Internet
- A type system
- A prover
- A process scheduler
- A shader
- A gpu accelerated math problem
- An operating system for a microcomputer with less than 640k ram
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
| module CounterList (..) where | |
| import Counter | |
| import Html exposing (..) | |
| import Html.Events exposing (..) | |
| import StartApp.Simple exposing (start) | |
| -- MODEL |
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
| module Counter (..) where | |
| import Html exposing (..) | |
| import Html.Events exposing (..) | |
| import StartApp.Simple exposing (start) | |
| -- MODEL | |
To start emacs with windowed mode
#!/bin/sh
/Applications/Emacs.app/Contents/MacOS/Emacs "$@"
Place the following in ~/bin
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
| # Rank on ease of working with | |
| 1 - Hard, 5 - Trivial | |
| * UI/Styling (4) | |
| Themes and 'styles' are easily defined for the application, Material design (themes, widgets, icons) natively supported. | |
| When extending a class of a widget, the preview doesn't show, even though that class might not have any additions. | |
| * Integration testing |
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
| ;; -*- 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 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(lists, [seq/2]). | |
| %%% Alphanumeric characters ([a-zA-Z0-9]). | |
| alnum() -> list(oneof(seq($a, $z) ++ seq($A, $Z) ++ seq($0, $9))). | |
| %%% Alphabetic characters ([a-zA-Z]). | |
| alpha() -> list(oneof(seq($a, $z) ++ seq($A, $Z))). | |
| %%% ASCII characters ([\x00-\x7F]). | |
| ascii() -> list(oneof(seq(0, 127))). |
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 | |
| # | |
| # runs Concuerror | |
| # | |
| set +x | |
| # Path to Concuerror | |
| CONC=../../erlang/Concuerror/concuerror | |
| # Path to Elixir | |
| ELIXIR=../elixir-1.0.2/lib/elixir/ebin |
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
| function get(url) { | |
| return Rx.Observable.create(function(observer) { | |
| var req = new XMLHttpRequest(); | |
| req.open('GET', url); | |
| req.onLoad = function() { | |
| if (req.status == 200) { | |
| observer.onNext(req.response); | |
| observer.onCompleted(); | |
| } |