rbenv install 2.7.6
rbenv global 2.7.6export GEM_HOME="$HOME/.gem"
eval "$(rbenv init -)"| BANNED_STATES = [ | |
| ['Ontario', 'CA'], | |
| ['ON', 'CA'], | |
| ['British Columbia', 'CA'], | |
| ['BC', 'CA'], | |
| ['Crimea', 'UA'], | |
| ['Crimea', 'RU'], | |
| ].freeze | |
| # for turning off NYS investors after PrimeTrust no longer allows investors from there | |
| # updated to custodial offerings only |
| #!/bin/bash | |
| for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do | |
| ( | |
| syspath="${sysdevpath%/dev}" | |
| devname="$(udevadm info -q name -p $syspath)" | |
| [[ "$devname" == "bus/"* ]] && continue | |
| eval "$(udevadm info -q property --export -p $syspath)" | |
| [[ -z "$ID_SERIAL" ]] && continue | |
| echo "/dev/$devname - $ID_SERIAL" |
| <!doctype html> | |
| <html> | |
| <head> | |
| <style> | |
| .call-out { position:relative; width:100%; } | |
| .call-out .img-container { position:absolute; top:0; left:0; width:70px; } | |
| .call-out .img-container img { display:block; width:100%; vertical-align:middle } | |
| .call-out .content { margin:0 8px 0 78px; } | |
| .call-out .content p { margin:0; padding:0; } | |
| .call-out .content .title { margin-bottom: 8px; padding:0; font-weight:900; } |
| $states = array( | |
| "CA" => array( | |
| "AB" => "Alberta", | |
| "BC" => "British Columbia", | |
| "MB" => "Manitoba", | |
| "NB" => "New Brunswick", | |
| "NL" => "Newfoundland/Labrador", | |
| "NT" => "Northwest Territory", | |
| "NS" => "Nova Scotia", | |
| "NU" => "Nunavut Territory", |
| // back page | |
| var $shadow = document.querySelector( '#shadow-process' ); | |
| function pingStorage() { | |
| var to = setTimeout( function() { | |
| if( 'true' === localStorage.getItem( 'state' ) ) { | |
| $shadow.style.display = 'none'; | |
| localStorage.setItem ( 'state', 'false' ); | |
| } |