This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
OTP_VERSION=$(erl -noinput \ | |
-noshell \ | |
-eval 'io:fwrite(erlang:system_info(otp_release)).' \ | |
-s init stop) | |
PLT_DIR="$HOME/.dialyzer/${OTP_VERSION}" | |
CURRENT_APP=$(basename $(pwd)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted/internet/_sigchld.so | |
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted/internet | |
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted/protocols/_c_urlarg.so | |
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted/protocols | |
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted/python/_initgroups.so | |
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted/python | |
SpiderOak.app//Contents/Resources/lib/python2.7/lib-dynload/twisted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(multiple_expect_results). | |
-include_lib("eunit/include/eunit.hrl"). | |
multiple_results_test() -> | |
ok = meck:new(some_mod), | |
meck:expect(some_mod, get_pid, fun() -> self() end), | |
meck:expect(some_mod, some_fun, | |
fun() -> | |
receive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% @author David Reid <[email protected]> | |
%% @copyright 2011 Mochi Media, Inc. | |
%% @doc Stub MochiWeb HTTP Request module implementation for testing. | |
-module(stub_mochiweb_request). | |
-record(stub_mochiweb_request, {options, headers, response_pid}). | |
%% Constructors and static method exports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li> | |
<a href="{{link}}"> | |
{{title}} — {{author_name}} | |
</a> | |
</li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import re | |
import sys | |
import urllib | |
import datetime | |
from xml.etree import ElementTree as ET | |
MARKDOWN_TEMPLATE=""" | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun add-to-PATH (dir) | |
"Add the specified path element to the Emacs PATH" | |
(interactive "DEnter directory to be added to PATH: ") | |
(if (file-directory-p dir) | |
(setenv "PATH" | |
(concat (expand-file-name dir) | |
path-separator | |
(getenv "PATH"))))) | |
(defun activate-virtualenv (dir) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env escript | |
%% -*- erlang -*- | |
main(_) -> | |
code:add_path("effigy/src"), | |
io:format("-- Before --~n~p~n", [hello:module_info()]), | |
{ok, _Cover} = cover:start(), | |
{ok, CoverModule} = cover:compile("hello.erl"), |
NewerOlder