Skip to content

Instantly share code, notes, and snippets.

View dennyhalim's full-sized avatar

DennyHalim.com dennyhalim

View GitHub Profile
@dennyhalim
dennyhalim / lftp-backup.txt
Created October 7, 2009 19:29
lftp scripting
open ftp.someserver.com
user username,password
mirror /remote/folder /local/folder/
exit
# execute this using
# lftp -f lftp-backup.txt
<?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
<?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
UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
<Directory /www/commercial>
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /www/homepages>
<?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
#! /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.
#!/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
<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))' />
#wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST -O chromium.ver
wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/21827/chrome-linux.zip
unzip chrome-linux.zip
[Software\Wine\DllOverrides] 1233608859
"browseui"="native, builtin"
"comctl32"="builtin"
"crypt32"="native, builtin"
"gdiplus"="native"
"hhctrl.ocx"="native, builtin"
"hlink"="native, builtin"
"iernonce"="native, builtin"
"iexplore.exe"="native, builtin"
"itircl"="native, builtin"