View README.md
View gist:f5a0c0c6977d9d24e237f1b5ba9afd18
#!/bin/sh
## Information
## http://carlo-hamalainen.net/blog/2007/12/11/installing-minion-pro-fonts/
## http://www.ctan.org/tex-archive/fonts/mnsymbol/
## 0: Install
## http://www.lcdf.org/type/
## I used --without-kpathsea to configure (with MacTeX 2011):
##
## ./configure --without-kpathsea
View catpdf
#!/bin/bash
if [ "$#" -ne 1 ] || ! [ -e "$1" ]; then
echo "Usage: $0 FILE"
exit 1
fi
hash pdftotext 2> /dev/null || { echo "pdftotext required"; exit 1; }
F=$(mktemp)
pdftotext -layout "$1" "$F" && cat "$F" && rm -f "$F"
View sampling.go
package main
import (
"fmt"
"math/rand"
"strconv"
"strings"
"time"
"github.com/fatih/color"
View System Design.md

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

1) Clarify and agree on the scope of the system

  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
View jajst.txt
org.apache.cocoon.ResourceNotFoundException: Page cannot be found
at org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.addBody(PageNotFoundTransformer.java:168)
at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
at org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.sendEvent(PageNotFoundTransformer.java:229)
at org.dspace.app.xmlui.aspect.general.PageNotFoundTransformer.endElement(PageNotFoundTransformer.java:145)
at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
at com.sun.proxy.$Proxy45.endElement(Unknown Source)
View logo.txt
.?77777777777777$.
777..777777777777$+
.77 7777777777$$$
.777 .7777777777$$$$
.7777777777777$$$$$$
..........:77$$$$$$$
.77777777777777777$$$$$$$$$.=======.
777777777777777777$$$$$$$$$$.========
7777777777777777$$$$$$$$$$$$$.=========
77777777777777$$$$$$$$$$$$$$$.=========
View eswriter.go
package main
import (
"bufio"
"bytes"
"io"
"log"
"strings"
"github.com/miku/esbulk"
View intset.go
package intset
import (
"bytes"
"fmt"
)
// IntSet, Ch 6.5, gopl.io
type IntSet struct {
words []uint64
View mtable-v1.py
#!/usr/bin/env python
# coding: utf-8
"""
Problem 1. Multiplication table, Principles of program design (1975).
1
2 4