I hereby claim:
- I am runofthemill on github.
- I am runofthemill (https://keybase.io/runofthemill) on keybase.
- I have a public key ASDm6AAKR6eXu1Ok4GDiQbRl_HGuTy4EcsYjFSRvXrka-Qo
To claim this, I am signing this object:
var _ = require('lodash'); | |
var hand = [] | |
var input = [process.argv[2], process.argv[3], process.argv[4], process.argv[5], process.argv[6]] | |
var isSuited | |
var isStraight | |
var sortedHand = [] | |
var cardOrder = ['A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K'] | |
var analyzeHand = function() { |
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
var t = prompt("Enter text to be sent to console, (This wont send the enter keystroke)").split(""); | |
function f() { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = "!@#$%^&*()_+{}:\"<>?~|".indexOf(character) !== -1 |
root() { | |
local root | |
if [[ "$PWD" == *"/trellis"* ]]; then | |
root=${PWD%/trellis*} | |
elif [[ "$PWD" == *"/site"* ]]; then | |
root=${PWD%/site*} | |
elif [[ -d "$PWD/trellis" || -d "$PWD/site" ]]; then | |
root=${PWD} | |
fi |
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
window.sendString = function (str) { | |
f(str.split("")); | |
function f(t) { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = character.match(/[a-z!@#$%^&*()_+{}:\"<>?~|]/); |
# | |
# Vagrant | |
# | |
# Vagrant is a tool for building and managing virtual machine environments in a single workflow. | |
# Link: https://www.vagrantup.com | |
# ------------------------------------------------------------------------------ | |
# Configuration | |
# ------------------------------------------------------------------------------ |
I hereby claim:
To claim this, I am signing this object:
<?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>ACPI</key> | |
<dict> | |
<key>Add</key> | |
<array> | |
<dict> | |
<key>Comment</key> |
Source custom.zsh
in your zsh profile, then in iTerm 2 go to Preferences -> Profiles -> Session
, and under Miscellaneous check "Status bar enabled" then click "Configure Status Bar".
Add an Interpolated String component, then configure the String Value to be \(user.nodeVersion)
(adjust to match the name of the variable set in iterm2_print_user_vars()
, if different)
Now when you load a new session with the configured profile, the Status Bar will show "unset" until node is loaded from nvm, and will show the correct version whenever nvm use
is called.