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 | |
# | |
# randomfiles | |
# | |
# Little bash script which generates some random files (max file size ~3 MB). | |
# | |
# Copyright(c) 2014 André König <[email protected]> | |
# MIT Licensed | |
# |
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
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns | |
Compress 1K bytes with Zippy 3,000 ns | |
Send 2K bytes over 1 Gbps network 20,000 ns | |
Read 1 MB sequentially from memory 250,000 ns | |
Round trip within same datacenter 500,000 ns | |
Disk seek 10,000,000 ns |
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
/* | |
* computer graphics | |
* | |
* Licensed under the MIT: | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* | |
* Authors: | |
* | |
* Valentina Rotkin <[email protected]> |
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
{ | |
"author": "Malte Legenhausen ([email protected]), John Philip Schnake ([email protected]), André König ([email protected])", | |
"name": "twitter-streamer", | |
"description": "A little app which receives tweets in realtime!", | |
"version": "0.0.1", | |
"homepage": "http://bremen.gtugs.com", | |
"repository": { | |
"url": "" | |
}, | |
"engines": { |
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
/* | |
* Small HTTP server with node.js | |
* | |
* Author: André König ([email protected]) | |
* | |
*/ | |
"use strict"; | |
var http = require('http'); | |
var dns = require('dns'); |
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
/* | |
* FileReader with node.js | |
* | |
* Author: André König ([email protected]) | |
* | |
*/ | |
"use strict"; | |
var fs = require('fs'); |
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
/* | |
* DNS-Resolver with node.js | |
* | |
* Author: André König ([email protected]) | |
* | |
*/ | |
"use strict"; | |
var dns = require('dns'); |
NewerOlder