Skip to content

Instantly share code, notes, and snippets.

@kyuucr
kyuucr / dev-proximity.patch
Created May 9, 2014 18:50
Pressure patch for xf86-input-wizardpen 0.8.1
--- src/wizardpen.c.orig 2014-05-10 02:20:43.040405929 +0800
+++ src/wizardpen.c 2014-05-10 02:19:56.852518688 +0800
@@ -836,6 +836,7 @@
}
}
+ dev->proximity = NULL;
if (InitProximityClassDeviceStruct (dev) == FALSE)
{
xf86Msg(X_ERROR, "%s: unable to allocate ProximityClassDeviceStruct\n", local->name);
@kyuucr
kyuucr / .jshintrc
Last active August 29, 2015 13:58
My .jshintrc file for gnome-shell extension development
{
"esnext": true,
"undef": true,
"unused": "vars",
"predef": [ "imports", "global" ]
}
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const Meta = imports.gi.Meta;
const Shell = imports.gi.Shell;
const Main = imports.ui.main;
const Me = imports.misc.extensionUtils.getCurrentExtension();