A script to update site periodically through CVSup(R)
The script I am using for updating my own website(s) is not quite complex, it is here:
| |
Of course you need some CVSROOT scripts to get it work, but the idea is not too complex.
共 127 篇文章。
The script I am using for updating my own website(s) is not quite complex, it is here:
| |
Of course you need some CVSROOT scripts to get it work, but the idea is not too complex.
Sometimes CVS is very nasty when operating. For example, when you want to remove a whole tree (including zillion sub-directories and files) you may have to enter commit log (at least, confirm) for every directory, if you are going to do a “cvs ci” in the top level directory.
It is possible to solve this problem with simple Unix(R) commands:
Windows XP SP2 is an important update and have introduced many security improvements. However, after installing Windows XP SP2, some graphical identity systems will be rendered to be useless.
The root cause is that these systems makes use of a special MIME type: x-xbitmap, or so called “XBM”.
XBM is originally developed by the X community. Presently it is uncommon on the web. However, banks like China Merchant Bank utilizies this format for authentication.
JFYI, it was released at the usual location, with BSDTAR installed by default. I tend to remove COMPAT4X and COMPAT3X in the next release.
CFLAGS=’-O2 -pipe’ WITH_BSDTAR=yes COMPAT4X=yes COMPAT3X=yes BOOTWAIT=0 ENABLE_SUID_K5SU=yes
Source code cleanup:
sed -i '' -E s/\ \ /\ /g *.c *.h
sed -i '' -E s/^\ \ \ \ \ \ \ \ /\ /g *.c *.h
sed -i '' -E s/\ \ \ \ \ \ \ \ \ /\ \ /g *.c *.h
sed -i '' -E s/\ +\$//g *.c *.hTop ten established HTTP connection from IP to our box: (IP=127.0.0.1)
netstat -na | grep “127\.0\.0\.1\.80 " | grep ESTABLISHED | cut -c43- |cut -f1-4 -d’.’ | sort | uniq -c | sort -nr | head -10
Merge FreeBSD-CURRENT changes to delphijfork:
retag `cvs -d /home/fcvs rdiff -rHEAD -rDELPHIJ_FORK_LASTMERGE src | grep Index: | awk ‘{print $2;}’ | grep src`
To quote Matthew Dillon:
| |
I have employed the following (ugly) script for MFC’ing, as I do not want to really make big difference between FreeBSD and my fork version:
It turns that I need to set up my own cvsup server so I can deploy my fork elsewhere. Here comes how.
A Dell Latitude D600 computer with Windows 2003 Server Enterprise Edition is experiencing problem when installing Windows Update from website. By downloading the hotfix, and trying to install it, it fails with “Data Error, 0x8000007d”