This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
{-# LANGUAGE MagicHash, UnboxedTuples, BangPatterns #-} | |
module Main where | |
import Data.Int | |
import System.Environment | |
import GHC.Int | |
import GHC.Prim |
{-# Language ExistentialQuantification, GADTs #-} | |
module Control.Process where | |
import Data.Monoid | |
import Prelude hiding (zip, zipWith) | |
import Control.Applicative | |
import System.IO | |
data Process f a = Halt |
module Weird where | |
open import Coinduction | |
open import Function | |
open import Data.Empty | |
open import Data.Product | |
open import Data.Conat | |
open import Relation.Nullary | |
open import Relation.Nullary.Negation | |
open import Relation.Unary as U |
Require Import Utf8. | |
Inductive subtype (a b : Set) : Set := | |
| ST : (a -> b) -> subtype a b. | |
Infix ":>" := subtype (at level 50). | |
Definition st {x y} f := ST x y f. | |
Definition unpack {a b : Set} (st : a :> b) := |
{-# LANGUAGE RankNTypes, DeriveFunctor #-} | |
{-# LANGUAGE FlexibleInstances, TypeSynonymInstances #-} | |
module Main where | |
import Criterion.Main (defaultMain, bench, bgroup, nf) | |
-------------------------------------------------------------------------------- | |
-- Fixed points of a functor | |
newtype Mu f = Mu { muF :: f (Mu f) } |
source :rubygems | |
gem "rack" |
SourceTree does not yet officially support Kaleidoscope 2, so here is how to set it up:
In Preferences, under Diff:
You can try selecting Kaleidoscope, but we have had reports of mixed results. Some people have rebuilt their launch services database and restarted and been able to use Kaleidoscope this way:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain use
module CYK | |
where | |
import Control.Monad | |
import Data.Array.IArray | |
import Data.Array.MArray | |
import Data.Array.ST | |
import Data.Maybe | |
import qualified Data.Map as M |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: