https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445
Run:
sudo rpi-update
In /boot/config.txt add the following line:
# ... | |
# Run startx on boot | |
if [[ ! $DISPLAY && XDG_VTNR -eq 1 ]]; then | |
exec startx | |
fi |
console = { log: print }; | |
exports = {}; | |
require = function() { load(...arguments); return exports }; |
{ | |
"titulo": "Receita de bolo da vovó", | |
"ingredientes": [ | |
"Farinha", "Ovo", "Açúcar", "Pipoca" | |
] | |
} |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"net/http" | |
) | |
type gist struct { | |
ID string `json:"id"` |
watch -n 5 -t -c /opt/apps/ticker.sh ^BVSP EZTC3.SA PSSA3.SA TCSA3.SA TAEE11.SA TIET11.SA BBSE3.SA MPLU3.SA ITSA4.SA ITSA3.SA FEXC11.SA KNIP11.SA MXRF11.SA IVVB11.SA ^GSPC USDBRL=X BZ=F CL=F BTC-USD |
class Person { | |
constructor(name) { | |
this.name = name; | |
this.age = 0; | |
this.cash = 0; | |
this.job = undefined; | |
this.properties = []; | |
this.children = []; | |
} |
country=BR | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="MYNETWORK" | |
psk="PASSWORD" | |
} | |
network={ |
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445
Run:
sudo rpi-update
In /boot/config.txt add the following line:
#!/bin/bash | |
fluidsynth --audio-bufcount=4 --gain=1 -isa alsa "$1" & | |
while ! aconnect 20 128; do sleep 1; done |
SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="nanoKEY2", TAG+="systemd", ENV{SYSTEMD_WANTS}="midi-keyboard-drums.service" | |
SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL}=="nanoKEY2", RUN+="/usr/bin/killall fluidsynth" | |
SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="UMX_61", TAG+="systemd", ENV{SYSTEMD_WANTS}="midi-keyboard-rhodes.service" | |
SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL}=="UMX_61", RUN+="/usr/bin/killall fluidsynth" | |
SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="nanoKEY2", RUN+="/usr/bin/killall emulationstation" | |
SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL}=="UMX_61", RUN+="/usr/bin/killall emulationstation" |