I hereby claim:
- I am chriskacerguis on github.
- I am chriskacerguis (https://keybase.io/chriskacerguis) on keybase.
- I have a public key ASCKKhzMSYO7LHRKTSAi53ILdWL31AQR_PrHcmU2etmi1wo
To claim this, I am signing this object:
| #!/bin/bash | |
| # Step 1: Generate a 32-character alphanumeric string | |
| KEY=$(LC_ALL=C tr -dc 'A-Za-z0-9' </dev/urandom | head -c 32) | |
| # Step 2: Convert to hex | |
| HEX=$(echo -n "$KEY" | xxd -p | tr -d '\n') | |
| # Step 3: Format hex in 4-character blocks | |
| FORMATTED=$(echo "$HEX" | sed 's/.\{4\}/& /g' | sed 's/ $//') |
| function using(res, fn) { | |
| var pRes = Promise.cast(res); | |
| return pRes.then(fn).finally(() => { | |
| return pRes.then((res) => { | |
| return res.close(); | |
| }); | |
| }); | |
| } |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| if [ ! -f /tmp/last_build.txt ]; then | |
| touch /tmp/last_build.txt | |
| fi | |
| current_build=`curl -H "Travis-API-Version: 3" -s https://api.travis-ci.org/repo/14706137/branch/master | jq .last_build.number` | |
| current_build="${current_build%\"}" | |
| current_build="${current_build#\"}" |
| { | |
| "git.confirmSync": false, | |
| "editor.tabSize": 2, | |
| "editor.minimap.enabled": false, | |
| "workbench.editor.showIcons": true, | |
| "workbench.iconTheme": "vs-seti", | |
| "workbench.startupEditor": "newUntitledFile" | |
| } |
First, install some (probably) important libraries:
apt-get update apt-get install libgnutls28-dev libgnutlsxx28
Download, build and install libmicrohttpd
cd wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.19.tar.gz tar zxvf libmicrohttpd-0.9.19.tar.gz
| +18005671757 |
| app.filter('_uriseg', function($location) { | |
| return function(segment) { | |
| // Get URI and remove the domain base url global var | |
| var query = $location.absUrl().replace(BASE_URL,""); | |
| // To obj | |
| var data = query.split("/"); | |
| // Return segment *segments are 1,2,3 keys are 0,1,2 | |
| if(data[segment-1]) { | |
| return data[segment-1]; | |
| } |