Skip to content

Instantly share code, notes, and snippets.

View Noisk8's full-sized avatar

Noisk8 Noisk8

View GitHub Profile
@lvm
lvm / README.md
Created February 13, 2017 16:37
[WIP] hackish emacs mode for FoxDot

Installation

  1. put foxdot-cli.py in the same directory as the FoxDot installaton (in case you're using virtualenv, otherwise comment from lines 5 to 7)
  2. copy foxdot-mode.el to ~/.emacs.d/lisp
  3. add (defvar foxdot-cli-path "/path/to/foxdot-cli/") in your ~/.emacs file
  4. in Emacs M-x load-library and complete with foxdot-mode
  5. Type C-c C-f or M-x foxdot-start to start
  6. Type C-c C-e or M-x foxdot-execute to evaluate a line or a block of code
@karlrwjohnson
karlrwjohnson / minimal_pyqt_pyopengl.py
Last active December 21, 2019 09:45
Python + QT + OpenGL 3
"""
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.
@keijiro
keijiro / 00_blot6.md
Created March 8, 2018 13:36
KodeLife fragment shader sketch

gif

@keijiro
keijiro / 00_blot9.md
Last active March 29, 2023 02:16
KodeLife fragment shader sketch

gif

@elktros
elktros / Arduino_Piano_Project.ino
Created September 25, 2018 07:29
Code for Arduino based Piano Project.
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;
@vdg0
vdg0 / livesession.py
Created December 29, 2019 23:33
Clic LiveCoding Session CheckPoint
#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)
#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
@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active July 22, 2024 09:51
To install Github Desktop for Ubuntu

IMPORTANT

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.

@yovko
yovko / ohmyzsh.md
Last active June 19, 2024 06:18
ZSH (using Oh My ZSH) on Manjaro Linux

ZSH (using Oh My ZSH) on Manjaro Linux

0. If ZSH is not already installed on your Manjaro system you can do it with the command:

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.

@nestorbonilla
nestorbonilla / celo-local-node
Last active February 6, 2024 03:02
Steps to set up a local node on Celo using Docker
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 \