Skip to content

Instantly share code, notes, and snippets.

View bricewge's full-sized avatar

Brice Waegeneire bricewge

View GitHub Profile
@bricewge
bricewge / PKGBUILD
Created January 9, 2016 18:01
AUR platformio-git
# Maintainer: Will Price <will.price94+aur@gmail.com>
# Contributor: Brice Waegeneire <bricewge at gmail dot com>
pkgname=platformio-git
_pkgname=platformio
pkgver=v2.1.1.r554.g3d0aad6
pkgrel=1
pkgdesc="A cross-platform code builder and library manager"
arch=('x86_64' 'i686')
url="http://platformio.com/"
@bricewge
bricewge / PKGBUILD
Created December 7, 2015 20:59
qemu-user-static 2.4-3
# Maintainer: Sergio Tridente <tioduke at gmail dot com >
# Contributor: Steven Noonan <steven@uplinklabs.net>
pkgname=qemu-user-static
pkgver=2.4
pkgrel=3
pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation, statically linked."
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
url="http://wiki.qemu.org/Index.html"
@bricewge
bricewge / ipython notebook log
Created May 5, 2015 08:32
ipython 3.1.0-1 archlinux bug
~ ipython notebook
Traceback (most recent call last):
File "/bin/ipython", line 5, in <module>
start_ipython()
File "/usr/lib/python3.4/site-packages/IPython/__init__.py", line 120, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
File "/usr/lib/python3.4/site-packages/IPython/config/application.py", line 573, in launch_instance
app.initialize(argv)
File "<string>", line 2, in initialize
File "/usr/lib/python3.4/site-packages/IPython/config/application.py", line 75, in catch_config_error
@bricewge
bricewge / PKGBUILD
Last active August 29, 2015 14:17
isso PKGBUILD
# Maintainer: Reventlov <contact+aur@volcanis.me>
# Contributor: Brice Waegeneire <brice dot wge at gmail dot com>
pkgname=isso
pkgver=0.9.9
pkgrel=2
pkgdesc="A commenting python server similar to disqus"
arch=('any')
url="http://posativ.org/isso/"
license=('MIT')
depends=('python-werkzeug' 'python-html5lib' 'python-misaka' 'python-itsdangerous' 'python-six' 'sqlite' 'python-setuptools')
@bricewge
bricewge / magit-vcsh.el
Last active August 29, 2015 14:02
magit/magit #460
(defun yingyang-link (gitdir worktree)
(interactive (list (read-directory-name "Gitdir: ")
(read-directory-name "Worktree: ")))
(with-temp-file (expand-file-name ".git" worktree)
(insert "gitdir: " (file-relative-name gitdir worktree) "\n"))
(magit-call-git "config" "-f" (expand-file-name "config" gitdir)
"core.worktree" (file-relative-name worktree gitdir)))
(defun yingyang-unlink (gitdir worktree)
(interactive (list (read-directory-name "Gitdir: ")
@bricewge
bricewge / el-get_fix-typos
Created October 23, 2013 15:31
When installing navi-mode without "" in :pkgname. emacs --debug-init
Debugger entered--Lisp error: (wrong-type-argument stringp tj64/outshine)
string-match("/" tj64/outshine 0)
split-string(tj64/outshine "/" omit-nulls)
el-get-github-parse-user-and-repo(outshine)
el-get-github-url(outshine)
el-get-github-clone(outshine nil el-get-post-install)
funcall(el-get-github-clone outshine nil el-get-post-install)
(let* ((status (el-get-read-package-status package)) (source (el-get-package-def package)) (method (el-get-package-method source)) (install (el-get-method method :install)) (url (plist-get source :url)) (pdir (el-get-package-directory package))) (el-get-error-unless-required-emacs-version source) (cond ((string= "installed" status) (error "Package %s is already installed." package)) ((string= "required" status) (message "Package %s previously failed to install, removing it first." package) (el-get-remove package)) ((file-exists-p pdir) (message "Package %s has an install dir but is not known to be installed. Removing it so we can install a known version." package