trying to get media playback functionality through side menu bar as well...
playing around with semantic ui
A Pen by Cameron Banowsky on CodePen.
#!/bin/bash | |
echo -e "\033[2J\033[?25l"; R=`tput lines` C=`tput cols`;: $[R--] ; while true | |
do ( e=echo\ -e s=sleep j=$[RANDOM%C] d=$[RANDOM%R];for i in `eval $e {1..$R}`; | |
do c=`printf '\\\\0%o' $[RANDOM%57+33]` | |
$e "\033[$[i-1];${j}H\033[32m$c\033[$i;${j}H\033[37m"$c; $s 0.1;if [ $i -ge $d ] | |
then $e "\033[$[i-d];${j}H ";fi;done;for i in `eval $e {$[i-d]..$R}`; #[mat!rix] | |
do echo -e "\033[$i;${j}f ";$s 0.1;done)& sleep 0.05;done |
#!/usr/bin/env bash | |
shopt -s extglob | |
set -o errtrace | |
set -o errexit | |
var express = require('express'), | |
path = require('path'), | |
http = require('http'), | |
app = module.exports = express(), | |
port = process.env.PORT || 3000, | |
engines = require('consolidate'); | |
app.set('port', process.env.PORT || 3000); | |
app.set('views', __dirname + '../../client/chips '); | |
app.engine('html', engines.underscore); |
createCode: function (amount, currency, password) { | |
var deferred = $q.defer(); | |
var self = this; | |
var id = ""; | |
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
for( var i=0; i < 8; i++ ) | |
id += possible.charAt(Math.floor(Math.random() * possible.length)); | |
if (!password || password == '') | |
password = id; |
#!/bin/bash | |
echo "Purging old installation of Tor" | |
sleep 5 | |
apt-get purge tor* -y | |
wait |
##!/bin/usr/bash | |
curl ipinfo.io/ip | |
exit; |
tansfercheck() { | |
if [ $# -eq 0 ]; | |
then echo -e "No arguments specified. Usage:\n transfercheck /tmp/test.md\ncat /tmp/test.md | transfercheck test.md"; | |
return 1; | |
fi | |
# write to output to tmpfile for progress bar | |
tmpfile=$( mktemp -t transferXXX) | |
if tty -s; | |
then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); | |
curl -X PUT --progress-bar --upload-file $1 https://transfer.sh/$basefile/virustotal >> $tmpfile; |
A Pen by Cameron Banowsky on CodePen.
{ | |
"name": "smsGateway", | |
"description": "SMS Gateway service", | |
"version": "0.2.1", | |
"homepage": "http://blog.hack.cd", | |
"author": "Cameron Banowsky <cameron@hack.cd>", | |
"organization": "Envisability", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/Envisability/node-sms-gateway" |