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> | |
<title>Dial</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<style> | |
<!-- | |
button.dial { | |
padding: 10px 0; | |
width: 3.5em; |
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
NUMBER SIGN | |
LATIN SMALL LETTER I | |
LATIN SMALL LETTER N | |
LATIN SMALL LETTER C | |
LATIN SMALL LETTER L | |
LATIN SMALL LETTER U | |
LATIN SMALL LETTER D | |
LATIN SMALL LETTER E | |
SPACE | |
LESS-THAN SIGN |
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
#!/bin/bash | |
set -e | |
old_pwd="$PWD" | |
do_msg() { | |
printf "\\r[%s:%s] - %s" "$reponame" "$branch" "$*" >&2 | |
} | |
do_end_msg() { | |
printf "\\r[%s:%s] - %s" "$reponame" "$branch" "$*" >&2 |
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
#!/bin/sed -nf | |
x ; s/^$/\n/ ; x ; t scan_unop | |
:scan_unop | |
/^[ ]*[-+][ ]*)/{i\ | |
unary op expected an operand, got ')' | |
x ; b hold_bailout | |
} | |
/^[ ]*[-+][ ]*$/{i\ | |
unary op expected an operand, got EOF | |
x ; b hold_bailout |
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
module MyNat (MyNat) where | |
import Data.Ratio | |
data MyNat = Z | S !MyNat deriving (Read, Show, Eq) | |
natapl :: MyNat -> (a -> a) -> a -> a | |
natapl Z f n = n | |
natapl (S x) f n = natapl x f (f n) | |
natsub :: MyNat -> MyNat -> (MyNat -> a) -> (MyNat -> a) -> a -> a |
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
#!/usr/bin/perl | |
# NOTE symlinked from NDK, be cautious! | |
use strict; | |
use warnings; | |
use File::Basename; | |
use File::Spec; | |
use File::Copy; | |
our $DEBUG = ''; |
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
#!/usr/bin/env python | |
import zipfile | |
import os | |
import stat | |
import sys | |
import codecs | |
import time | |
import datetime | |
import unicodedata | |
import sys |
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
module Main where | |
import Control.Applicative | |
import Control.Exception | |
import Data.List | |
import Data.Char | |
import qualified Data.Map as Map | |
import System.IO | |
import System.IO.Error | |
import System.Environment |
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
{-# OPTIONS_HADDOCK show-extensions #-} | |
{-# LANGUAGE CPP #-} | |
{-# LANGUAGE Rank2Types #-} | |
{-# LANGUAGE ExistentialQuantification #-} | |
----------------------------------------------------------------------------- | |
-- | | |
-- Module : Data.PureRef | |
-- Copyright : (c) Jinoh Kang, 2019 | |
-- License : MIT |
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
module ContLabel where | |
import Control.Monad.Trans.Cont | |
import Control.Monad.IO.Class | |
type Jmp r m a = (Maybe a, Label r m a) | |
newtype Label r m a = Label (Jmp r m a -> m r) | |
setjmp :: ContT r m (Jmp r m a) | |
setjmp = ContT $ \ c -> c (Nothing, Label c) |