For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| bind-key C-b send-prefix | |
| bind-key C-o rotate-window | |
| bind-key C-z suspend-client | |
| bind-key Space next-layout | |
| bind-key ! break-pane | |
| bind-key " split-window | |
| bind-key # list-buffers | |
| bind-key $ command-prompt -I #S "rename-session '%%'" | |
| bind-key % split-window -h | |
| bind-key & confirm-before -p "kill-window #W? (y/n)" kill-window |
| #!/usr/bin/env bash | |
| # Utility to change the connection method for a git repo. | |
| # === Colour Definitions === | |
| red='\e[0;31m' | |
| green='\e[0;32m' | |
| purple='\e[0;35m' | |
| orange='\e[0;33m' | |
| # No Color, i.e. turn off color |
| { | |
| // http://eslint.org/docs/rules/ | |
| "ecmaFeatures": { | |
| "binaryLiterals": false, // enable binary literals | |
| "blockBindings": false, // enable let and const (aka block bindings) | |
| "defaultParams": false, // enable default function parameters | |
| "forOf": false, // enable for-of loops | |
| "generators": false, // enable generators | |
| "objectLiteralComputedProperties": false, // enable computed object literal property names |
| var path = require('path'); | |
| var http = require('http'); | |
| var fs = require('fs'); | |
| var spawn = require('child_process').spawn; | |
| function safe_path(request_url) { | |
| var cwd = path.resolve(path.dirname()); | |
| var target = path.resolve(request_url.slice(1)); | |
| if (target.indexOf(cwd) !== 0) | |
| return; |
| Following is taken from: https://plus.google.com/111475821387295047208/posts/KDEfS6S2hyk | |
| ------------------------- | |
| How to turn your Linux machine into a Chromecast Server | |
| Stream YouTube, Netflix, Hulu, Etc. from your smartphone or tablet onto your server or laptop. ...without buying Chromecast hardware... | |
| Prerequisite- Install Google Chrome on your Desktop. Install Chromecast application onto your portable device. |
| #!/bin/sh -x ## or just ` curl -Ls http://git.io/vRozn | sh `. | |
| ## Downloads the Mac OS X 10.10 Recovery Partition update, | |
| ## Copy's over the 10.10 version of Disk Utility.app, then | |
| ## use git to apply a binary patch so it will run on 10.11+. | |
| cd /tmp | |
| rm -rf DU1010 | |
| mkdir DU1010 |
| # ...Adobe Products Activation Block... | |
| 127.0.0.1 na1r.services.adobe.com | |
| 127.0.0.1 na2m-pr.licenses.adobe.com | |
| 127.0.0.1 na4r.services.adobe.com | |
| 127.0.0.1 lm.licenses.adobe.com | |
| 127.0.0.1 lmlicenses.wip4.adobe.com | |
| 127.0.0.1 uds.licenses.adobe.com | |
| 127.0.0.1 192.150.14.69 |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="Touchpad pinch demo" /> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| http://experimental.mural.ly/vnext-mural/sticky/200/webglbody { | |
| -ms-scroll-rails: none; | |
| } |