https://help.ubuntu.com/community/Applications
Example Scripts
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; |
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
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: true