Skip to content

Instantly share code, notes, and snippets.

View inhji's full-sized avatar
🚲
I'll make better mistakes tomorrow.

Jonathan Jenne inhji

🚲
I'll make better mistakes tomorrow.
View GitHub Profile
@inhji
inhji / betta_v2.js
Created August 20, 2014 08:56
betta_v2.js
var ß = (function(){
function _(value) {
this.value = value;
}
_.prototype = {
is: function(){
return new Object().toString.call(this.value).slice(8, -1).toLowerCase();
}
}
@inhji
inhji / atobtoa.js
Created September 22, 2014 12:58
AtoBtoA.js
//http://stackoverflow.com/questions/9786508/javascript-atob-returning-string-contains-an-invalid-character/9786592#9786592
function utf8_to_b64( str ) {
return window.btoa(unescape(encodeURIComponent( str )));
}
function b64_to_utf8( str ) {
return decodeURIComponent(escape(window.atob( str.replace(/\s/g, '') )));
}
@inhji
inhji / aliases.zsh
Created August 26, 2015 17:56
zsh aliases
# util
alias c='clear'
alias r='source ~/.bashrc'
# ls aliases
alias l='ls'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
@inhji
inhji / NotNull.vb
Created January 27, 2016 09:57
NotNull
Public Function NotNull(Of T)(ByVal value As T, Optional ByVal defaultValue As T) As T
If value Is Nothing OrElse String.IsNullOrEmpty(value.ToString) OrElse IsDBNull(value) Then
Return defaultValue
Else
Return value
End If
End Function
@inhji
inhji / InstallTrezorSSHAgent.md
Created January 21, 2018 12:53
Install Trezor SSH Agent on Ubuntu 16.04
  1. pip wget https://bootstrap.pypa.io/get-pip.py && python ./get-pip.py
  2. libudev-dev and libusb-dev sudo apt-get install libudev-dev libusb-1.0-0-dev
  3. trezor-agent sudo pip install trezor_agent
  4. libtrezor sudo pip install -e git+https://github.com/trezor/python-trezor.git#egg=trezor
<?php
$O0O_00__OO='BEGINJ6Pn2HmH0e568SXnR6KRkmP5tQbh7KEW';
$O_0O_0OO_0='hairbird10347';
$O0O00___OO=1695;
$O0_O0__O0O='B/C/D/F';
$OO0__O0_O0=411;
$O00__O_O0O=array("bronzed","guzzledom","kikki","intercirculate","lewdness","jaqueline","graftonite","flautist","lepa","incestuous","forecourse","barrack","balanophoraceous","gibber","amomis","misexpend","mobsman","diacaustic","misworshipper","buccula");;
$O_00O0_O_O='T1';
$O_O__000OO='|likeyou|';