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 -w | |
# Convert .Xdefaults or similar terminal colors to iTerm2 scheme | |
# Only supports simple hex colors, no funny stuff | |
use strict; | |
print <<eof; | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
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
{-# LANGUAGE TemplateHaskell #-} | |
module Lens where | |
import Control.Lens | |
import Data.Monoid (First, (<>)) | |
data FooBar = | |
Foo (Either Int Bool) | |
| Bar (Maybe Bool) |
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
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE PatternSynonyms #-} | |
import Control.Applicative | |
import Control.Lens | |
import Control.Monad | |
import Data.ByteString (ByteString) | |
import qualified Data.ByteString.Lazy as BSL | |
import qualified Data.IORef as IORef |
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
build/ | |
node_modules/ |
OlderNewer