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
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
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
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 ( | |
"net" | |
"os" | |
"fmt" | |
"bufio" | |
"strings" | |
) |
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
std::vector<int> x; | |
x.push_back(1); | |
x.push_back(2); | |
x.push_back(3); | |
x.push_back(4); | |
x.push_back(5); | |
x.push_back(3); | |
x.push_back(5); | |
std::vector<int>::iterator it = x.begin(); |
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
#!/usr/bin/env python | |
import os | |
import json | |
news_items_fmunch = [ | |
{ "text" : "How to play fruit munch ...", "link" : "http://www.minyxgames.com/promos/fmunch_howtoplay.html" }, | |
{"text" : "Welcome to fruit munch!"}, | |
{"text" : "Get the game for free. Read how ...", "link" : "http://www.minyxgames.com/promos/free_fmunch.html"}, | |
{"text" : "New feature: The Full Game!", "link" : "minyxstore://com.minyxgames.fruitmunch.1"}, |
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
keycode 51 = numbersign asciitilde | |
keycode 94 = backslash bar | |
keycode 11 = 2 quotedbl | |
keycode 48 = apostrophe at |
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> | |
void foo (int *p) | |
{ | |
printf ("\t1. p is pointing to: %p\n", p); | |
p = 0; | |
printf ("\t2. p is pointing to: %p\n", p); | |
} |
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
# | |
## | |
setopt auto_pushd | |
setopt PUSHD_IGNOREDUPS | |
setopt PUSHD_SILENT | |
setopt no_beep |