Skip to content

Instantly share code, notes, and snippets.

View stockmind's full-sized avatar

Simone Roberto Nunzi stockmind

View GitHub Profile
@stockmind
stockmind / test_evemu_record.sh
Last active July 14, 2017 02:39
Test evemu-record
#!/usr/bin/env bash
echo "Spawning 11 processes"
for i in {0..11}
do
sudo evemu-record "/dev/input/event$i" "event$i" &
done
@stockmind
stockmind / install.sh
Created June 27, 2017 04:01
GPD Pocket fand service installation instruction
# download gpdfand service files
git clone https://github.com/efluffy/gpdfand.git
cd gpdfand
# use sbin for gpdfand service
sudo sed -i "s/\/usr\/local\/bin\/gpdfand/\/usr\/local\/sbin\/gpdfand/" gpdfand.service
# copy gpd fan service files
sudo cp gpdfand.service /etc/systemd/system/gpdfand.service
@stockmind
stockmind / 0_reuse_code.js
Created May 29, 2017 00:42
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console