Skip to content

Instantly share code, notes, and snippets.

View timmui's full-sized avatar

Tim Mui timmui

View GitHub Profile
// Paste the code below into the JavaScript console while logged in to CloudPebble for
// a link to a zip file containing all your CloudPebble projects.
console.log("Requesting export...");
Ajax.Post('/ide/transition/export', {}).then(function(data) {
console.log("Request result: ");
console.log(data);
console.log("Waiting for archive. This may take a long time.");
return Ajax.PollTask(data.task_id, {on_bad_request: console.error});
}).then(function(result) {
@pubkey
pubkey / corsair_headset_linux.bash
Last active October 31, 2024 00:06
Corsair Gaming VOID Headset on Linux
# Corsair headsets will stuck the apps on your linux system. This is due to wrong usb-mapping.
# thx to http://www.c0urier.net/2016/corsair-gaming-void-usb-rgb-linux-fun
# 1. open terminal
# 2. type this and search the line with your headset
lsusb
# Get the USB ID of the headset and add it to xorg.conf: