This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# automounting usb flash drives | |
ACTION=="add", SUBSYSTEM=="block", KERNEL=="[sh]d[b-z][0-9]*",RUN+="/usr/bin/pmount --sync --umask 000 %k %c" | |
ACTION=="remove", SUBSYSTEM=="block", KERNEL=="[sh]d[b-z][0-9]*",RUN+="/usr/bin/pumount /dev/%k" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
DJVUPATH=/usr/local/djvulibre/bin/ | |
djvuname=$1 | |
shift | |
for file in $* ; do | |
base=`echo $file | sed 's/\.[^\.]*$//'` | |
djvus="$djvus $base.djvu" | |
ppms="$ppms $base.ppm" | |
echo $base ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME=report | |
BIBROOT=$(PWD)/../.. | |
.PHONY: FORCE_MAKE | |
all: $(NAME).pdf | |
%.pdf: %.tex FORCE_MAKE | |
BIBINPUTS=$(BIBROOT) latexmk -pdf -dvi- -ps- $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# breaks array to buckets delimited by a specified item | |
def buckets array, &block | |
buckets = [] | |
while true | |
cur = array.find_index &block | |
buckets << array unless cur | |
break unless cur | |
buckets << array[0...cur] if cur > 0 | |
array = array.drop(cur+1) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 234c34a9d09b GrowlVersion.h | |
--- a/GrowlVersion.h Wed May 30 00:37:42 2012 -0500 | |
+++ b/GrowlVersion.h Mon Jul 30 16:48:13 2012 +0400 | |
@@ -1,8 +1,8 @@ | |
#define COMMENT_1 DO NOT EDIT THE VERSION IN THIS FILE! | |
#define COMMENT_2 In case you're wondering why we're using #define for comments: This header is #imported into both Objective-C code and XML Info.plist files. | |
-#define GROWL_VERSION 1.4 | |
-#define GROWL_VERSION_STRING "1.4" | |
+#define GROWL_VERSION 1.4i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/env perl -e use XML::Parser | |
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.36/librsvg-2.36.1.tar.xz | |
Already downloaded: /Library/Caches/Homebrew/librsvg-2.36.1.tar.xz | |
xz -dc "/Library/Caches/Homebrew/librsvg-2.36.1.tar.xz" | /usr/bin/tar xf - | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/librsvg/2.36.1 --disable-Bsymbolic --enable-tools=yes --enable-pixbuf-loader=yes --enable-introspection=no | |
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/librsvg/2.36.1 --disable-Bsymbolic --enable-tools=yes --enable-pixbuf-loader=yes --enable-introspection=no | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... ./install-sh -c -d | |
checking for gawk... gawk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning: You may have installed MacGPG2 via the package installer. | |
Several other checks in this script will turn up problems, such as stray | |
dylibs in /usr/local and permissions issues with share and man in /usr/local/. | |
Warning: /usr/bin occurs before /usr/local/bin | |
This means that system-provided programs will be used instead of those | |
provided by Homebrew. The following tools exist at both paths: | |
2to3 | |
awk | |
cdiff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: jade/TeXFOTBuilder.cxx | |
=================================================================== | |
--- jade/TeXFOTBuilder.cxx | |
+++ jade/TeXFOTBuilder.cxx | |
@@ -92,6 +92,8 @@ public: | |
PageFloatNIC nic_; | |
StringC name_; | |
StringC placement; | |
+ public: | |
+ PageFloatFlowObj() { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Makefile.prog.in Tue Jan 22 06:57:53 2002 | |
+++ Makefile.prog.in Tue Jun 11 15:54:36 2002 | |
@@ -12,7 +12,7 @@ | |
ALL_LIBS = $(XLIBS) $(LIBS) | |
Makefile.lt: | |
- echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g'` >Makefile.lt | |
+ echo 'LT_LIBS='`echo $(XLIBS)|sed 's/\.a/.la/g;s/libosp.la/libosp.dylib/g'` >Makefile.lt | |
PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@') |