Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- Open up an interactive docker shell:
docker run -ti ubuntu /bin/bash
- Update Apt cache, install [stuff].
apt-get update
apt-get install -y wget unzip
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- Create DB at https://ap-southeast-2.console.aws.amazon.com/rds/home?region=ap-southeast-2#databases:
- Ensure ports are open (they seem to not be by default)
- brew cask install pgAdmin4
- Connect to database
- Run following:
select current_user;
CREATE EXTENSION postgis
CREATE EXTENSION fuzzystrmatch
CREATE EXTENSION postgis_tiger_geocoder;
Example: https://glitch.com/~dotnet-new-mvc
Running example: https://dotnet-new-mvc.glitch.me/
Go to https://glitch.com/edit/#!/blank and click Remix to edit.
- Tools -> Logs to see logging output
- Tools -> Fullpage Console to open up console in new window
- Download Raspiban Stretch Lite from https://www.raspberrypi.org/downloads/raspbian/
- Note that Raspbian Stretch was released in April 2019 and can be downloaded at https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-04-09/2019-04-08-raspbian-stretch-lite.zip
- Use Etcher to burn to SD card (5 mins)
- After Etcher has burned image, you may need to reinsert the card to see it again.
- Copy sample
wpa_supplicant.conf
file to SD card.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
Install:
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Normal tools:
choco install 7zip atom git googlechrome -y
Update docker to use proxy:
PS C:\Users\Administrator> [Environment]::SetEnvironmentVariable("HTTP_PROXY", "http://localhost:3128", [EnvironmentVariableTarget]::Machine)
PS C:\Users\Administrator> Restart-Service docker
Restart Squid when updating whitelist
PS C:\Users\Administrator> Restart-Service squidsrv; docker pull hello-world