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").
| /** | |
| * jQuery Plugin Boilerplate | |
| * | |
| * Call the plugin by supplying a method and/or options: | |
| * | |
| * $("element").myplugin(); | |
| * $("element").myplugin({ option1: true, option2: true }); | |
| * $("element").myplugin("secondary_method"); | |
| * $("element").myplugin("secondary_method", { option1: true, option2: true }); | |
| * |
| /** | |
| * Author: Richard Willis - badsyntax.co | |
| * Example here: http://demos.badsyntax.co/places-search-bootstrap/example.html | |
| * | |
| * Please note: This is not a reliable method of geocoding the address. Using the | |
| * PlacesService is a much better approach. View the example above for an example | |
| * of using the PlacesService to geocode the address. | |
| */ | |
| var service = new google.maps.places.AutocompleteService(); |
| # | |
| # Acts as a nginx HTTPS proxy server | |
| # enabling CORS only to domains matched by regex | |
| # /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
| # | |
| # Based on: | |
| # * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
| # * http://enable-cors.org/server_nginx.html | |
| # | |
| server { |
| # This configuration file is provided on an "as is" basis, | |
| # with no warranties or representations, and any use of it | |
| # is at the user's own risk. | |
| # | |
| # You will need to edit domain name information, IP addresses for | |
| # redirection (at the bottom), SSL certificate and key paths, and | |
| # the "Public-Key-Pins" header. Search for any instance of "TODO". | |
| user www-data; | |
| worker_processes 4; |
| function parseVideo (url) { | |
| // - Supported YouTube URL formats: | |
| // - http://www.youtube.com/watch?v=My2FRPA3Gf8 | |
| // - http://youtu.be/My2FRPA3Gf8 | |
| // - https://youtube.googleapis.com/v/My2FRPA3Gf8 | |
| // - Supported Vimeo URL formats: | |
| // - http://vimeo.com/25451551 | |
| // - http://player.vimeo.com/video/25451551 | |
| // - Also supports relative URLs: | |
| // - //player.vimeo.com/video/25451551 |
| # Create your superuser | |
| $ mongo | |
| > use admin | |
| > db.createUser({user:"someadmin",pwd:"secret", roles:[{role:"root",db:"admin"}]}) | |
| > exit | |
| # Alias for convenience (optional and at your own risk) | |
| $ echo 'alias mongo="mongo --port 27017 -u someadmin -p secret --authenticationDatabase admin"' >> ~/.bash_profile | |
| $ source ~/.bash_profile |
| aws = require('aws-sdk') | |
| accessKeyId = "" | |
| secretAccessKeydistribution = "" | |
| region = 'us-east-1' | |
| distribution = "" | |
| items = [ '/index.html' ] | |
| cf = new aws.CloudFront(new aws.Config({ accessKeyId, secretAccessKeydistribution, region })) | |
| invalidations = items.map(encodeURI) |
| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
| <?php | |
| /** | |
| * Class WebinarJam | |
| * Implements the WebinarJam API as documented | |
| * https://s3.amazonaws.com/webinarjam/files/WebinarJamAPI.pdf | |
| */ | |
| class WebinarJam { | |
| public static $API_URL = 'https://app.webinarjam.com/api/v2/'; |