Skip to content

Instantly share code, notes, and snippets.

@xnyhps
xnyhps / x
Created April 15, 2009 20:10
lmakeSearchCommand({
name: "Wowhead",
url: "http://www.wowhead.com/?search={QUERY}",
icon: "http://www.wowhead.com/favicon.ico",
description: "Searches Wowhead for your keywords.",
author: {name: "Thijs Alkemade"},
% fractal.gml
%
% OUTPUTS fractal.ppm
%
% Fractal thingie with spheres.
%
%include "surface.ins"
{ /n /ks /kd /color
↔ cabal install haskell-src-exts -v3 (17:34:49 03-10)
searching for ghc in path.
found ghc at /usr/local/bin/ghc
("/usr/local/bin/ghc",["--numeric-version"])
/usr/local/bin/ghc is version 6.13.20100618
looking for package tool: ghc-pkg near compiler in /usr/local/bin
found package tool in /usr/local/bin/ghc-pkg
("/usr/local/bin/ghc-pkg",["--version"])
/usr/local/bin/ghc-pkg is version 6.13.20100618
("/usr/local/bin/ghc",["--supported-languages"])
@xnyhps
xnyhps / .GlobalPreferences.plist patch
Created October 23, 2010 19:04
Add this to your ~/Library/Preferences/.GlobalPreferences.plist to have agda-mode's text substitutions in any Cocoa app!
<dict>
<key>on</key>
<integer>1</integer>
<key>replace</key>
<string>\eq</string>
<key>with</key>
<string>=</string>
</dict>
<dict>
<key>on</key>
.DS_Store
ldc 6
ldr MP
ldc fib
jsr
fib:
link 1
...
stl -2 # store in old SL
#include <cipher.h>
#include <stdio.h>
int main()
{
purple_ciphers_init();
char key[] = "Jefe";
char str[] = "what do ya want for nothing?";
char *hash = (char *)malloc(100 * sizeof(char));
Succeeded! Received 121 bytes of data:
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error code="37">Not authorized to use this endpoint</error>
</errors>
Analysis of sampling Adium (pid 55077) every 1 millisecond
Process: Adium [55077]
Path: /Users/thijs/Projects/Checkouts/Adium/adium3/build/Debug/Adium.app/Contents/MacOS/Adium
Load Address: 0x100000000
Identifier: com.adiumX.adiumX
Version: 1.5b5 (1.5b5)
Code Type: X86-64 (Native)
Parent Process: launchd [783]
Date/Time: 2011-12-01 23:35:13.269 +0100
Thread 0x4e0393 DispatchQueue 258
User stack:
10 start + 52 (in Adium) [0x100002ab4]
10 main + 34 (main.m:3,5 in Adium) [0x100043b52]
10 NSApplicationMain + 867 (in AppKit) [0x7fff8adee80c]
10 -[NSApplication run] + 555 (in AppKit) [0x7fff8ab6f682]
10 -[NSApplication sendEvent:] + 5593 (in AppKit) [0x7fff8abd968f]
10 -[NSWindow sendEvent:] + 6306 (in AppKit) [0x7fff8ac410e0]
10 -[NSControl mouseDown:] + 786 (in AppKit) [0x7fff8ac7663a]
10 -[NSPopUpButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 564 (in AppKit) [0x7fff8b072e65]