Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧
Art, engineering & digital training

Yoan Mollard ymollard

🐧
Art, engineering & digital training
  • Bordeaux INP
  • Bordeaux, France
View GitHub Profile
View scratch_build.md

https://github.com/LLK/scratch-gui/wiki/Getting-Started#example-scratch-gui-vm-and-blocks-linked

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
View poppy_bad_config.txt
oct. 15 19:14:23 poppy python[641]: Traceback (most recent call last):
oct. 15 19:14:23 poppy python[641]: File "bouteillederouge.py", line 70, in <module>
oct. 15 19:14:23 poppy python[641]: pidfile=pidfile)
oct. 15 19:14:23 poppy python[641]: File "/home/poppy/dev/puppet-master/puppet_master.py",
oct. 15 19:14:23 poppy python[641]: self.logfile = self.config.poppyLog.puppetMaster
oct. 15 19:14:23 poppy python[641]: File "/home/poppy/dev/puppet-master/puppet_master.py",
oct. 15 19:14:23 poppy python[641]: return Config.from_file(self.configfile)
oct. 15 19:14:23 poppy python[641]: File "/home/poppy/dev/puppet-master/config.py", line 22
oct. 15 19:14:23 poppy python[641]: return cls(yaml.load(f, Loader=yaml.SafeLoader), file
oct. 15 19:14:23 poppy python[641]: File "/home/poppy/pyenv/lib/python3.7/site-packages/yam
View build_ios.bash
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
@ymollard
ymollard / config.json
Created Sep 26, 2020 — forked from EtienneSchmitz/config.json
Frontage/Bordeaux
View config.json
{
"apps": [
"Flags",
"RandomFlashing",
"SweepRand",
"SweepAsync",
"Tetris",
"Snake",
"Drawing"
],
View config_capsciences.json
{
"apps": [
"Flags",
"RandomFlashing",
"SweepRand",
"SweepAsync",
"Tetris",
"Snake",
"Drawing"
],
@ymollard
ymollard / to_pypi.bash
Created Aug 28, 2020
Create tags to trigger publishing to Pypi
View to_pypi.bash
git commit -am "Version bump"
git push origin master
git tag 4.0.3
git push 4.0.3
@ymollard
ymollard / captures_to_gif.bash
Created Aug 14, 2020
Crop screen captures and make a gif
View captures_to_gif.bash
#!/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
View rosa.md
ssh pi@rosa.local
sudo service ioservice stop

python3 rosa-master/rpi/ws_server.py --verbose
Server up and running.

#  Connexion Python

Exception in thread Thread-5:
View bug.md

No installed poppy creature were found! Solution = pip install ikpy==2.3.3

You can’t perform that action at this time.