A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
/* | |
* CPBundle.sj | |
* AppKit | |
* | |
* Created by Nicholas Small. | |
* Copyright 2009, 280 North, Inc. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; either |
#include <stdio.h> | |
#include <stdlib.h> | |
struct closure { | |
void (* call)(struct closure *); | |
int x; | |
}; |
/*! | |
Created by Randy Luecke April 22nd 2011 | |
Copyright RCLConcepts, LLC. | |
All right reserved. | |
This code is available under the MIT license. | |
*/ |
@ECHO OFF | |
REM -- Automates cygwin installation | |
SETLOCAL | |
REM -- Change to the directory of the executing batch file | |
CD %~dp0 | |
REM -- Configure our paths | |
SET SITE=http://mirrors.kernel.org/sourceware/cygwin/ |
/** | |
* fullscreenify() | |
* Stretch canvas to size of window. | |
* | |
* Zachary Johnson | |
* http://www.zachstronaut.com/ | |
* | |
* See also: https://gist.github.com/1178522 | |
*/ |
%%%---------------------------------------------------------------------------- | |
%%% $ erl -noshell -s fibs main 40 | |
%%% TRANSLATED ARRAY: 102334155 0.001755 seconds | |
%%% TRANSLATED LIST: 102334155 0.000048 seconds | |
%%% REVERSE ORDER LIST: 102334155 0.000004 seconds | |
%%% MINIMAL ARITHMETIC: 102334155 0.000001 seconds | |
%%% NAIVE RECURSIVE: 102334155 8.383385 seconds | |
%%%---------------------------------------------------------------------------- | |
/* | |
* async_nif: An async thread-pool layer for Erlang's NIF API | |
* | |
* Copyright (c) 2012 Basho Technologies, Inc. All Rights Reserved. | |
* Author: Gregory Burd <[email protected]> <[email protected]> | |
* | |
* This file is provided to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at: | |
* |
# Elixir on Erlang | |
# | |
# VERSION 0.13.2 | |
FROM sntran/kerl | |
MAINTAINER Son Tran-Nguyen "[email protected]" | |
RUN apt-get install -y unzip | |
RUN mkdir -p /opt/erlang/elixir | |
RUN cd /opt/erlang/elixir && curl -L -O https://github.com/elixir-lang/elixir/releases/download/v0.13.2/Precompiled.zip && unzip Precompiled.zip |
%% Fibonacci number generator in Erlang | |
%% by Hynek Vychodil <[email protected]> 3-JAN-2014 | |
%% Distributed under MIT license at the end of the source code. | |
-module(fib). | |
-export([fib/1]). | |
% NOTE: Native compilation (HiPE) doesn't improve efficiency due heavy integer | |
% bignum computations as observed in R16 |