Skip to content

Instantly share code, notes, and snippets.

View whitelynx's full-sized avatar
😸

David H. Bronke whitelynx

😸
View GitHub Profile
@whitelynx
whitelynx / PKGBUILD
Created March 28, 2012 17:36
ArchLinux PKGBUILD for jimenezrick/vimerl
# Maintainer: Pawel 'kTT' Salata <rockplayer.pl@gmail.com>
# Contributor: David H. Bronke <whitelynx@gmail.com>
pkgname=vim-erlang-git
pkgver=20120328
pkgrel=1
pkgdesc="The Erlang plugin for Vim"
arch=(any)
url="https://github.com/jimenezrick/vimerl"
license=('GPL')
public class Deferred<T>
{
protected Logger logger = null;
protected EventWaitHandle waitForResult = null;
protected HashSet<Deferred<T>> dependentDeferreds = null;
public string name
{
@whitelynx
whitelynx / gist:5065654
Last active December 14, 2015 09:29
Updated PKGBUILD for twmn - changed 'qt' dependency to 'qt4', and changed 'qmake' command to 'qmake4'
# Maintainer: Bolivar Stephen <bolivar.stephen@gmail.com>
pkgname=twmn
pkgver=20130301
pkgrel=1
pkgdesc="A notification system for tiling window managers"
arch=(any)
url="https://github.com/sboli/twmn"
license=('LGPL3')
groups=
@whitelynx
whitelynx / gist:5065776
Created March 1, 2013 16:24
twmn: makepkg build errors when extra/qt3 3.3.8b-2 and extra/qt4 4.8.4-11 are installed
~/p/twmn > makepkg
==> Determining latest git revision...
-> Version found: 20130301
==> Making package: twmn 20130301-1 (Fri Mar 1 10:13:58 CST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
@whitelynx
whitelynx / gist:5065842
Last active December 14, 2015 09:38
Updated PKGBUILD for qgis - removed 'qt' dependency (would have been 'qt4', but is provided by 'qwt') and added -DQT_QMAKE_EXECUTABLE=qmake4 to fix builds on systems with more than one version of qt installed
# Maintainer: Lantald < lantald at gmx.com
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
# Contributor: Eric Forgeot < http://esclinux.tk >
pkgname=qgis
pkgver=1.8.0
pkgrel=4
pkgdesc='Quantum GIS is a Geographic Information System (GIS) that supports vector, raster & database formats'
@whitelynx
whitelynx / gist:5065907
Created March 1, 2013 16:39
vim-qt-git: error downloading qvim.svg
~/p/vim-qt-git > makepkg
==> Determining latest git revision...
-> Version found: 20130301
==> Making package: vim-qt-git 20130301-1 (Fri Mar 1 10:38:20 CST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found qvim.desktop
-> Downloading qvim.svg...
% Total % Received % Xferd Average Speed Time Time Time Current
@whitelynx
whitelynx / gist:5065997
Created March 1, 2013 16:50
vim-qt-git: python configure error and build error with 'rcc'
~/p/vim-qt-git > makepkg
==> Determining latest git revision...
-> Version found: 20130301
==> Making package: vim-qt-git 20130301-1 (Fri Mar 1 10:46:43 CST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found qvim.desktop
-> Found qvim.svg
==> Validating source files with md5sums...
@whitelynx
whitelynx / gist:5066244
Last active December 14, 2015 09:39
Comparison of mentions of 'python2' in the 'vim' and 'vim-qt-git' PKGBUILDs
~/p/vim-qt-git > grep -RnIE '\<python2\>' PKGBUILD
11:depends=('qt4' 'vim-runtime' 'gpm' 'perl' 'python2' 'ruby' 'libxt')
~/p/vim-qt-git > grep -RnIE '\<python2\>' ../vim/PKGBUILD
17:makedepends=('gpm' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2' 'lua')
160: 'desktop-file-utils' 'gtk2' 'lua' 'python2')
@whitelynx
whitelynx / gist:5066328
Last active December 14, 2015 09:38
Updated PKGBUILD for vim-qt-git - fixed icon URL, Python configuration, and build error running 'rcc'
# Maintainer Jekyll Wu<adaptee [at] gmail [dot] com>
# Basically, stolen shamelessly from http://chakra-probject.org/ccr
pkgname=vim-qt-git
pkgver=20130301
pkgrel=1
pkgdesc="A Qt powered vim GUI"
arch=("i686" "x86_64")
url="https://bitbucket.org/equalsraf/vim-qt/wiki/Home"
license=('custom:vim')
@whitelynx
whitelynx / postgres-equals-any.js
Created May 31, 2013 16:31
Full example of filtering PostgreSQL queries in node-postgres using `= ANY(...)`
#!/usr/bin/env node
var util = require('util');
var async = require('async');
var pg = require('pg');
//---------------------------------------------------------------------------------------------------------------------
var connection = {