git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
/* | |
Yahoo Finance stock historical data, prices and details retrieval function written in Javascript, jQuery and YQL | |
v2013-08-05 | |
(c) 2013 by Fincluster ltd - http://fincluster.com <[email protected]> | |
*/ | |
(function($) { | |
function getStock(opts, type, complete) { | |
var defs = { | |
desc: false, | |
baseURL: 'http://query.yahooapis.com/v1/public/yql?q=', |
Fabric is a deployment management framework written in Python which makes remotely managing multiple servers incredibly easy. If you've ever had to issue a change to a group servers, this should look pretty familiar:
for s in $(cat servers.txt); do ssh $s service httpd graceful; done
Fabric improves on this process by providing a suite of functions to run commands on the servers, as well as a number of other features which just aren't possible in a simple for loop. While a working knowledge of Python is helpful when using Fabric, it certainly isn't necessary. This tutorial will cover the steps necessary to get started with the framework and introduce how it can be used to improve on administering groups of servers.
Although there are enough resources on the web about Git, I will keep this one for my own reference.
#Node.js https & Express (SSL) Server
A simple https server using node.js (v0.10.0):
var https = require("https");
var fs = require("fs");
var options = {
key: fs.readFileSync('privatekey.pem'),