Raspberry Pi Cluster

Docker Swarm

Python Example

Sweet python script example to warm the Pi’s CPU!

Retropie

Raspbian is the operating system running on the PI, Retropie then runs on-top of this to allow emulation of arcade games. This sweet video runs though what you need to do.

Terminal Steps

1
2
3
4
5
6
7
8
sudo git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup

cd RetroPie-Setup

sudo nano retropie_packages.sh
Add this line __platform=rpi3

sudo ./retropie_setup.sh

Hardware

Besides the PI itself you will need either the Nintendo NES classic USB or USB Super Nintendo Game Controllers

References

Imac 2019

International Miniature Aerobatic Club

Known Basic 2019

No. Symbol Description
1 2.4.1.1 360 degree turn
2 8.4.1.1; 9.1.5.2 Humpty bump, 1/2 roll on vertical down line
3 8.5.2.1; 9.1.2.2 Reverse half Cuban, 1/2 roll on 45 degree upline (I think this is downline)
4 7.4.1.1 Loop
5 1.2.7.1; 9.1.4.2 Sharks Tooth, 1/2 roll on 45 degree downline
6 5.2.1.1 Hammerhead / Stall turn
7 1.1.1.1; 9.1.3.4 Aileron roll
8 8.5.6.1; 9.1.4.2 Half Cuban, 1/2 roll on 45 degree downline
9 7.2.2.1; 9.1.3.2 Half inside loop, 1/2 roll on top
10 1.1.6.3; 9.11.1.6 1 1/2 Turn positive spin

Learning Aresti

References

SSH - Secure shell to instance

  1. Create key pair in AWS Console and download it
    1. Suggested saved location C:\TradeMe\Identities\carl-key-pair.pem
  2. Load .pem key, using PuTTYgen
    1. Save private key, suggested location C:\TradeMe\Identities\carl-key-pair.ppk
  3. Run Pageant
    1. From the system tray Add key and select the ppk file
    2. You should now be able to SSH using PuTTY
  4. In AWS Console enable inbound traffic in security group
1
SSH   TCP   22   0.0.0.0/0
  1. Connect
1
2
ec2-user@ec2-xx-xxx-xxx-xxx.ap-southeast-2.compute.amazonaws.com
root@ec2-xx-xxx-xxx-xxx.ap-southeast-2.compute.amazonaws.com
  1. Running commands on the instance
1
2
3
4
5
sudo yum install -y ecs-init
sudo service docker start
sudo start ecs

tail -f /var/log/esc/esc-agentlog.YYYY-MM-DD

References

Beer Brewing

Temperatures

  • Lagers: 10-14 degrees
    • Pilsner is a type of pale lager.
  • Ales: 18-21 degrees

Hydrometer

Understanding what your fermentation is doing will help ensure a successful brew and encourage improvement in your brewing. A hydrometer to measure the gravity before, during and after fermentation is part of that process. If nothing else, it will help you work out the amount of alcohol in the beer and you’ll know when the fermentation has finished.

They measure: specific gravity, potential alcohol and approximate sugar per liter.

At its most basic scientific purpose, a hydrometer is an instrument that measures the specific gravity of liquids, that is to say, it measures the ratio of the density of the liquid to the density of water.

Timeline

  • Clean your drum with a sterilizing agent
  • Brewing, 2 hours
    • Dissolve your brew in 2-4 liters of very hot water
    • Add 1kg of sugar or dextrose
    • Put about 10 liters of cold water in your fermenter
    • Add the hot mixture, and mix well.
    • Top it up to 23 liters and sprinkle with brewers’ yeast when the temperature is below 30°.
  • Fermenting about a week
    • Seal the fermenter and partly fill the airlock with boiled, cooled water.
    • Once the airlock stops bubbling and the brew clears, leave it for another 48 hours
    • If the hydrometer reading is close to the expected reading and static for more than 24 hours then it’s ready for bottling.
  • Sterilize your bottles and caps with a sterilizing agent
  • Add a teaspoon of sugar or dextrose to each bottle
  • Fill each bottle to 40mm below the top
  • Cap the bottles, tilt them a few times to help dissolve the sugar
  • Store them in a warm place for five days
  • Move them somewhere a bit cooler for another five days
  • Give them another week, and try your beer

Sample at three weeks, three months, and six months if you don’t get rat-assed with your mates and smash them all.

References