mkdir scratch && cd scratch
git clone https://github.com/aubrune/scratch-gui # if making changes fork the project and check out your copy
git clone https://github.com/aubrune/scratch-vm # if making changes fork the project and check out your copy
git clone https://github.com/aubrune/scratch-blocks # if making changes fork the project and check out your copy
cd scratch-vm
npm install
sudo npm link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git clone https://github.com/arbalet-project/frontage-frontend.git -b ionic_5 | |
cd frontage-frontend | |
npm i | |
ionic build | |
# Generate assets with cordova | |
ionic capacitor open ios # Close Xcode then | |
npm install -g cordova-res | |
cordova-res ios | |
wget https://gist.githubusercontent.com/dalezak/a6b1de39091f4ace220695d72717ac71/raw/3c858045b84dab9d39bd53cb2d19fba3e523bef4/resources.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apps": [ | |
"Flags", | |
"RandomFlashing", | |
"SweepRand", | |
"SweepAsync", | |
"Tetris", | |
"Snake", | |
"Drawing" | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git commit -am "Version bump" | |
git push origin master | |
git tag 4.0.3 | |
git push origin 4.0.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Change +0+0 (+w+h) to select the upper left point of the rectangle to be cropped | |
for i in *png; do convert "$i" -crop 1920x1080+0+0 "cropped-$i"; done; | |
mkdir cropped && mv cropped*png cropped && cd cropped | |
convert -delay 10 *.png +repage animated.gif |
ssh [email protected]
sudo service ioservice stop
python3 rosa-master/rpi/ws_server.py --verbose
Server up and running.
# Connexion Python
Exception in thread Thread-5:
https://atkdinosaurus.wordpress.com/2020/04/25/how-to-create-a-bootable-uefi-gpt-windows-10-usb-stick-in-ubuntu/ Use gparted to reformat both partitions in FAT32 and NTFS if sgdisk didn't create mountable partitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging, sys | |
logging.basicConfig(stream=sys.stderr, level="DEBUG") | |
# Parent module switched to debug for both the logger and the stream handler | |
import logging | |
h = logging.StreamHandler() | |
h.setLevel("DEBUG") | |
l = logging.getLogger("pypot") | |
l.setLevel("DEBUG") | |
l.addHandler(h) |