- put
foxdot-cli.py
in the same directory as the FoxDot installaton (in case you're usingvirtualenv
, otherwise comment from lines 5 to 7) - copy
foxdot-mode.el
to~/.emacs.d/lisp
- add
(defvar foxdot-cli-path "/path/to/foxdot-cli/")
in your~/.emacs
file - in Emacs
M-x load-library
and complete withfoxdot-mode
- Type
C-c C-f
orM-x foxdot-start
to start - Type
C-c C-e
orM-x foxdot-execute
to evaluate a line or a block of code
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
""" | |
Minimal demo of OpenGL >= 3.0, Qt >= 5.0 in Python 3.6 | |
Uses a programmable shader pipeline to draw a pair of triangles. | |
Eschews PyQt's wrapper functions in favor of PyOpenGL's because I couldn't get it to draw | |
anything other than a black screen (which means any one of a hundred details were incorrect). | |
Besides, you'd have to fall back on PyOpenGL to get glDrawArrays anyway, so we may as well | |
use it for everything. |
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
int val=0; | |
int buzzer = 10; | |
unsigned long on_time=0; | |
unsigned long off_time=0; | |
unsigned long button_ontime[20]; | |
unsigned long button_offtime[20]; | |
int button_seq[20]; | |
int button1=3; | |
int button2=4; | |
int button3=5; |
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
#FoxDot Session @irisR @pablitx | |
## we should run FoxDot.start in our SuperColliders | |
p1 >> dbass(PRand([0,2,0,4, 5, 7]), dur=[1/3], amp=[0.25],pan = [-1, 0, 1], vib = 3, vibdepth = 0.02, chop = 6, lpf=Psine(), lpr=0.2) | |
p1.stop() | |
# TOTALLY AWESOME FELLOWS !!!! :D \O/ | |
print(SynthDefs) |
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
#N canvas 0 56 1366 712 10; | |
#X obj 445 347 dac~; | |
#X obj 445 64 phasor~ 0.0125; | |
#X obj 737 228 expr~ $v1/($v1*80*8%3%2+1)*($v1*80*8%4%3%2*($v1*80%2)+1)*80000*8+$v1*80000*($v1*8*8%10*8)%8 | |
; | |
#X obj 738 297 expr~ ($v1*($v1/2000%3+1)%2)*pow(sin(1000/($v1%1000+600)) | |
\, 50)*0.2*!($v1/1000%32*25%32<25)+($v1/(8000/pow(2 \, $v1/4000%3+1))%2)*!($v1/8000%2)*0.5 | |
\; ($v1*($v1/2000%3+1)%2)*pow(sin(1000/($v1%1000+600)) \, 50)*0.2*($v1/1000%32*25%32<25)+($v1/(8000/pow(2 | |
\, $v1/4000%3+1))%2)*($v1/8000%2)*0.5; | |
#X obj 442 84 expr~ $v1*80000*2%250+$v1*10*8*8*8%(8*8*8*10)*125/80 |
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
sudo pacman -Syu zsh
You do not need to install manjaro-zsh-config
and all the other related packages like zsh-syntax-highlighting
, zsh-history-substring-search
, zsh-autosuggestions
, etc., as we will use Oh My Zsh.
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
Setup the local node | |
mkdir celo-node | |
cd celo-node | |
export CELO_IMAGE=us.gcr.io/celo-org/geth:alfajores | |
docker pull $CELO_IMAGE | |
docker run --name celo-node \ | |
-it \ | |
--restart always \ | |
--stop-timeout 300 \ |
OlderNewer