(function () {
// ... all vars and functions are in this scope only
// still maintains access to all globals
}());
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
| gsl_rng_env_setup(); | |
| gsl_rng* rng = gsl_rng_alloc(gsl_rng_default); | |
| sqlite3* db = 0; | |
| int h[0x10000]; | |
| int kc[0x100]; | |
| float kmean[0x100]; | |
| uint16_t tbl[0x10000]; | |
| int i; | |
| for (i = 0; i < 0x10000; i++) | |
| tbl[i] = i; |
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
| var _log = console.log; | |
| window.console.log = function(log){ | |
| _log.call(console, log.reverse ? log.reverse() : typeof log === 'string' ? log.split('').reverse().join('') : typeof log === 'number' ? log.toString().split('').reverse().join('') : typeof log === 'boolean' ? !log : log); | |
| }; |
The idea of this script is to backup all repositories from a remote SSH server.
It will search for ´.git´ directories inside the home directory of the "git" user. By default it is the current user, but can be configured by changing the $GIT_USER variable at the top of the script.
All repositories will be cloned into the current working directory.
If there is a previous clone of the repository at the given destination, it will obviously only make a new pull.
More |— Thirty Useful Unix Commands
50 Most Frequently Used UNIX / Linux Commands (With Examples)
15 Practical Grep Command Examples In Linux / UNIX
**ls Sort:** open the last edited file in the current directory ```
A simple CasperJS script to periodically check for a link and process accordingly.
/*jshint strict:false*/
/*global CasperError console phantom require*/
var casper = require('casper').create({
logLevel: "debug",
verbose: trueNewerOlder