Skip to content

Instantly share code, notes, and snippets.

Zachary Scott zzak

Block or report user

Report or block zzak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View agile-poker-fullscreen.user.js
// ==UserScript==
// @name Agile Poker Fullscreen
// @namespace http://tampermonkey.net/
// @version 0.2
// @updateURL https://gist.github.com/zzak/2dc3c582db686c02b4ec1fd313bb6e42/raw/agile-poker-fullscreen.user.js
// @description Make the Agile Poker modal dialog fullscreen (desktop friendly)
// @author Zachary Scott <zzak>
// @match https://agile-poker-production.herokuapp.com/*
// @require https://cdnjs.cloudflare.com/ajax/libs/arrive/2.4.1/arrive.min.js
// @grant GM_addStyle
@zzak
zzak / config.yml
Last active Aug 24, 2018 — forked from pamo/config.yml
CircleCI 2.0 Workflows
View config.yml
references:
defaults: &defaults
working_directory: ~/app
docker:
- image: circleci/node:8.1.4-browsers
npm_permissions: &npm_permissions
run:
name: set-user-permissions
@zzak
zzak / gist:70478cd7c3b7124ecc97ed19a336dfd5
Created Apr 25, 2017
Most commits to Ruby since 2012
View gist:70478cd7c3b7124ecc97ed19a336dfd5
~/code/ruby => git shortlog -s -n --all --since=2012
7701 nobu
2156 svn
1686 naruse
1629 usa
1550 nagachika
1393 akr
1219 ko1
703 hsbt
624 kazu
View elixir-getting-started
wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
sudo apt-add-repository "https://packages.erlang-solutions.com/ubuntu yaketty contrib"
sudo apt-get update
sudo apt-get install erlang
View gist:712f87746e23d06406663853da743eb7
## Shibuya.lisp#50
twitter: @shibuya_lisp
hashtag: #lispmeetup
event: https://lisp.connpass.com/event/52912/
survey: https://twitter.com/shibuya_lisp/status/834710395868766208
cl-cudd
decision diagram
View results.txt
Warming up --------------------------------------
Forwardable 148.719k i/100ms
Send 334.975k i/100ms
Simple call 380.722k i/100ms
Calculating -------------------------------------
Forwardable 1.999M (± 5.0%) i/s - 10.113M in 5.073999s
Send 7.768M (± 5.4%) i/s - 38.857M in 5.018102s
Simple call 10.120M (± 6.8%) i/s - 50.636M in 5.027285s
@zzak
zzak / bench.md
Created May 16, 2016
Sinatra `time rake spec` with therubyracer vs. mini_racer
View bench.md

therubyracer

Finished in 18.184895s, 58.8400 runs/s, 130.3829 assertions/s.

1070 runs, 2371 assertions, 0 failures, 0 errors, 0 skips

real    0m25.964s
user    0m11.628s
sys     0m2.011s
View sinatra-two-point-oh.md

This is a gist to track the feature development for Sinatra 2.0.

Where can I find the latest changes?

Keep an eye on the CHANGELOG which is updated as features and bug fixes land. We generally try to keep this limited to "major" changes to cut down on cruft.

Is there a roadmap?

At the moment, there's a milestone for 2.0.0 on the issue tracker. But we'll try to land as many features as we can in the next release. No promises.

View build_config.rb
MRuby::CrossBuild.new('x86_64-apple-darwin14') do |conf|
toolchain :clang
# include the default GEMs
conf.gembox 'default'
[conf.cc, conf.objc, conf.asm].each do |cc|
cc.command = 'x86_64-apple-darwin14-clang'
end
conf.cxx.command = 'x86_64-apple-darwin14-clang++'
View glob.diff
--- mrbgem_dir_glob.rb 2015-06-17 12:55:13.000000000 -0400
+++ rbx_dir_glob.rb 2015-06-17 12:55:28.000000000 -0400
@@ -47,7 +47,7 @@
def call(env, parent)
path = path_join(parent, @name)
- if File.exists? path
+ if File.exist? path
env.matches << path
end
You can’t perform that action at this time.