View mutualrecursion.hs
-- module of natural number properties ... and stuff
module Naturally where
import Prelude hiding (even, odd)
-- recursive data structure
data Nat = Zero -- base case is "zero"
| Succ Nat -- successor of another Nat is the "recursive" case data constructor
deriving (Eq)
View RUBY_v2.4.0.md

Unified Fixnum and Bignum into Integer

It's backward compatible too.

$ irb
irb(main):001:0> RUBY_VERSION
=> "2.3.1"
irb(main):002:0> (2**100).class
=> Bignum
View myservice.nix
# Abstract
{ mkService, serviceArtifact, privateIfc, lbSource, authService, dataService, logService, logPath, secretsPath }:
mkService {
name = "service-name";
version = "0.1.2";
artifacts = [ serviceArtifact ];
listens = [ { type = "tcp"; port = 9999; interface = privateIfc; } ];
accepts = [ lbSource ]; # traffic sources to accept traffic from.
talks = [ authService dataService logService ]; # this allows auto configuration given the service definitions of those in the specific environment.
writes = [ logPath ];
View RULE41.md
View .Xdefaults
!! Things to include in your ~/.Xdefaults
! Ensure font-size is included in your URxvt.perl-ext comma separated list of extensions, like below
URxvt.perl-ext: default,matcher,fullscreen,font-size,url-select,selection-to-clipboard
! specify the step font-size for incrementing and decrementing
URxvt.font-size.step: 1
! Bind Ctrl+Up and Ctrl+Down to font increment and decrement respectively
URxvt.keysym.C-Up: perl:font-size:incglobal
URxvt.keysym.C-Down: perl:font-size:decglobal
View README.md
[nix-shell:~/src]$ cat x.rb y.rb crap.rb
# x.rb
load 'crap.rb'
load 'crap.rb'
# y.rb
require 'crap.rb'
require 'crap.rb'
# crap.rb
puts 'hi'
View .gpgopts
--recipient GPG64BITKEYID
View USAGE.md

nix-query usage

$ nix-query gifsicl
error: selector ‘gifsicl’ matches no derivations
?=1 | Error

$ nix-query gifsicle
nixos.gifsicle  gifsicle-1.88  Command-line tool for creating, editing, and getting information about GIF images and animations
?=0 | OK
View lstnix.sty
\definecolor{identifiercolor}{rgb}{0.8,0.6,0.9}
\definecolor{keywordcolor}{rgb}{0.6,0.9,0.6}
\definecolor{commentcolor}{rgb}{0.8,0.8,0.9}
\definecolor{stringcolor}{rgb}{0.5,0.6,0.9}
\lstdefinelanguage{Nix}{
% Anything betweeen $ becomes LaTeX math mode
mathescape=false,
% Comments may or not include Latex commands
texcl=false,
keywords=[1]{inherit,import,if,then,else,false,true,or,rec,let,in,assert,with},
View finger.txt
___ __ _____ _____ ____ ___ _____
|_ _| / /|___ / | ___|| _ \ ( _ ) |_ _|_ _ _ __ ___ ___
| | / / |_ \ | |_ | |_) | / _ \/\ | | | | | || '_ \ / _ \/ __|
| | \ \ ___) | | _| | __/ | (_> < | | | |_| || |_) || __/\__ \
|___| \_\|____/ |_| |_| \___/\/ |_| \__, || .__/ \___||___/
|___/ |_|