Skip to content

Instantly share code, notes, and snippets.

View codingisacopingstrategy's full-sized avatar

Eric Schrijver codingisacopingstrategy

View GitHub Profile
@codingisacopingstrategy
codingisacopingstrategy / relevations.py
Created November 29, 2010 00:25
suave trigram based text generation
#!/usr/bin/python
# -*- coding: utf-8 -*-
import nltk
import codecs
import re
f = codecs.open("newphilosophers2.txt", "r", "utf-8")
tokenizer = nltk.tokenize.RegexpTokenizer(r'\w+|[^\w\s]+|\n+')
@codingisacopingstrategy
codingisacopingstrategy / hyperlink.rb
Created November 19, 2010 23:28
Textmate’s hyperlink helper standalone.
@codingisacopingstrategy
codingisacopingstrategy / zorba.rb
Created November 19, 2010 19:33
Creating a Homebrew formula for the Zorba XSLT processor
#in progress
require 'formula'
class Zorba <Formula
url 'http://sourceforge.net/projects/zorba/files/zorba/1.4.0/zorba-1.4.0.tar.gz/download'
homepage 'http://www.zorba-xquery.com/'
md5 ''
version '1.4.0'
depends_on 'cmake'
Process: Ardour2.bin [714]
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 [107]
Date/Time: 2010-11-18 21:25:34.461 +0100
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6
@codingisacopingstrategy
codingisacopingstrategy / gist:704944
Created November 18, 2010 13:06
Nitpicking while trying out the Ardour DAW
It’s really awesome! But:
Doesn’t recognise ctrl+click as right mouse click (laptops!)
> Ah, I read this was intentional.
The file dialogue doesn’t recognise standard OS X shortcuts. (Command-Arrow up to move up one folder in the hierarchy, for example).
> wait, I followed up on this: this is a GTK problem. Gedit has it as well.
Plugin windows stay in front when switching to other applications.
@codingisacopingstrategy
codingisacopingstrategy / en:installer
Created October 27, 2010 12:34
Installation page Sozi wiki
====== Installing Sozi ======
Requirements are [[http://inkscape.org|Inkscape]] and [[http://www.pygtk.org/|PyGTK]].
===== Downloading the latest version =====
The most recent version is 10.10 (octobre 2010).
[[http://gist.github.com/downloads/senshu/Sozi/sozi-release-10.10.zip|Download]].
{
"id": "1488294875",
"name": "Eric Schrijver",
"first_name": "Eric",
"last_name": "Schrijver",
"link": "http://www.facebook.com/schrijver",
"about": "\u201cYou work within the confines of a budget and strive to cut a record that makes such a shocking contribution to the culture that it is considered a classic.\u201d\nhttp://ericschrijver.nl\n\ntight pants:\nhttp://www.facebook.com/group.php?gid=351529663708",
"birthday": "10/27/1984",
"religion": "Mystic",
"timezone": 2,
https://bugs.launchpad.net/ubuntu/+source/sugar/+bug/479179
this
the described fix by Ramaddan works for me,
I edited using the CompizConfig assistant
however,
i reversed alt and ctrl but alt now works like ctrl+alt
So when I do alt-t (ctrl-t) to open a tab in firefox
i open a new terminal (which is mapped to ctrl-alt-t)
@import "blueprint/reset";
$blueprint-grid-columns: 24;
$blueprint-grid-width: 30px;
$blueprint-grid-margin: 10px;
@import "blueprint";
@import "blueprint/scaffolding";
* {
margin: 0;
padding: 0; }
body {
background-color: white;
font-family: "CharterBT", Georgia, serif;
font-size: 80%;
font-weight: normal;
color: black;