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
<link rel="meta" href="http://kiddysurf.blogspot.com/labels.rdf" type="application/rdf+xml" title="ICRA labels" /> | |
<meta http-equiv="pics-Label" content='(pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l gen true for "http://kiddysurf.blogspot.com" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0) gen true for "http://www.kiddysurf.blogspot.com" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 0))' /> |
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 | |
# http://it.dennyhalim.com/2008/10/linux-automatic-login-startx-and.html | |
# paste into your ~/.bashrc and it just works. | |
# it will startx / startxfce when you login at tty1 | |
# it can also logout/shutdown after you close x. | |
file=/tmp/.X0-lock | |
#check if x is running | |
if [[ -e $file ]] | |
then |
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/sh | |
# | |
# Multi-call script providing GTK boxes to manage a desktop following | |
# Freedesktop standards. | |
# | |
# (C) GNU gpl v3 - SliTaz GNU/Linux 2008. | |
# | |
VERSION=20080719 | |
# Glade XML file path. |
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
<?php | |
/* | |
Name: APC Cache | |
Description: APC backend for the WP Object Cache. | |
Version: 0.2.1 | |
URI: http://txfx.net/code/wordpress/apc-cache/ | |
Author: Mark Jaquith | |
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
UseCanonicalName Off | |
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon | |
<Directory /www/commercial> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
<Directory /www/homepages> |
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
<?php | |
/*created by Luke Pauline, aka Randomator. Made in Rochdale near Manchester in Lancashire in England. | |
visit me at http://www.random-flash.co.uk or http://www.dolphinweb.co.uk | |
for help and advice contact me via mochiads by the forums or by pm best to do it through forums since most of the people there | |
know more about php and how this works than I do |
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
<?PHP | |
require_once("./includes/corefunctions.php"); | |
// Load the AMCMS3 functions^M | |
require_once("./includes/db.php"); | |
// Get the database configuration settings & connect to DB.^M | |
require_once("./includes/config.php"); | |
// Load the admin's preferences | |
/** | |
* /includes/rssfunctions.php |
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
open ftp.someserver.com | |
user username,password | |
mirror /remote/folder /local/folder/ | |
exit | |
# execute this using | |
# lftp -f lftp-backup.txt |
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
# info: http://it.dennyhalim.com/2009/10/perfect-mysql-backup.html | |
/bak/mysql/*/*.sql.gz { | |
daily | |
rotate 5 | |
nocompress | |
postrotate | |
export HOME=/root | |
for i in `mysql --batch -e 'show databases' | tail -n +2`; do | |
if [ ! -e /bak/mysql/$i ]; then mkdir -m 700 /bak/mysql/$i; fi |
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
ssh username@from_server "tar czf - directory_to_get" | tar xzvf - -C path_where_to_put | |
#http://www.thingy-ma-jig.co.uk/blog/03-09-2008/using-tar-and-ssh-improve-scp-speeds | |
#http://www.cyberciti.biz/faq/howto-use-tar-command-through-network-over-ssh-session/ |