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
#!/bin/sh -exu | |
dev=$1 | |
cd $(mktemp -d) | |
function umountboot { | |
umount boot || true | |
umount root || true | |
} | |
# RPi1/Zero (armv6h): |
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> | |
<title>Large Type</title> | |
<link rel="stylesheet/less" type="text/css" href="style.less"> | |
<script type="text/javascript" src="lib/jquery-2.1.4.min.js"></script> | |
<script type="text/javascript" src="lib/less.min.js"></script> | |
</head> | |
<body> | |
<div class="out"><span contenteditable autofocus>*hello*</span></div> |
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 | |
### | |
# hdoc | |
# (c) Gatlin Johnson <[email protected]> | |
# | |
########### | |
# Available under the following license: | |
# | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
#!/bin/sh | |
if [ ! -d /Library/Frameworks/HaskellPlatform.framework ] | |
then | |
if which -s ghc | |
then | |
echo "A different Haskell was found." >&2 | |
else | |
echo "Haskell Platform for OSX is not installed." >&2 | |
fi |
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
{- | |
This is a simple simulation of OT with Cloud in which all slaves generate | |
and apply random operations. It should work in theory. In practice, however | |
I wasn't apply to test it because my installation of distributed-process is | |
apparently broken. Specifically, `spawn` doesn't seem to work (I tested it | |
with some examples from the Well-Typed blog). | |
This code depends on https://github.com/timjb/haskell-operational-transformation. | |
-} |