I hereby claim:
- I am jstoks on github.
- I am jstoks (https://keybase.io/jstoks) on keybase.
- I have a public key ASDLN5C53OXN0Neug7Z-6HsGXM6he6LF1SbH0ICCMLLHrwo
To claim this, I am signing this object:
# Keyboards for a Better You | |
--- | |
##### Keyboard Layouts | |
##### Mechanical Keyboards | |
##### Ergonomics | |
--- |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# For when you just can't decide what to eat for lunch | |
if ARGV.first == '-h' | |
puts "Whatchu want for lunch?" | |
end | |
contents= %w{corn meat beef ham bacon chicken pork cheese potato tofu pickle} | |
forms = %w{dogs balls legs burgers nachos salad potpie sandwich noodles rice omlette} | |
(ARGV.first || 1).to_i.times do |
require "wisper" | |
# Encapsulates a high level operation or business usecase | |
class Operation | |
include Wisper::Publisher | |
class Error < RuntimeError; end | |
class HaltOperation < RuntimeError; end | |
# Registeres a code as a possible response |
skinparam Activity { | |
ArrowColor | |
ArrowFontColor | |
ArrowFontName | |
ArrowFontSize | |
ArrowFontStyle | |
BackgroundColor | |
BarColor | |
BorderColor | |
BorderThickness |
def DuckCall(method_name, callable = nil, &block) | |
callable = block unless callable | |
callable.define_singleton_method(method_name) do |*args| | |
call(*args) | |
end | |
callable | |
end |
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "Must provide at least one dank argument." | |
echo "Usage: `basename \"$0\"` outline inner outer" | |
exit 1 | |
fi | |
read -r -d '' S << TheS | |
++++000++++ |
#!/usr/bin/env ruby | |
#mysqldump --add-drop-table source_db | replace CHARSET=latin1 CHARSET=utf8 | replace "CHARACTER SET latin1" "CHARACTER SET utf8" | replace '),(' $'),\n(' | latin1_to_utf8.rb | mysql --default-character-set=utf8 dest_db | |
def latin1_to_utf8(str) | |
str.dup.encode('cp1252',fallback: { | |
"\u0081" => "\x81".force_encoding("cp1252"), | |
"\u008D" => "\x8D".force_encoding("cp1252"), | |
"\u008F" => "\x8F".force_encoding("cp1252"), | |
"\u0090" => "\x90".force_encoding("cp1252"), |
#!/bin/bash | |
echo "Manditory Installs" | |
echo 'Heroku Toolbelt - https://toolbelt.heroku.com/' | |
echo '' | |
echo "Recommended Installs" | |
echo "Chrome - https://www.google.com/chrome/browser/desktop/" | |
echo "iTerm2 - https://www.iterm2.com/" | |
echo 'Postman - https://getpostman.com' |