Skip to content
View littlesquares.elm
import Color exposing (..)
import Graphics.Collage exposing (..)
import Graphics.Element exposing (..)
ltlsqr size color xmov ymov =
ngon 4 size
|> filled color
|> move (xmov,ymov)

You got your hands on some data that was leaked from a social network and you want to help the poor people.

Luckily you know a government service to automatically block a list of credit cards.

The service is a little old school though and you have to upload a CSV file in the exact format. The upload fails if the CSV file contains invalid data.

The CSV files should have two columns, Name and Credit Card. Also, it must be named after the following pattern:



To fix the problem -- Library not loaded: @rpath/libjvm.dylib

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/server/
open -a Rstudio
View markdown.css
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
View gist:2b22b48522e4613b710e
  1. General Background and Overview


Does nix have most of the software i've installed via brew?

list installed brew packages:

brew list -l | cut -d' ' -f 12 | sort > brew

Hyper File Server

Assuming a large directory with many sub-directories and varying file-types are expected to be available over HTTP.

This program should serve these files under the following requirements:

  • Serve up Markdown/rST/asciidoc etc., files as HTML (ie., behave as a "Handler" in Apache)
  • Render a predefined set of files (eg:, README.txt) as HTML files at the end of file listing in a directoy (ie., behave as ReadmeName in Apache)
  • Compressed files should be shown as browsable directory.
View init.c
#define _XOPEN_SOURCE 700
#include <signal.h>
#include <unistd.h>
int main()
sigset_t set;
int status;
if (getpid() != 1) return 1;
Something went wrong with that request. Please try again.