Max Treskin Zert

View gist:10382771
1
[begin D3 = (N rem 3) == 0, D5 = (N rem 5) == 0, if not (D3 or D5) -> N; (D3 and D5) -> fizz_buzz; D3 -> fizz; D5 -> buzz end end || N <- lists:seq(1,30)].
View n2o_dialyzer
1 2 3 4 5 6 7
Checking whether the PLT .n2o_dialyzer.plt is up-to-date... yes
Proceeding with analysis...
element_dropdown.erl:14: The pattern {'button', _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _} can never match the type #dropdown{}
n2o_cowboy.erl:27: Function cookie/3 has no local return
n2o_cowboy.erl:27: The call n2o_cowboy:cookie(Cookie::any(),Value::any(),"/",0,Req::any()) will never return since it differs in the 3rd argument from the success typing arguments: (binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary() | maybe_improper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []),binary(),non_neg_integer(),cowboy_req:req())
n2o_cowboy.erl:31: Function delete_cookie/2 has no local return
n2o_cowboy.erl:31: The call n2o_cowboy:cookie(Cookie::any(),[],"/",0,Req::any()) will never return since it differs in the 3rd argument from the success typing arguments: (binary() | maybe_improper_list(binary() | mayb
View Makefile
1 2 3 4 5 6 7 8 9 10
 
PLT_NAME=.n2o_dialyzer.plt
 
$(PLT_NAME):
@ERL_LIBS=deps dialyzer --build_plt --output_plt $(PLT_NAME) \
--apps erts kernel stdlib sasl crypto xmerl cowboy \
erlydtl gproc mimetypes ranch sync || true
 
dialyze: $(PLT_NAME)
@dialyzer deps/n2o/ebin deps/n2o_sample/ebin deps/n2o_scripts/ebin --plt $(PLT_NAME) \
View col.el
1 2 3 4 5 6 7 8 9 10
(defun color-cie-de2000 (color1 color2 &optional kL kC kH)
"Return the CIEDE2000 color distance between COLOR1 and COLOR2.
Both COLOR1 and COLOR2 should be in CIE L*a*b* format, as
returned by `color-srgb-to-lab' or `color-xyz-to-lab'."
(pcase-let*
((`(,L ,a ,b) color1)
(`(,L ,a ,b) color2)
(kL (or kL 1))
(kC (or kC 1))
(kH (or kH 1))
View -
1 2 3 4 5 6 7 8 9
-> % rust pkg install github.com/wycats/rust-activesupport
/Users/zert/Work/Rust/.rust/src/github.com/wycats/rust-activesupport-0.1/time.rs:45:14: 45:17 error: found `self` in ident position
/Users/zert/Work/Rust/.rust/src/github.com/wycats/rust-activesupport-0.1/time.rs:45 pub fn year(mut self, year: int) -> Time {
^~~
/Users/zert/Work/Rust/.rust/src/github.com/wycats/rust-activesupport-0.1/time.rs:45:22: 45:23 error: expected `:` but found `,`
/Users/zert/Work/Rust/.rust/src/github.com/wycats/rust-activesupport-0.1/time.rs:45 pub fn year(mut self, year: int) -> Time {
^
task <unnamed> failed at 'explicit failure', /private/tmp/rust-u62U/rust-0.8/src/libsyntax/diagnostic.rs:72
task <unnamed> failed at 'receiving on closed channel', /private/tmp/rust-u62U/rust-0.8/src/libstd/rt/comm.rs:188
View cowbug_handler.erl
1 2 3 4 5 6 7 8 9 10
-module (cowbug_handler).
 
-export([start/0]).
-export([init/3, handle/2, terminate/3]).
 
 
start() ->
[application:start(A) ||
A <-
[
View gist:8143251
1 2
-> % echo 'adsd werwer' | sed 's/[:space:]+/,/g'
adsd werwer
View gist:8093715
1 2 3 4 5 6 7 8 9 10
zert@uranium [03:57:06] [~/Music/Orbital Discography]
-> % ls -l
total 0
drwxrwxrwx 24 zert staff 816 Oct 15 00:17 Albums
drwxrwxrwx 21 zert staff 714 Oct 14 23:51 Foto
drwxrwxrwx 44 zert staff 1496 Oct 15 00:07 Singles and EPs
zert@uranium [03:57:19] [~/Music/Orbital Discography]
-> % find . -name '*.flac' | head
./Albums/1991 - Orbital - Orbital (EU Green Album - 8282482)/01 - The Moebius.flac
./Albums/1991 - Orbital - Orbital (EU Green Album - 8282482)/02 - Speed Freak.flac
View .slate
1 2 3 4 5 6 7 8 9 10
# This is the default .slate file.
# If no ~/.slate file exists this is the file that will be used.
 
config defaultToCurrentScreen true
#config nudgePercentOf screenSize
#config resizePercentOf screenSize
config windowHintsShowIcons true
config windowHintsIgnoreHiddenWindows false
config windowHintsSpread true
config windowHintsSpreadSearchWidth 100
View gist:7688437
1 2 3 4 5 6 7 8 9 10
PLT_NAME=.projectname_dialyzer.plt
 
$(PLT_NAME):
@ERL_LIBS=../erllib/deps dialyzer --build_plt --output_plt $(PLT_NAME) \
--apps erts kernel stdlib sasl crypto lager jiffy \
amqp_client rabbit_common || true
 
dialyze: $(PLT_NAME)
@dialyzer apps/projectname/ebin --plt $(PLT_NAME) --no_native \
-Werror_handling -Wunderspecs -Wrace_conditions
Something went wrong with that request. Please try again.