Skip to content

Instantly share code, notes, and snippets.

View arihans's full-sized avatar
🙃
Confused

Ari arihans

🙃
Confused
View GitHub Profile
@arihans
arihans / .conkyrc
Last active July 20, 2020 03:15
(August-2019) Conky config
--Conky settings
-------------------------
conky.config = {
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
@arihans
arihans / biosonification.py
Created March 31, 2020 11:47
Convert arduino serial port reading to tone
import numpy
import pyaudio
import math
import time
# from gsr-reader import return_frequency
import serial
ser = serial.Serial('/dev/ttyACM0')
ser.flushInput()
class ToneGenerator(object):
@arihans
arihans / biosonification.py
Created March 31, 2020 11:47
Convert arduino serial port reading to tone
import numpy
import pyaudio
import math
import time
# from gsr-reader import return_frequency
import serial
ser = serial.Serial('/dev/ttyACM0')
ser.flushInput()
class ToneGenerator(object):

🔹GTK Theme: Lumiere-Magenta

🔹Xfwm Theme: Frontiere-Blue

🔹System Font: Undefined


⣿⣿⣿⣿⣿⡿⣫⠿⠟⠛⠛⠛⠳⢿⣿⠟⣛⡽⠿⠛⠟⡿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣽⠋⡏⢱⠄⣀⣀⣤⣀⣁⠨⢻⡅⠐⠌⡈⠊⢏⠉⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⡿⢁⠅⣨⠖⠋⠉⠀⡰⠬⠩⠙⠲⢷⠶⢖⠒⠒⢚⡻⠶⠿⣿⣿⢿⣿⣿
var path = require('path');
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var BrowserSyncPlugin = require('browser-sync-webpack-plugin');
require('dotenv').config();
// Phaser webpack config
var phaserModule = path.join(__dirname, '/node_modules/phaser/');
var phaser = path.join(phaserModule, 'src/phaser.js');