I hereby claim:
- I am morgant on github.
- I am morgant (https://keybase.io/morgant) on keybase.
- I have a public key ASBYIZBmTq0sdXPwOvb5jluT37dE3napZNsnO5rRq12i1Ao
To claim this, I am signing this object:
| #!/bin/ksh | |
| # Help message | |
| usage() { | |
| echo "Usage: $0 [-s screen] [-l] [-h]" | |
| echo " -s screen Select screen number (0, 1, 2, etc.)" | |
| echo " -l List available screens" | |
| echo " -h Show this help message" | |
| exit 1 | |
| } |
| maxUnsigned = 0x1FFFFFFF | |
| bitsInUnsigned = int(29) | |
| seventyFivePercent = int(22) | |
| twelvePercent = int(4) | |
| highBits = 0x1E000000 | |
| lowBits = 0x01FFFFFF | |
| def generateRegCode(userName): | |
| reg = "" | |
| sn = "" |
| authority letsencrypt { | |
| api url "https://acme-v02.api.letsencrypt.org/directory" | |
| account key "/etc/acme/letsencrypt-privkey.pem" | |
| } | |
| # example.net | |
| domain example.net { | |
| alternative names { www.example.net } | |
| domain key "/etc/ssl/private/example.net.key" | |
| domain certificate "/etc/ssl/example.net.crt" |
| export default { | |
| get(page) { | |
| return this.all().find(p => p.page == page) | |
| }, | |
| all() { | |
| return [ | |
| { | |
| page: 'signup', | |
| title: 'Sign up', | |
| subtitle: 'Please enter your name, email and set a password.', |
I hereby claim:
To claim this, I am signing this object:
| # dump to another server | |
| mysqldump -u MYSQL_USERNAME -p YOUR_DATABASE | gzip -c | ssh USERNAME@YOUR_TO_HOST 'cat > ~/dump.sql.gz' | |
| # dump from another server | |
| ssh USERNAME@YOUR_TO_HOST 'mysqldump -u MYSQL_USERNAME -pPASSWORD YOUR_DATABASE | gzip -c' > ~/dump.sql.gz |
| function getFnName(fn) { | |
| var f = typeof fn == 'function'; | |
| var s = f && ((fn.name && ['', fn.name]) || fn.toString().match(/function ([^\(]+)/)); | |
| return (!f && 'not a function') || (s && s[1] || 'anonymous'); | |
| } | |
| function currentFnName() { | |
| try { | |
| return getFnName(arguments.caller); | |
| } catch(e) { |
| Wed Jun 10 08:43:17 EDT 2015 | |
| make | |
| CC=/usr/local/bin/gcc-4.2 | |
| CXX=/usr/local/bin/g++-4.2 | |
| OTHER_CPPFLAGS=-I/usr/local/opt/libunwind-headers/include -I/usr/local/opt/dyld-headers/include -I/usr/local/opt/cctools-headers/include | |
| OTHER_LDFLAGS=-L/usr/local/lib -Wl,-headerpad_max_install_names | |
| OTHER_LDFLAGS_LD64=-lcrypto | |
| touch src/ld/configure.h |
| Process: asterisk [42090] | |
| Path: /usr/local/sbin/asterisk | |
| Identifier: asterisk | |
| Version: ??? | |
| Code Type: X86-64 (Native) | |
| Parent Process: asterisk [42047] | |
| Responsible: Terminal [315] | |
| User ID: 0 | |
| Date/Time: 2014-11-24 16:01:41.259 -0500 |
| $ LDFLAGS=-L/opt/local/lib \ | |
| > CFLAGS=-I/opt/local/include \ | |
| > CPPFLAGS=-I/opt/local/include \ | |
| > ./configure \ | |
| > --without-netsnmp | |
| checking build system type... x86_64-apple-darwin14.0.0 | |
| checking host system type... x86_64-apple-darwin14.0.0 | |
| checking for gcc... gcc | |
| checking whether the C compiler works... yes | |
| checking for C compiler default output file name... a.out |