Skip to content

Instantly share code, notes, and snippets.

View cyrstem's full-sized avatar
🏠
Working from home

cyrstem cyrstem

🏠
Working from home
View GitHub Profile
@cyrstem
cyrstem / README.md
Created March 3, 2022 23:25 — forked from julianxhokaxhiu/README.md
Enable autodiscover AirPlay Client support on Arch Linux ( like on macOS )

Enable autodiscover AirPlay Client support on Arch Linux ( like on macOS )

Step 1

Install required dependencies

$ pacman -S avahi pulseaudio-zeroconf

Step 2

@cyrstem
cyrstem / alsa.conf
Created December 10, 2019 15:53
make headphones work in Manjaro
##create file in /etc/modprobe.d whit this line:
options snd-hda-intel model=acl298-spk-volume
##then as root run depmod -a; modprobe-r snd-hda-intel; modprobe snd-hda-intel
@cyrstem
cyrstem / main.cpp
Created April 19, 2018 02:25 — forked from kylemcdonald/main.cpp
Depth in shader using openFrameworks.
#include "ofMain.h"
class ofApp : public ofBaseApp {
public:
ofShader shader;
ofEasyCam cam;
ofFbo fbo;
void setup() {
ofBackground(0);
ofFbo::Settings s;
@kylemcdonald
kylemcdonald / main.cpp
Last active June 20, 2022 01:05
Depth in shader using openFrameworks.
#include "ofMain.h"
class ofApp : public ofBaseApp {
public:
ofShader shader;
ofEasyCam cam;
ofFbo fbo;
void setup() {
ofBackground(0);
ofFbo::Settings s;
@kylemcdonald
kylemcdonald / ofMatrix4x4-vs-glm.cpp
Created March 30, 2018 18:48
ofMatrix4x4 compared to glm::mat4.
#include "ofMain.h"
int main() {
// both initialize to identity matrix
cout << glm::mat4() << endl;
cout << ofMatrix4x4() << endl;
// both row-major (translation stored in mat[3][0,1,2])
glm::mat4 glmMat;
glmMat = glm::translate(glmMat, glm::vec3(1,2,3));
@eyecatchup
eyecatchup / mr.robot_season-2_easter-egg-sites.md
Last active April 4, 2024 10:39
A collection of "Mr. Robot" Season 2 Easter Egg Sites. #mrrobot #hackingrobot #robotegg
@REAS
REAS / RGB_textures.pde
Created May 20, 2014 23:01
Stochastic RGB textures
import processing.pdf.*;
color[] rgb = {
#FF0000, #00FF00, #0000FF
};
//SPACING BETWEEN LINES
float spMin = 2;
float spMax = 4;
float strokeWidth = 0.5;