- Start an AWS EC2 Instance from the Ubuntu 16.04 Amazon image. t3a.micro will do. Open ports 22 and 2443. Assign an elastic IP so it can't change.
- Download the private key for the EC2 instance whilst creating it
- SSH into the server
- Update to the latest
sudo apt-get updatethensudo apt-get upgrade -y - Install PiVPN
curl -L https://install.pivpn.io | bash. Make sure to selectTCPand notUDPwhen given the option. Set the port as1194. The rest can be left as defaults. If the screen does a strange flashy thing try ssh from Cygwin instead. - Install obfsproxy
sudo apt-get install obfsproxy - Put the attached systemd file at
/lib/systemd/system/obfsproxy.service - Start the service
sudo systemctl enable obfsproxythensudo systemctl start obfsproxy - Add users with
pivpn add. Then follow the steps it gives you. - Use
scpto download the.ovpnfiles and put them on relevant devices. You'll need to modify1443to2443as the port number in these client config files.
| Debugger commands: | |
| apropos -- List debugger commands related to a word or subject. | |
| breakpoint -- Commands for operating on breakpoints (see 'help b' for | |
| shorthand.) | |
| bugreport -- Commands for creating domain-specific bug reports. | |
| command -- Commands for managing custom LLDB commands. | |
| disassemble -- Disassemble specified instructions in the current | |
| target. Defaults to the current function for the | |
| current thread and stack frame. |
| import java.io.FileDescriptor; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.io.PrintStream; | |
| public class HelloWorld{ | |
| private static HelloWorld instance; | |
| public static void main(String[] args){ | |
| instantiateHelloWorldMainClassAndRun(); |
| # get from ppa https://launchpad.net/~cassou/+archive/emacs | |
| $ sudo apt-get update | |
| $ sudo apt-get install | |
| $ sudo apt-get purge emacs emacs-snapshot-common emacs-snapshot-bin-common emacs-snapshot emacs-snapshot-el emacs-snapshot-gtk emacs23 emacs23-bin-common emacs23-common emacs23-el emacs23-nox emacs23-lucid auctex apel emacs24 emacs24-bin-common emacs24-common emacs24-common-non-dfsg emacs-el | |
| To add this PPA: | |
| $ sudo add-apt-repository ppa:cassou/emacs | |
| $ sudo apt-get update |
Doing a pip install reportlab on a relatively new/clean linux setup will probably result in something similar to this:
--------------------------------------------------------------------
PIL SETUP SUMMARY
--------------------------------------------------------------------
version Pillow x.y.z
platform linux2 2.x.y (default, MM dd YYYY, 01:01:01)
brew cask install ngrokThe easiest way to use ngrok to tunnel into your localhost is if your local project is running on a specific port (e.g. not using named vhosts). You just run ngrok http [port number].
You can quickly boot up a local webserver using ruby. cd into the project's root directory and run ruby -run -e httpd . -p [port number].
The following is the notes I took years ago on the book Ultralearning by Scott Young. The bombastic title and promise to learn virtually anything quickly makes it sound as if its the typical marketing-powered fluff-filled nonfiction book stores are overflowing with, but something about this book stuck with me. After finishing it I quickly went back and wrote these thoughts down. While I don't follow his layout of plans regularly, I have used it to guide a lot of my own self education.
I've successfully utilized it when I needed to refresh on mathematics for my Master's degree (a host of skills that atrophied sigificantly for the dozen years between undergrad and the masters). I've also used it to self-study subjects like Robotics and Deep Learning (though I did decide in the end to go for the Master's accreditation).
I share it here with hopes that someone finds it useful.
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
- XCode is installed (via the App Store)
- XCode command line tools are installed (
xcode-select --installwill prompt up a dialog) - Java
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
- XCode is installed (via the App Store)
- XCode command line tools are installed (
xcode-select --installwill prompt up a dialog) - Java
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
