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
package main | |
import ( | |
"net" | |
"os" | |
"fmt" | |
"bufio" | |
"strings" | |
) |
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
package main | |
import ( | |
"fmt" | |
"regexp" | |
) | |
func main() { | |
r := `<.*?>` | |
s := "<b>ich mag <3 tiere</b><a href='http://www.heise.de'>lol</a>" |
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
package main | |
import ( | |
"fmt" | |
"launchpad.net/mgo" | |
) | |
type MyStruct struct { | |
A int64 | |
B int |
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
http://forums.fedoraforum.org/forumdisplay.php?f=61 | |
/usr/libexec/gnome-settings-daemon & # handles themes, starts gnome-screensaver. You may have to use gconf to disable it setting the background. | |
nm-applet & # assuming you're using Network Manager | |
gnome-power-manager & # for laptops and stuff | |
gnome-volume-control-applet & # fommr mounting CDs, USB sticks, and such | |
xcalib /etc/xcalib/Color\ LCD-00000610-0000-9CA0-0000-000004272800.icc | |
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
<VirtualHost *:80> | |
ServerName fettemama.org | |
ServerAlias www.fettemama.org | |
ProxyPass / http://85.17.133.6:9876/ | |
ProxyPassReverse / http://85.17.133.6:9876/ | |
ErrorLog /var/www/fettemama/logs/error_log | |
CustomLog /var/www/fettemama/logs/access_log combined | |
CustomLog /var/www/fettemama/logs/referer_log referer | |
</VirtualHost> |
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
#!/bin/bash | |
if [ "$2" = "" ]; then | |
echo "syntax: newhost <domainname> <dirname>"; | |
exit 1; | |
fi | |
echo "domain: $1"; | |
echo "dir: $2"; | |
echo "#domain $1 - dir $2" > http.tmp |
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
[HEAD] | |
VX090845100000611BY 22114VS03MS019_exec5rx_2007_12_13 | |
[ERG] | |
[STAT] | |
[1]10000VX110609_0815.stat | |
(14) <HAM,ROS,EMD,HAN,UMD,BLN,ESS,ASE,fld,DRS,neu,NHB,FRI,EIS,TUR,FBG,MUC,OFT,mem> | |
[2]10000VX110609_0820.stat | |
(14) <HAM,ROS,EMD,HAN,UMD,BLN,ESS,ASE,fld,DRS,neu,NHB,FRI,EIS,TUR,FBG,MUC,OFT,mem> | |
[3]10000VX110609_0825.stat | |
(14) <HAM,ROS,EMD,HAN,UMD,BLN,ESS,ASE,fld,DRS,neu,NHB,FRI,EIS,TUR,FBG,MUC,OFT,mem> |
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
if (!statusItem) { | |
if ([defs boolForKey: @"keepAlwaysLeft"] && | |
[statusBar respondsToSelector:@selector(_statusItemWithLength:withPriority:)]) { | |
NSLog(@"will keep always left!"); | |
statusItem = [statusBar _statusItemWithLength:0 withPriority:INT_MIN ]; | |
[statusItem setLength:0]; | |
} else { | |
statusItem = [statusBar statusItemWithLength: NSVariableStatusItemLength]; | |
} |
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
#include <pthread.h> | |
#include <stdio.h> | |
#include <inttypes.h> | |
#include <signal.h> | |
#include <mach/mach_types.h> | |
// compile: | |
// monoco% gcc -m32 -o break break.m -lpthread -F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework | |
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
// | |
// main.m | |
// iKurzweil | |
// | |
// Created by Jaroslaw Szpilewski on 28/7/11. | |
// Copyright 2011 Flux Forge. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |