Skip to content

Instantly share code, notes, and snippets.

View baskerville's full-sized avatar

Bastien Dejean baskerville

View GitHub Profile

click the x button on the controller

@baskerville
baskerville / PKGBUILD.patch
Created January 26, 2014 19:39
owlman *dash as sh* PKGBUILD patch
diff -ru a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD 2014-01-26 20:36:12.272798175 +0100
+++ b/PKGBUILD 2014-01-26 20:35:38.059598273 +0100
@@ -20,6 +20,11 @@
git rev-list --count HEAD
}
+prepare() {
+ cd "$srcdir/$_pkgname"
+ sed -i 's:/bin/sh:/bin/dash:' owlman*
@baskerville
baskerville / husl.mac
Last active December 14, 2023 15:42
RGB2HUSL
/* References: */
/* http://www.brucelindbloom.com/ */
/* https://github.com/jrus/chromatist */
/* https://github.com/boronine/husl */
/* D65 white point */
refX: 0.95047;
refY: 1.0;
refZ: 1.08883;
@baskerville
baskerville / PKGBUILD.patch
Last active December 17, 2015 23:09
bspwm debug PKGBUILD patch
diff -ru a/PKGBUILD b/PKGBUILD
--- a/PKGBUILD 2013-09-23 22:59:51.245210921 +0200
+++ b/PKGBUILD 2013-09-23 22:59:48.011890198 +0200
@@ -13,6 +13,7 @@
optdepends=('sxhkd-git: to define keyboard and pointer bindings' 'xdo-git: for the example sxhkdrc' 'xtitle-git: for the example panels' 'sutils-git: for the example panels' 'bar-aint-recursive: for the example bar panel' 'dzen2-bskv-git: for the example dzen2 panel' 'txtw-git: for the example dzen2 panel' 'sres-git: for the example dzen2 panel' 'ttf-dejavu: for the example dzen2 panel')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
+options=('!strip')
source=("git://github.com/baskerville/${_pkgname}.git")
md5sums=('SKIP')
@baskerville
baskerville / at.glyph
Created April 20, 2013 07:28
FontForge Broken SVG Import
StartChar: at
Encoding: 64 64 0
Width: 1000
VWidth: 0
Flags: H
LayerCount: 2
UndoRedoHistory
Layer: 1
Undoes
EndUndoes
@baskerville
baskerville / PKGBUILD
Created April 14, 2013 19:48
libicns
# Maintainer: Andy Kluger <gmail: evilgnome>
# Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com>
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Bastien Dejean <baskerville@lavabit.com>
pkgname=libicns
pkgver=0.8.1
pkgrel=2
pkgdesc='Library for manipulating Mac OS X icon files'
@baskerville
baskerville / typo_fix-urxvt_perls.diff
Created September 15, 2012 09:45
Fix urxvt-perls Missing Parenthesis
diff -ru a/clipboard b/clipboard
--- a/clipboard 2012-09-15 11:43:37.469335127 +0200
+++ b/clipboard 2012-09-15 11:43:40.972722481 +0200
@@ -34,7 +34,7 @@
$self->{copy_cmd} = $self->x_resource('clipboard.copycmd') || 'xsel -ib';
$self->{paste_cmd} = $self->x_resource('clipboard.pastecmd') || 'xsel -ob';
- if ($self->x_resource('clipboard.autocopy' eq 'true') {
+ if ($self->x_resource('clipboard.autocopy' eq 'true')) {
$self->enable(sel_grab => \&sel_grab);
@baskerville
baskerville / stderred-git-pkgbuild-patch.diff
Created May 9, 2012 11:37
stderred-git PKGBUILD patch
--- PKGBUILD 2011-12-19 15:54:48.000000000 +0100
+++ PKGBUILD_20120509_133348 2012-05-09 13:33:48.860573954 +0200
@@ -1,6 +1,6 @@
# Maintainer: AJ Ashton <aj.ashton@gmail.com>
pkgname=stderred-git
-pkgver=20111219
+pkgver=20120509
pkgrel=1
pkgdesc="Library to make STDERR output red."
arch=('i686' 'x86_64')
@baskerville
baskerville / PKGBUILD
Created April 21, 2012 13:03
gngeo 0.8 bare PKGBUILD
# Maintainer: baskerville <baskerville a lavabit o com>
pkgname=gngeo-bare
_pkgname=gngeo
pkgver=0.8
pkgrel=1
pkgdesc="A CLI Neo Geo Emulator"
url="http://gngeo.googlecode.com"
license="custom"
depends=('zlib' 'sdl')
@baskerville
baskerville / tint2_notdock_wintype.diff
Created March 21, 2012 19:47
Tint2 Patch to Avoid the Dock Window Type Being Applied to the Panel
--- panel.c 2012-03-21 20:40:41.646064585 +0100
+++ panel_nodock.c 2012-03-21 20:41:29.623473226 +0100
@@ -426,11 +426,11 @@
}
// Dock
- long val = server.atom._NET_WM_WINDOW_TYPE_DOCK;
- XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (unsigned char *) &val, 1);
+ /* long val = server.atom._NET_WM_WINDOW_TYPE_DOCK; */
+ /* XChangeProperty (server.dsp, p->main_win, server.atom._NET_WM_WINDOW_TYPE, XA_ATOM, 32, PropModeReplace, (unsigned char *) &val, 1); */