This file contains hidden or 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/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+') |
This file contains hidden or 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
# Textmate’s hyperlink helper standalone. | |
# Recieve’s text on StdIn, uses the url that’s on the pasteboard | |
require 'erb' | |
require 'open-uri' | |
require 'net/http' | |
def entity_escape(text) | |
text.gsub(/&(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)/, '&') | |
end |
This file contains hidden or 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
#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' |
This file contains hidden or 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
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 |
This file contains hidden or 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
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. |
This file contains hidden or 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
====== 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]]. |
This file contains hidden or 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
{ | |
"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, |
This file contains hidden or 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
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) |
This file contains hidden or 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
@import "blueprint/reset"; | |
$blueprint-grid-columns: 24; | |
$blueprint-grid-width: 30px; | |
$blueprint-grid-margin: 10px; | |
@import "blueprint"; | |
@import "blueprint/scaffolding"; |
This file contains hidden or 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
* { | |
margin: 0; | |
padding: 0; } | |
body { | |
background-color: white; | |
font-family: "CharterBT", Georgia, serif; | |
font-size: 80%; | |
font-weight: normal; | |
color: black; |