Skip to content
View ocaml-object-system.ml
(* Source: http://pastebin.com/YsUs4Kfa *)
(* ocaml's object system is quite unique and rarely used, despite it actually being pretty awesome
* I call it "statically typed duck typing" because that's what it is
*)
(* let's define a """class"""
* your basic example of a linked-list
*)
let node (x, y) = object
View analyze.go
package main
import (
"bufio"
"fmt"
"os"
"regexp"
"sort"
"strconv"
"strings"
View markdeep.md.html
**Markdeep Feature Demo**
Morgan McGuire
This document shows the features of
[Markdeep](http://casual-effects.com/markdeep). Markdeep is a text
formatting syntax that extends Markdown, and a Javascript program for
making it work in browsers. The two most powerful features are its
ability to run in any **web browser** on the client side and the
inclusion of **diagrams**.
View postgresql_configuration_on_ubuntu_for_rails.md

Abstract

You could have postgre installed on localhost with password (or without user or password seted after instalation) but if we are developing we really don't need password, so configuring postgre server without password for all your rails project is usefull.

Install Postgre packages

  • postgresql
  • postgresql-client
  • libpq-dev
View concurrency-in-go.md
View beamer-tutorial.tex
\documentclass[pdf]{beamer}
\mode<all>{\usetheme{Warsaw} \useoutertheme{splitRSI}}
\mode<handout>{\usecolortheme{seagull}}
\usepackage{rsislidepacks}
\usepackage{colortbl}
\usepackage{epstopdf}
\usenavigationsymbolstemplate{}
% title information
\title{Making Slides}
View sshpub-to-rsa
#!/usr/bin/env python
# with help and inspiration from
# * ASN1_generate_nconf(3) (specifically the SubjectPublicKeyInfo structure)
# * http://www.sysmic.org/dotclear/index.php?post/2010/03/24/Convert-keys-betweens-GnuPG%2C-OpenSsh-and-OpenSSL
# * http://blog.oddbit.com/2011/05/converting-openssh-public-keys.html
import sys
import base64
import struct
View phoenix showdown rackspace onmetal io.md

Comparative Benchmark Numbers @ Rackspace

I've taken the benchmarks from Matthew Rothenberg's phoenix-showdown, updated Phoenix to 0.13.1 and ran the tests on the most powerful machines available at Rackspace.

Results

Framework Throughput (req/s) Latency (ms) Consistency (σ ms)
View criteria.txt
Write a program that does what it’s supposed to do
Write idiomatic code
Debug a program that you wrote
Debug a program someone else wrote
Debug the interaction between a system you wrote and one you didn’t
File a good bug report
Modify a program you didn’t write
Test a program you wrote
Test a program you didn’t write
Learn a new programming language
Something went wrong with that request. Please try again.