$ tar -xvf vmName.ova$ vi vmName.ovf| overwrite: true | |
| schema: "test.graphql" | |
| documents: null | |
| generates: | |
| generated/test.py: | |
| plugins: | |
| - "lib/graphql-codegen-graphene.js" |
| import os | |
| import sys | |
| import math | |
| import time | |
| import threading | |
| import webbrowser # To launch the remote debugging page | |
| import win32api # | |
| import win32con # pip install pywin32 | |
| import win32gui # |
| # Credit to John Creecy | |
| # Original can be found at https://gist.github.com/zugdud/b39eea02faa6926305f57fbde8d31b68 | |
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: OpenVPN Stack | |
| Parameters: | |
| OpenVPNPort: | |
| Type: Number | |
| Default: 1194 |
| <# | |
| Prerequisites: PowerShell version 3 or above. | |
| License: MIT | |
| Author: Michael Klement <[email protected]> | |
| DOWNLOAD and DEFINITION OF THE FUNCTION: | |
| irm https://gist.github.com/mklement0/8689b9b5123a9ba11df7214f82a673be/raw/Out-FileUtf8NoBom.ps1 | iex | |
| The above directly defines the function below in your session and offers guidance for making it available in future |
| javascript: | |
| document.querySelectorAll('.load-diff-button').forEach(node => node.click()) |
| # Adjust Docker Machine Memory+CPU | |
| # http://stackoverflow.com/questions/32834082/how-to-increase-docker-machine-memory-mac | |
| docker-machine stop | |
| VBoxManage modifyvm default --cpus 2 | |
| VBoxManage modifyvm default --memory 4096 | |
| docker-machine start |
It's not immediately obvious how to pull down the code for a PR and test it locally. But it's pretty easy. (This assumes you have a remote for the main repo named upstream.)
Getting the PR code
Make note of the PR number. For example, Rod's latest is PR #37: Psiphon-Labs/psiphon-tunnel-core#37
Fetch the PR's pseudo-branch (or bookmark or rev pointer whatever the word is), and give it a local branch name. Here we'll name it pr37:
$ git fetch upstream pull/37/head:pr37
| http://d.stavrovski.net/blog/post/how-to-install-and-setup-oracle-java-jdk-in-centos-6 | |
| # rpm | |
| wget --no-cookies \ | |
| --no-check-certificate \ | |
| --header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
| "http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm" \ | |
| -O jdk-7-linux-x64.rpm | |
| # ubuntu |