#Usage
Install watchman
, and then run ./autobuild
.
Modify restart
such that it builds your project appropriately, and modify the ENV=some_program
line to instead be whatever program you wanted to run.
! foreground/background | |
URxvt.background: #300a24 | |
URxvt.foreground: #FFFFFF | |
! black | |
URxvt.color0 : #000000 | |
URxvt.color8 : #555753 | |
! red | |
URxvt.color1 : #CC0000 | |
URxvt.color9 : #EF2929 | |
! green |
#Usage
Install watchman
, and then run ./autobuild
.
Modify restart
such that it builds your project appropriately, and modify the ENV=some_program
line to instead be whatever program you wanted to run.
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
let | |
su_exec = pkgs.stdenv.mkDerivation { | |
name = "su-exec-0.2"; | |
src = fetchurl { | |
url = https://github.com/ncopa/su-exec/archive/v0.2.tar.gz; | |
sha256 = "09ayhm4w7ahvwk6wpjimvgv8lx89qx31znkywqmypkp6rpccnjpc"; |
VGG_ILSVRC_19_layers_train_val.prototxt | |
name: "VGG_ILSVRC_19_layers" | |
layers { | |
name: "data" | |
type: DATA | |
include { | |
phase: TRAIN | |
} | |
transform_param { | |
crop_size: 224 |
#! /usr/bin/env bash | |
# WARNING NB This script wipes out the targeted host's root filesystem when it | |
# runs to completion. Any errors halt execution. set -x is used to help debug, | |
# as often a failed run leaves the system in an inconsistent state, requiring a | |
# rebuild (in DigitalOcean panel: Droplet Settings -> "Destroy" -> "Rebuild | |
# from original"). | |
# | |
# TO USE: | |
# - Add any custom config you want (see notes below) |
@namespace html url(http://www.w3.org/1999/xhtml); | |
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/* | |
Author: Twily | |
Description: Minimal flat styled tabs for Australis | |
Compitability: Firefox Nightly v31.0a1 - v32.0a1 (Australis) | |
CSS Variables were introduced to Firefox in v29.0a1 | |
Website: http://twily.info/ | |
import Control.Lens | |
import Data.Data | |
import Data.Data.Lens | |
-- This is like template, but it includes *all* descendants. | |
-- It started out as `cosmosOnOf biplate uniplate`, | |
-- but that only gives a Fold due to the Contravariant constraint on f. | |
-- This just inlines the composition of those functions, sans the Contravariant | |
-- constraint. | |
-- This probably violates many lens laws. |
{-# language KindSignatures #-} | |
{-# language PolyKinds #-} | |
{-# language DataKinds #-} | |
{-# language TypeFamilies #-} | |
{-# language RankNTypes #-} | |
{-# language NoImplicitPrelude #-} | |
{-# language FlexibleContexts #-} | |
{-# language MultiParamTypeClasses #-} | |
{-# language GADTs #-} | |
{-# language ConstraintKinds #-} |
Profunctor lenses | |
================= | |
First, we enable the RankNTypes extension which gives us 'forall' and also import some modules: | |
> {-# LANGUAGE RankNTypes #-} | |
> module ProfunctorLenses where | |
> import Data.Profunctor | |
> import Data.Tagged | |
> import Data.Bifunctor |
{-# Language TypeFamilies #-} | |
module Pcbt where | |
import Prelude hiding (lookup) | |
import Data.Set (Set) | |
import Data.Map (Map) | |
import qualified Data.Set as Set | |
import qualified Data.Map.Strict as Map | |
import Data.Maybe |