sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminatorTerminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
| package com.az.custom.request; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.File; | |
| import java.io.FilterOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.io.UnsupportedEncodingException; | |
| import java.util.HashMap; | |
| import java.util.Map; |
| # GDC Vault videos can't be watched on mobile devices and this is a very sad thing indeed! | |
| # (Note: this has changed for GDC2013, which lets you watch raw MP4 streams. Kudos!) | |
| # This script is designed to circumvent this by downloading the lecture and slideshow | |
| # videos which can then be re-encoded into whatever format you wish. Obviously, you | |
| # won't be able to do this without access to the Vault. This is strictly for the | |
| # convenience of legitimate Vault users! | |
| # Note: this code is rather flimsy and was written as fast as possible for my own personal use. | |
| # The code only works for the most recent GDC Vault videos, since they all use the same player | |
| # format. If the XML format used to run the player is changed (as it has in the past), the code |
| /** | |
| * @overview | |
| * | |
| * @author Caesar Chi | |
| * @blog clonn.blogspot.com | |
| * @version 2012/02/27 |
| var data = "do shash'owania"; | |
| var crypto = require('crypto'); | |
| crypto.createHash('md5').update(data).digest("hex"); |
| // module dependencies | |
| var http = require('http'), | |
| url = require('url'); | |
| /** | |
| * UrlReq - Wraps the http.request function making it nice for unit testing APIs. | |
| * | |
| * @param {string} reqUrl The required url in any form | |
| * @param {object} options An options object (this is optional) |