add a cname of domain using www or any other words as host, using ghs.google.com as point.
Recent Updates RSS Hide threads | Keyboard Shortcuts
-
liduan
-
liduan
in the dashboard of google apps, you can set url. like http://www.yourdomain.com for your website.
-
liduan
gae only accept the top domain like yourdomain.com. it can’t be http://www.yourdomain.com
-
liduan
next, add a domain in google apps engine for any case.
-
liduan
we get google app for domain liduan.net
-
liduan
add php gd (graphics directly) support in ubuntu
#sudo apt-get install php5-gd
then, restart web service
#sudo service lighttpd restart //or #sudo service apache2 restart
-
liduan
clean kernel temp files
#make clean
-
liduan
next, install modules of new kernel:
#make modules_install
then, generate a image for new kernel.
#cd /lib/modules #mkinitramfs -o initrd.img-2.6.30.4 2.6.30.4 #mv initrd.img-2.6.30.4 /boot
edit menu.lst file for grub booter, add following:
title Ubuntu 8.04.3 LTS, kernel 2.6.30.4 root (hd0,2) kernel /boot/vmlinuz root=UUID=98f69044-be12-4dde-95df-358dca35c632 ro quiet splash initrd /boot/initrd.img-2.6.30.4 quiet
-
liduan
install new linux kernel 2.6.30.4 using “make install”, system should show following detail:
root@ibm-laptop:/usr/src/linux-2.6.30.4# make install
sh /usr/src/linux-2.6.30.4/arch/x86/boot/install.sh 2.6.30.4 arch/x86/boot/bzImage \
System.map “/boot”
In order to use the new kernel image you have just installed, you
will need to reboot the machine. First, however, you will need to
either make a bootable floppy diskette, re-run LILO, or have GRUB
installed.Checking for ELILO…No
GRUB is installed. To automatically switch to new kernels, point your
default entry in menu.lst to /boot/vmlinuz-2.6.30.4====================
GRUB menu configuration file menu.lst should be update. -
liduan
configuration and update to linux kernel 2.6.30.4
using root account do following.
#make mrproper #check kernel .o and .config files
next configuration kernel. there are three kinds of configuration UI.
#make config #Text UI
#make menuconfig #Text graph UI
#make xconfig
before using menuconfig mode, ncurses should be installed.
#apt-get install libncurses*
and before using xconfig mode, following package should be installed.
#apt-get install libqt3-headers libqt3-mt-dev
after all configuration work done. using make command to compile kernel.
-
liduan
get recent linux kernel (2.6.30.4)
$sudo wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.4.tar.gz /usr/src $sudo tar xvf /usr/src/linux-2.6.30.4.tar.gz
if linux-2.6.30.4.tar.bz2 package, using command:
$sudo tar jxvf /usr/src/linux-2.6.30.4.tar.bz2
-
liduan
open root account in ubuntu:
$sudo passwd root
then, set new password for root.
-
liduan
php upload file, File input (or “upload”) in HTML forms, Uploading multiple files, PHP – File Upload
-
liduan
update new theme.
-
liduan
3 good topic about mozilla extension development.
Getting started with extension development
-
liduan
Mozilla Firefox Extension Development
Mozilla Firefox Extension DevelopmentView more presentations from Perry Loh. -
GAME
liduan
-
liduan
What Google Chrome OS Will Look Like
-
liduan
Im still waiting for opera 10
-
liduan
enable javascript and other HTML element in wordpress MU. open wp-includes/kses.php find following line
$allowedposttags = array(
add following codes
'script' => array( 'type' => array(), 'src' => array(), 'language' => array() ), 'noscript' => array( ), 'object' => array( 'height' => array(), 'width' => array(), 'type' => array(), 'data' => array(), 'allowfullscreen' => array(), 'id' => array() ), 'param' => array( 'name' => array(), 'value' => array() ), 'embed' => array( 'width' => array(), 'height' => array(), 'type' => array(), 'src' => array(), 'allowfullscreen' => array() ), 'coolcode' => array( 'lang' => array() ), //over
-
liduan
update new wp theme.
-
liduan
a few online tools for testing is your web pages enable gzip model:
1. port80
2. GidZipTest
3. HTTP Compression Test -
liduan
WPMU DEV is a third party wordpress plugin directory, you can find special plugin for wordpress mu.
format '12345' to '12,345' javasc ...
liduan
format ‘12345′ to ‘12,345′
javascript:
string.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, function(s){return s+","})
ruby:
string.gsub(/(\d)(?=(\d\d\d)+(?!\d))/) { |match| match + ',' }
DecimalFormat class also can be used.
liduan
/usr/bin/mysqladmin -u root password ‘new-password’
/usr/bin/mysqladmin -u root -h myhost password ‘new-password’
mysql -p -u root
install samba in arch linux: pacman - ...
liduan
install samba in arch linux:
$pacman -S samba
$cp /etc/samba/smb.conf.default /etc/samba/smb.conf
$adduser -d /home/<user dir> -m <user name>
$passwd <user name>
$smbpasswd -a <user name>
add two lines in to /etc/samba/smb.conf
netbios name = archsmb
encrypt passwords = yes
[homes]
browseable = yes
writable = yes
then:
$/etc/rc.d/samba start
$smbclient -L localhost -U <user name>
-
JaneRadriges
Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting
liduan
phpRPG is an open source project established since 2001. The aim of the project is to develop a web-based RPG (role-playing game) using a powerful server-side scripting engine called PHP and its best known open source database companion MySQL.
liduan
cube engine is a open source project for 3D game engine. Cube 2: Sauerbraten is a free multiplayer/singleplayer first person shooter, built as a major redesign of the Cube FPS.
liduan
for start each service in arch linux, set deamon in /etc/rc.conf. using sshd for example:
deamons(… sshd lighttpd … …)
liduan
for flash game developer, the pushbutton is a quite useful game engine. It is open source project host in google code. official web site support some game snapshot. for developing, it require java 1.6, flash player 9, AIR runtime and Flex SDK
liduan 2:17 pm on July 10, 2009 Permalink