First, we need to set the environment:
1. Installing Yotta and '''srecord''' (this is needed to create .hex)
sudo apt install yotta srecord
- Clone example
git clone https://github.com/lancaster-university/microbit-samples
cd microbit-samples
- Setup the target for building
yotta target bbc-microbit-classic-gcc-nosd@https://github.com/lancaster-university/yotta-target-bbc-microbit-classic-gcc
- Build example
yotta build
5.Copy .hex to Microbit folder
cp ./build/bbc-microbit-classic-gcc/source/microbit-samples-combined.hex /media/"user"/MICROBIT
Reference: Reference
Install rclone
sudo -v ; curl https://rclone.org/install.sh | sudo bash
This is needed because Debian 12 install rclone too old, without ProtonDrive support
rclone config
Chose ProtonDrive and add user and password
Install restic
sudo apt install restic
Inizialize restic repository
restic init -r rclone:[nameof remote rclone]:[dir in ProtonDrive]
Backup a folder
restic -r rclone:[nameof remote rclone]:[dir in ProtonDrive] backup [dir to backup] --compression auto --verbose --exclude-file=[file name]
Where:
* [nameof remote rclone] –> name of remote set in during rclone config
* [dir in ProtonDrive] –> directory in ProtonDrive where to save the backup
* [file name] –> a text filename with in the list of dir and files to exclude from backup
As a password vault
Initialize vault
pass init "Password Storage Key"
Where “Password Storage Key” is the ID of the GPG key
Add a new password
pass insert
List the password tree
pass
Get a password
pass label
Where label is the label of the password needed
The first Personal Computer
P101 web emulator
Here are the dimensions from the original drawing:
Here the Openscad code:
module MeccanoRod(size){
si=25.4;
extradius=9/32*si;
holeradius=2.1844;
thick=0.9;
difference(){
cube([12.7,2*5.953125+12.7*(size-1),thick]);
translate([12.7/2,12.7/2,0]) {
for ( i = [1:1:size]) {
translate([0,(i-1)*12.7, 0]) cylinder(thick,holeradius,holeradius);
}
}
translate([12.7/2,12.7/2+holeradius,0]) difference() {
cylinder(thick,2*extradius,2*extradius);
cylinder(thick,extradius,extradius);
translate([-20,0,0]) cube([40,40,thick]);
}
translate([12.7/2,12.7*(size)-12.7/2-holeradius,0]) difference() {
cylinder(thick,2*extradius,2*extradius);
cylinder(thick,extradius,extradius);
translate([-20,-40,0]) cube([40,40,thick]);
}
}
}