Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
/usr/bin/nekotools server -p 2000 -h localhost -d ./
# Maintainer: Kyle Brady <kyle at spark-gap dot com>
# Contributor: Patrick Hof <[email protected]>
# Contributor: Michael Fellinger <[email protected]>
# Contributor: Daichi Shinozaki <[email protected]>
pkgname=haxe
pkgver=2.08
pkgrel=4
pkgdesc="An open source programming language."
arch=('i686' 'x86_64')
@dseg
dseg / PKGBUILD.neko-1.8.2-7.patch
Created April 7, 2012 13:25
neko v1.8.2-7 patch
--- PKGBUILD 2012-04-05 18:48:24.000000000 +0900
+++ PKGBUILD.neko.1.8.2-7 2012-04-07 18:50:50.989358970 +0900
@@ -6,13 +6,13 @@
pkgname=neko
pkgver=1.8.2
-_fixedrevision=1878
-pkgrel=6
+_fixedrevision=1879
+pkgrel=7
@dseg
dseg / PKGBUILD for librabbitmq-c
Created November 23, 2012 05:07
librabbitmq-c 20121123-1
# Contributor: aleiphoenix <[email protected]>
pkgname=librabbitmq-c
pkgver=20121123
pkgrel=1
pkgdesc="A RabbitMQ(amqp) library written in C-language"
arch=('i686' 'x86_64')
license=('BSD')
makedepends=('git' 'autoconf' 'python' 'xmlto')
url=https://github.com/alanxz/rabbitmq-c
--- twittering-mode.el.orig 2013-05-06 15:40:54.000000000 +0900
+++ twittering-mode.el 2014-04-11 22:26:00.759759428 +0900
@@ -560,7 +560,7 @@
(defvar twittering-use-master-password nil
"*Wheter to store private information encrypted with a master password.")
(defvar twittering-private-info-file
- (expand-file-name "~/.twittering-mode.gpg")
+ (expand-file-name "~/.twittering-mode.conf")
"*File for storing encrypted private information when
`twittering-use-master-password' is non-nil.")
# /etc/apache2/mods-available/diary.load
# Depends: setenvif diary
LoadModule diary_module /usr/lib/apache2/modules/mod_diary.so
@dseg
dseg / diary.conf
Last active August 29, 2015 14:27
# /etc/apache2/mods-available/diary.conf
# A sample config file of apache mod_diary on Ubuntu 14.04 (trusty)
# mod_diary
# http://github.com/hamano/apache-mod-diary/
<IfModule mod_diary.c>
<Location /blog>
SetHandler diary
DiaryTitle "...The Ballad of Dead Pixels..."
/var/www/blog IN_MODIFY,IN_CREATE,IN_DELETE,IN_MOVE,IN_NO_LOOP /usr/local/bin/update-diary
#!/bin/sh
cd /var/www/blog && \
/usr/local/bin/diary-mkindex > index.hdf
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ja">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
<?cs if:entry.title ?>
<?cs var:html_escape(entry.title + " - " + diary.title) ?>
<?cs else ?>
<?cs var:html_escape(diary.title) ?>
<?cs /if ?>