Skip to content

Instantly share code, notes, and snippets.

View jimtremblay's full-sized avatar

Jim Tremblay-Laplante jimtremblay

View GitHub Profile
@jimtremblay
jimtremblay / Compact Light (stylish)
Last active July 30, 2017 12:29
Thunderbird Compact Light theme (Stylish theme)
/* AGENT_SHEET */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/**
* This is an adaptation for Thunderbird of my style 'Numix Tabs for Firefox 29+'
* (https://userstyles.org/styles/117361/numix-tabs-for-firefox-29)
*
* based on 'Numix for Firefox' by @manicfold
* (https://userstyles.org/styles/95159/numix-for-firefox)
* @Author: Laron
@jimtremblay
jimtremblay / README.md
Last active July 4, 2017 02:00
Thinkpad X230 Tablet scripts and fixes

Install thinkpad-scripts from ppa:martin-ueding/stable

File to modify: /lib/udev/hwdb.d/60-keyboard.hwdb

  1. Change

KEYBOARD_KEY_6c=direction # rotate screen

for

// shapes: minimal program to explore OpenVG
// Anthony Starks (ajstarks@gmail.com)
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <time.h>
#include "VG/openvg.h"
#include "VG/vgu.h"
#include "EGL/egl.h"
@jimtremblay
jimtremblay / mysql-docker.sh
Created December 27, 2016 19:20 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE