This file contains 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 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 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 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 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 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 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 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> |
This file contains 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 <stdio.h> | |
int main(int argc, char **argv) | |
{ | |
//lul, wie ich auf sowas reingefallen bin: ich erwartete dass | |
//der ptr um (2*4) byte inkrementiert wird. aber nein, dies | |
//war ein moismus. denn der pointer wird um (2*4)*sizeof(float) | |
//inkrementiert. | |
//*lach* keine skriptsprachen mehr fuer mich ... und keine | |
//typed pointer mehr. nur noch void und char! |
This file contains 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
howto git fuer doff | |
neues repository: | |
git init | |
datei zufuegen: | |
git add <dateiname> | |
aenderungen commiten: | |
git commit -m irgend ein commit comment |