This file contains 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
### ElasticSearch version | |
if [ -z "$1" ]; then | |
echo "" | |
echo " Please specify the Elasticsearch version you want to install!" | |
echo "" | |
echo " $ $0 1.4.0" | |
echo "" | |
exit 1 | |
fi |
This file contains 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
diff --git a/lib/video/PngEncoder.js b/lib/video/PngEncoder.js | |
index 127411c..0c201e0 100644 | |
--- a/lib/video/PngEncoder.js | |
+++ b/lib/video/PngEncoder.js | |
@@ -98,7 +98,7 @@ PngEncoder.prototype._spawnFfmpeg = function() { | |
ffmpegOptions.push('-r', this._frameRate); // framerate flag | |
ffmpegOptions.push('-'); // output | |
// @TODO allow people to configure the ffmpeg path | |
- return this._spawn('ffmpeg', ffmpegOptions); | |
+ return this._spawn('avconv', ffmpegOptions); |
This file contains 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
var util = require("util") | |
, fs = require("fs"); | |
exports.create = function () { | |
var b = new Bar(); | |
b.bla(); | |
}; | |
var Bar = function () {}; |
This file contains 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
var fs = require("fs"); | |
function read(fd) { | |
var buf = new Buffer(8); | |
fs.read(fd, buf, 0, buf.length, null, function () { | |
console.log(buf); | |
read(fd); | |
}); | |
} |
This file contains 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 -e | |
# | |
# Original File Location: | |
# /etc/init.d/couchdb | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may not | |
# use this file except in compliance with the License. You may obtain a copy of | |
# the License at |
This file contains 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
$ iex --erl "-boot start_sasl" --sname a --cookie dummy -S mix | |
Erlang R16B01 (erts-5.10.2) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
=PROGRESS REPORT==== 30-Jul-2013::10:41:03 === | |
supervisor: {local,sasl_safe_sup} | |
started: [{pid,<0.42.0>}, | |
{name,alarm_handler}, | |
{mfargs,{alarm_handler,start_link,[]}}, |
This file contains 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
$ iex --erl "-boot start_sasl" --sname a --cookie dummy -S mix | |
Erlang R16B01 (erts-5.10.2) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
=PROGRESS REPORT==== 30-Jul-2013::10:41:03 === | |
supervisor: {local,sasl_safe_sup} | |
started: [{pid,<0.42.0>}, | |
{name,alarm_handler}, | |
{mfargs,{alarm_handler,start_link,[]}}, |
This file contains 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
$ elixir -v | |
Elixir 0.10.0 | |
$ erl | |
Erlang R16B01 (erts-5.10.2) [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] | |
Eshell V5.10.2 (abort with ^G) | |
1> |
This file contains 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
/* | |
* jQuery Plugin: Tokenizing Autocomplete Text Entry | |
* Version 1.6.0 | |
* | |
* Copyright (c) 2009 James Smith (http://loopj.com) | |
* Licensed jointly under the GPL and MIT licenses, | |
* choose which one suits your project best! | |
* | |
*/ |
This file contains 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
<?php | |
/** | |
* Send HTTP request to "fliplife.com" and return the HTTP status. | |
* | |
* @param array $headers Associative array with HTTP request headers. | |
* @throws Exception If no HTTP status can be found. | |
* @return integer HTTP status. | |
*/ | |
function requestFliplife(array $headers) |
NewerOlder