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
| SinOsc s => dac; | |
| 3::second => now; |
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
| adc => dac; | |
| 3::second => now; |
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
| adc => NRev r => Gain AM => SinOsc od => dac; | |
| 3 => AM.op; | |
| 1 => od.sync; | |
| day => now; |
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
| language: bash | |
| sudo: false | |
| install: true | |
| addons: | |
| apt: | |
| packages: | |
| - lua5.1 | |
| - python2.7 | |
| - luarocks | |
| before_install: |
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
| #!/usr/bin/env bash | |
| set -x | |
| P="enjoy" | |
| LV="0.10.1" # love version | |
| LZ="https://bitbucket.org/rude/love/downloads/love-${LV}-win32.zip" | |
| ### clean | |
| if [ "$1" == "clean" ]; then | |
| rm -rf "target" |
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
| if test "$1" = "record"; then | |
| killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck /home/pi/chuck/rec.ck:/home/pi/rec.wav & | |
| exit | |
| fi | |
| if test "$1" = "play"; then | |
| killall chuck.alsa; chuck.alsa --dac3 --adc3 --in1 --bufsize100 /home/pi/chuck/g.ck & | |
| exit | |
| fi |
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
| AT+CWMODE=1 | |
| AT+CWJAP="SSID","secret" | |
| AT+CIPSTART=1,"TCP","google.com",80 | |
| 1,CONNECT | |
| OK | |
| AT+CIPSEND=1,9 (GET /) | |
| OK | |
| > | |
| Recv 9 bytes | |
| SEND OK |
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
| local lpeg = require "lpeg" | |
| lpeg.locale(lpeg) | |
| local S,C,Ct,Cc,Cg,Cb,Cf,Cmt,P,V = | |
| lpeg.S, lpeg.C, lpeg.Ct, lpeg.Cc, lpeg.Cg, lpeg.Cb, lpeg.Cf, lpeg.Cmt, | |
| lpeg.P, lpeg.V | |
| local eof = -1 | |
| local sp = S" \t" ^0 + eof | |
| local wh = S" \t\r\n" ^0 + eof |
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
| mpv https://www.youtube.com/watch?v=pF-3S-HTJSg -ao none -fullscreen -loop 0 |
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
| Outer window is 0x2800001, inner window is 0x2800002 | |
| ButtonPress event, serial 25, synthetic NO, window 0x2800001, | |
| root 0xdf, subw 0x0, time 1502519276, (82,51), root:(884,310), | |
| state 0x0, button 8, same_screen YES | |
| ButtonRelease event, serial 25, synthetic NO, window 0x2800001, | |
| root 0xdf, subw 0x0, time 1502519424, (82,51), root:(884,310), | |
| state 0x0, button 8, same_screen YES |
OlderNewer