Skip to content

Instantly share code, notes, and snippets.

View codingisacopingstrategy's full-sized avatar

Eric Schrijver codingisacopingstrategy

View GitHub Profile
@codingisacopingstrategy
codingisacopingstrategy / gist:852885
Created March 3, 2011 15:02
tracking_inkscape_oddities_on_os_x
I should write a little script that each day downloads the nightly build and replaces the previous one—otherwise I never know if bugs will be fixed.
For now, the most glaring thing is that GTK is not native. That’s really distracting. And that every new file is basically a whole new inkscape: such a duplication of tools.
Also, on the Mac it should recognize mac key commands. Use option instead of control.
I couldn’t find how to copy attributes, but that’s probably me.
@codingisacopingstrategy
codingisacopingstrategy / gist:827511
Created February 15, 2011 13:23
remember this error message
makeotfexe [WARNING] <OpenBaskerville> Major version number not in range 1 .. 255 [features 100]
diff --git a/OpenBaskerville.ufo/feature.fea b/OpenBaskerville.ufo/feature.fea
new file mode 100644
index 0000000..f693c4d
--- /dev/null
+++ b/OpenBaskerville.ufo/feature.fea
@@ -0,0 +1,82 @@
+
+# GPOS
+
+
@codingisacopingstrategy
codingisacopingstrategy / vectorpixels.class.py
Created February 3, 2011 13:32
Generate vectorpixels based on bitmaps (2 color pictures).
#!/usr/bin/python
""" Generates vectorpixels based on bitmaps (2 color pictures).
TODO: use element tree for XML; implement Floyd-Steinberg
dithering for color and greyscale images; implement vertical
and horiontal scanlines """
import Image
from sys import argv
class vectorpixel:
@codingisacopingstrategy
codingisacopingstrategy / liblqr.rb
Created December 28, 2010 21:37
See if this patch fixes build problems
require 'formula'
class Liblqr <Formula
url 'http://liblqr.wikidot.com/local--files/en:download-page/liblqr-1-0.4.1.tar.bz2'
homepage 'http://liblqr.wikidot.com/'
md5 '0e24ed3c9fcdcb111062640764d7b87a'
version '0.4.1'
depends_on 'glib'
@codingisacopingstrategy
codingisacopingstrategy / ardour-crash.log
Created December 28, 2010 13:43
Ardour 2.8.11 crashes when selecting the MultiBand EQ plugin
Process: Ardour2.bin [49811]
Path: /Applications/Ardour.app/Contents/MacOS/Ardour2.bin
Identifier: org.ardour.Ardour2
Version: 2.8.11/7387 (2.8.11/7387)
Code Type: X86 (Native)
Parent Process: launchd [108]
Date/Time: 2010-12-21 23:49:56.459 +0100
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6
@codingisacopingstrategy
codingisacopingstrategy / libtool.rb
Created December 26, 2010 20:54
Latest libtool (dupe)
require 'formula'
class Libtool <Formula
url 'http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz'
homepage 'http://www.gnu.org/software/libtool/'
md5 'b32b04148ecdd7344abc6fe8bd1bb021'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
@codingisacopingstrategy
codingisacopingstrategy / gist:746968
Created December 18, 2010 23:31
Trying to change the permission of a folder
computer-van-eric-schrijver:~ eric$ chmod 755 -r FDK
chmod: -r: No such file or directory
computer-van-eric-schrijver:~ eric$ chmod -r 755 FDK
chmod: 755: No such file or directory
computer-van-eric-schrijver:~ eric$ chmod FDK -r 755
chmod: Invalid file mode: FDK
computer-van-eric-schrijver:~ eric$ chmod 755 FDK -r
chmod: -r: No such file or directory
computer-van-eric-schrijver:~ eric$ chmod 755 FDK -R
chmod: -R: No such file or directory
#!/bin/bash
echo "start"
for f1 in *.MOV; do
/Applications/5DtoRGB.app/Contents/MacOS/5DtoRGB "$f1" 3
done
echo "stop"
@codingisacopingstrategy
codingisacopingstrategy / gist:719911
Created November 29, 2010 12:44
example output
‘n’ roll band.”
For Bowie the future. He was quite musical and wrote Lieder. Next to that, ‘Also Sprach Zarathustra’ in which a prophet comes down from his cave to do so in the present:
“Writers like George Steiner had nailed the sexy term post-culture and institutionalised art, is at the nexus of private introspection and public dissemination, and even Bowie’s hair style was conceived especially for him by his hairdresser. The photographic look was crafted by Mick Rock, the suits were designed by a Japanese fashion designer, and had experience as an artifact that is reproduced literally millions of times.
In a way, though, this album is much more Nietzschean than its predecessors.
The direct successor to these records, the 1972 ‘the Rise and Fall of Ziggy Stardust and the one way of celebrating that was to create it by the contrast between this highly inward looking statements.