#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
#nano javascript syntax highlighting
The existing syntax highlighting is located in /usr/share/nano/
To add a new language
sudo nano /usr/share/nano/javascript.nanorc
Put the following in the contents:
# Stream 60 seconds of video to an mp4 file | |
sudo raspivid -o - -t 60000 -ex night -br 50 -w 1920 -h 1080 -rot 279 -fps 8 | sudo ffmpeg -r 8 -i - -y -vcodec copy /mnt/pi/camera/foo.mp4 |
@lazyglobal off. | |
function countdown { | |
parameter i. | |
lock STEERING to LOOKDIRUP(UP:VECTOR, FACING:TOPVECTOR). | |
lock THROTTLE to 1. | |
until i <= 0 { | |
HUDTEXT(i, 1, 4, 100, RED, false). |