This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am iffyuva on github. | |
* I am iffyuva (https://keybase.io/iffyuva) on keybase. | |
* I have a public key ASBwKegf9FzYK6QarYyqovbpZ5A2n3fFs3KbalQMaoBdOQo | |
To claim this, I am signing this object: |
This file contains 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
#include <iostream> | |
class square {}; | |
class circle {}; | |
template <typename T> | |
void f(T) { std::cout << "default template" << std::endl; } | |
void f(square) { std::cout << "square" << std::endl; } | |
void f(circle) { std::cout << "circle" << std::endl; } |
This file contains 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
[[:connection, | |
"GET /_theme HTTP/1.1\r\n" + | |
"Host: dev.test.dev\r\n" + | |
"User-Agent: curl/7.51.0\r\n" + | |
"Accept: */*\r\n" + | |
"\r\n"]] | |
[["0f06d8f0-4e0d-0135-4206-60accb741930", :conn_complete]] | |
[[:connected]] |
This file contains 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
rake authors[commit_range,format,sep] # list of authors | |
rake clean # Remove any temporary products | |
rake clobber # Remove any generated files | |
rake doc # Generate RDoc under doc/api | |
rake install:all # Build and install all of the gems as local gems | |
rake install:rack-protection # Build and install rack-protection as local gem | |
rake install:sinatra # Build and install sinatra as local gem | |
rake install:sinatra-contrib # Build and install sinatra-contrib as local gem | |
rake package:all # Build all packages | |
rake package:rack-protection # Build rack-protection packages |
This file contains 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
opensource/sinatra git> be rake -T | |
rake authors[commit_range,format,sep] # list of authors | |
rake clean # Remove any temporary products | |
rake clobber # Remove any generated files | |
rake doc # Generate RDoc under doc/api | |
rake install:all # Build and install all of the as local gems | |
rake install:rack-protection # Build and install rack-protection as local gem | |
rake install:sinatra # Build and install sinatra as local gem | |
rake install:sinatra-contrib # Build and install sinatra-contrib as local gem | |
rake package:all # Build all packages |
This file contains 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/bash | |
zeus_error_code=2 | |
while [ $zeus_error_code -ne 0 ] && [ $zeus_error_code -ne 1 ] | |
do | |
zeus "$@" | |
zeus_error_code=$? | |
done |
This file contains 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 ruby | |
# | |
# link <src> --to <dest> | |
require 'optparse' | |
options = {} | |
parser = OptionParser.new do |opts| | |
opts.on('--to n') { |v| options[:to] = v } | |
end |
This file contains 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
opensource/rbkit git:(master)> be rake ruby-2.2.3 | |
checking for rb_postponed_job_register_one()... yes | |
checking for rb_profile_frames()... yes | |
checking for rb_tracepoint_new()... yes | |
checking for RUBY_INTERNAL_EVENT_NEWOBJ... yes | |
checking for main() in -lzmq... yes | |
checking for zmq.h... no | |
checking for main() in -lstdc++... yes | |
checking for main() in -lzmq... yes | |
checking for zmq.h... yes |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.codemancers.invoker</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>sh</string> | |
<string>-c</string> |
This file contains 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
diff --git a/Gemfile b/Gemfile | |
index ec44331..4b7a8f1 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -65,6 +65,9 @@ group :development do | |
# for style-guide. Need coderay also. But, pry seems to import it. | |
gem 'kss', '~> 0.5.0' | |
+ | |
+ # for profiling. |
NewerOlder