[email protected] /p/tmp $ node
> var fs = require("fs")
undefined
> var data = fs.readFileSync("./input.txt")
undefined
> data.toString().trim().split(" ").forEach(function(e){ process.stdout.write(String.fromCharCode(Number("0b"+e))) })
Ich Liebe dich mein Engel... Antonia du bist kein einfaches Mädchen ... du bist mein Mädchen undefined
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
# ----------------------------------------------------------------------------------------------------------------------------- | |
# --------------------- General Settings -------------------------------------------------------------------------------------- | |
# ----------------------------------------------------------------------------------------------------------------------------- | |
HOSTNAME="ingwie-io" | |
DOMAINNAME="ingwie.io" | |
CONTAINER_NAME=mail | |
# empty => uses the `hostname` command to get the mail server's canonical hostname |
# Heading 1
## Heading 2
### Heading 3
... continues to heading 6 ...
Using ` (backtick) will start code...However, use three of them, followed by alanguage name - such as PHP - and you tell the
respective program to show syntax highlighting.
A Mac Application is structured as a bundle. Assume you have a Hello World application in Objective-C, the most "by-hand" way to build the bundle would be so:
Code:
// Copied from: http://macosx-programming.blogspot.de/2011/09/simple-gui-hello-world-using-cocoa.html
#include <Cocoa/Cocoa.h>
int main(int argc, const char** argv)
{
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
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
#include <stdio.h> | |
#include <string.h> | |
/** | |
* @author: Jan P. B. | |
* Purpose: Count parentheses in a string. | |
* Used to count capture groups for SLRE - and as string practice for Jan. :) | |
* | |
* @param {char*} c : Buffer | |
* @param {int} len : Buffer length |
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
module.exports = function Broker(broker) { | |
// Do your Broker setup... | |
} |

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
Hash: 23b1aa8e3e31f66d92f7 | |
Version: webpack 1.12.9 | |
Time: 1780ms | |
Asset Size Chunks Chunk Names | |
bundle.js 84.5 kB 0 [emitted] main | |
chunk {0} bundle.js (main) 225 kB [rendered] | |
> main [0] ./demo.php | |
[22] /Users/Ingwie/Work/~/util/support/isBufferBrowser.js 203 bytes {0} [built] | |
cjs require ./support/isBuffer [20] /Users/Ingwie/Work/~/util/util.js 526:19-48 | |
[37] (webpack)/buildin/module.js 251 bytes {0} [built] |
- Clone the gist.
- Run:
npm install ejs-compiled-loader
- Run:
webpack --config 02-webpack.config.js
- Watch the magic happen.
This should split into two output JS files. One has the code fromt he entry, the other has the widget. Its loaded async.