This file contains 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
Verifying that +djlechuck is my blockchain ID. https://onename.com/djlechuck |
This file contains 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
Verifying that "djlechuck.id" is my Blockstack ID. https://onename.com/djlechuck |
This file contains 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 | |
case "$1" in | |
start) | |
echo "Starting button" | |
/recalbox/scripts/rpi-exit-emu-1b.py & &> /dev/null | |
;; | |
stop) | |
echo "Stopping button" | |
killall -9 rpi-exit-emu-1b.py &> /dev/null | |
;; |
This file contains 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
{ | |
"extends": [ "eslint:recommended", "plugin:react/recommended" ], | |
"plugins": [ "babel", "react" ], | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"sourceType": "module", | |
"ecmaVersion": 6, | |
"ecmaFeatures": { | |
"impliedStrict": true, | |
"experimentalObjectRestSpread": true, |
This file contains 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/sh | |
mount -o remount,rw / &> /dev/null | |
wget -O /recalbox/scripts/rpi-exit-emu-1b.py https://gist.githubusercontent.com/DjLeChuck/445ce3d37f41f12d5bf8cb9482db4027/raw/46e92e76afb87a8d6e8d1be352730da37aa2dfc4/rpi-exit-emu-1b.py &> /dev/null | |
wget -O /etc/init.d/S98exit-emu-1b https://gist.githubusercontent.com/DjLeChuck/5f798b0d4af4071a92111bf61703aeb1/raw/197a022608a5c357ea8da34540fc005d42c44b83/S98exit-emu-1b &> /dev/null | |
chmod 755 /recalbox/scripts/rpi-exit-emu-1b.py &> /dev/null | |
chmod 755 /etc/init.d/S98exit-emu-1b &> /dev/null | |
/etc/init.d/S98exit-emu-1b start | |
rm /recalbox/share/system/exit-emu-1b-installer &> /dev/null |
This file contains 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 | |
# /!\ Nécessite "jq" /!\ | |
# Grandement basé sur le script deploy.sh de xavki <3 : https://gitlab.com/xavki/presentation-ansible-fr/-/blob/master/14-plateforme-dev-docker/deploy.sh | |
help() { | |
echo " | |
Options : | |
- --create : lancer des VMs |
This file contains 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
#!/usr/bin/python | |
#Import libs | |
import RPi.GPIO as GPIO | |
import os | |
import time | |
#Set Environment | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setwarnings(False) | |
GPIO.setup(10, GPIO.IN, pull_up_down=GPIO.PUD_UP) | |
#Code |