- $0.015 per GB/m (at least 680 GB), $0.01 per GB/m for more than 100 TB, $0.006 per GB/m for more than 1 PB.
- git-annex discount: at least 100GB, paid annually)
- attic/borg discount: at least 100 GB, paid annually)
- Remote SSH commands (checksum, mv, cp, rm, tree, dd, etc.) supported
- git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in ~/Dropbox/bash/*; do source $f; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"log" | |
"net/rpc" | |
"os" | |
) | |
func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# --------------------------- FUNCTIONS --------------------------------- | |
_line() { | |
printf %80s |tr " " "-"; echo "" | |
} | |
_info() { | |
echo -e 1>&2 "\033[32m"$@"\033[0m" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
hacky.c | |
Written on 9/19/13 by @C0deH4cker for reasons unknown. | |
Inspired by http://carolina.mff.cuni.cz/~trmac/blog/2005/the-ugliest-c-feature-tgmathh/ | |
DISCLAIMER: | |
No preprocessors were harmed in the creation of this code. | |
*/ | |
/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a simple example of WebSocket + Tornado + Simple EventEmitters usage. | |
Thanks to pyee by https://github.com/jesusabdullah | |
@Author:: Narayanaperumal G <[email protected]> | |
""" | |
import tornado.httpserver | |
import tornado.websocket | |
import tornado.ioloop | |
import tornado.web | |
from collections import defaultdict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Enable and disable HDMI output on the Raspberry Pi | |
is_off () | |
{ | |
tvservice -s | grep "TV is off" >/dev/null | |
} | |
case $1 in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// make sure to link against /usr/lib/libpcap.dylib | |
#include "ofMain.h" | |
#include <pcap/pcap.h> | |
class ofApp : public ofBaseApp { | |
public: | |
pcap_t *pcap; | |
struct pcap_pkthdr header; | |
const unsigned char* packet = NULL; | |
list<string> packetHex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def xtick_formatter(x, fmt, td, p): | |
res = None | |
if x < p[-1][0]: | |
res = (p[-1][1] + (x - p[-1][0]) * td).strftime(fmt) | |
else: | |
#it's reversed | |
for i in p: | |
if i[0] <= x: | |
res = (i[1] + (x - i[0]) * td).strftime(fmt) | |
break |
OlderNewer