Skip to content

Instantly share code, notes, and snippets.

View gogoprog's full-sized avatar

Gauthier Billot gogoprog

View GitHub Profile
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: ROG STRIX B550-F GAMING
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 9 5950X 16-Core Processor
CPU Family: 0x19
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen Threadripper 1950X 16-Core Processor
CPU Family: 0x17
@gogoprog
gogoprog / jumper_sample.lua
Created June 14, 2018 11:09
Jumper sample
local Grid = require ("jumper.grid")
local Pathfinder = require ("jumper.pathfinder")
local map = {
{0,0,8,8,0,8,0,0},
{0,0,9,9,8,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0},
{0,0,0,0,0,0,0,0}
acl 2.2.52-4
adwaita-icon-theme 3.28.0-1
alsa-lib 1.1.6-1
alsa-plugins 1.1.6-1
android-ndk r16.b-1
android-studio 3.1.1.0-1
android-tools 8.1.0_r7-1
apache-ant 1.9.7-1
archlinux-keyring 20180404-1
argon2 20171227-3
@gogoprog
gogoprog / wacom-select-area.sh
Created December 20, 2016 08:05
Utility to select the screen area for the wacom tablet
# Required : xrectsel from AUR
xsetwacom --set 8 MapToOutput "$(xrectsel)"
@gogoprog
gogoprog / serve
Created October 24, 2016 07:12
Serve all openfl projects at once
#!/bin/bash
port=3000
find . | grep Export/html5/bin/index.html | while read line
do
path=$(dirname "${line}")
pushd $path
python2 -m SimpleHTTPServer $port &
echo "Server started on port $port for $path"
port=$(($port + 1))
nameserver 2001:910:800::12
nameserver 2001:910:800::40
nameserver 2001:913::8
nameserver 2a00:5881:8100:1000::3
@gogoprog
gogoprog / dmg-create
Created May 26, 2016 12:08
A script to create dmg files on osx
hdiutil create -fs HFS+ -srcfolder "$1" -volname "$2" "$2.dmg"
@gogoprog
gogoprog / mbed-updater
Last active January 22, 2016 13:07
Script to automatically update the software on a mbed device
#!/bin/bash
MBED="/run/media/gogoprog/MBED"
BIN_LOCATION="/home/gogoprog/Downloads"
while [ true ]
do
stat -t ${BIN_LOCATION}/*.bin >/dev/null 2>&1 && mv ${BIN_LOCATION}/*.bin ${MBED}/ && echo -n "Bin updated @ " && date
sleep 1
done
@gogoprog
gogoprog / .atom-build.json
Last active May 18, 2016 09:31
.atom-build.json file used for FishingCactus projects
{
"cmd": "make",
"name": "debug",
"args": [ "-j8" ],
"sh": false,
"cwd": "{PROJECT_PATH}/CODE/APP/LINUX/",
"env": {
},
"errorMatch": "(?<file>[\\/0-9a-zA-Z\\._]+):(?<line>\\d+):(?<col>\\d+).*error:(?<message>.+)",
"warningMatch": "(?<file>[\\/0-9a-zA-Z\\._]+):(?<line>\\d+):(?<col>\\d+).*warning:(?<message>.+)",