Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÉÏ´ò°üwgzºÍwgt widgetÏîÄ¿

shell½Å±¾Ô´Âë: widget.sh #!/bin/bash
####################±äÁ¿¶¨Òå####################
shellroot=/var/shell
shdir=${shellroot}/sh
source_dir=${shellroot}/source
tmp_dir=${shellroot}/temp
target_dir=${shellroot}/target
js_dir=${shellroot}/js
##################³õʼ»¯#########################
function init()
{
rm -rf $tmp_dir
rm -rf $target_dir
########´´½¨Ä¿Â¼##############
mkdir -p $tmp_dir
mkdir -p $target_dir
mkdir -p $source_dir
}
###############º¯Êý¶¨Òå#########################
#½âwgzѹº¯Êý
function widget_zip_unpack(){
rm -rf $tmp_dir/*
cd $source_dir
for filename in *.zip
do
unzip -q $filename -d $tmp_dir
done
#ÖØÃüÃû
cd $tmp_dir
for dir1 in *
do
if [ -d $dir1 ]
then
mv $dir1 gzrb_${dir1##*_};
fi
done
}
#¸´ÖÆjs
function widget_cp_js()
{
for dir in $tmp_dir/*
do
if [ -d $dir ]
then
mkdir -p $dir/js/
cp -rf $js_dir/*.js $dir/js/
fi
done
}
#´ò°üwgt
function widget_wgt()
{
for dir in $tmp_dir/*
do
if [ -d $dir ]
then
cd $dir
#zip -j ²»´øÎļþ¼Ð·¾¶
zip -rq $target_dir/${dir##*_}.wgt *
fi
done
}
#´ò°üwgz
function widget_wgz()
{
cd $tmp_dir
for dir in *
do
if [ -d $dir ]
then
#zip -j ²»´øÎļþ¼Ð·¾¶
zip -rq $target_dir/${dir##*_}.wgz $dir/*
fi
done
}
################################################
#########################Begin##################
#³õʼ»¯
init
#1.½âѹ
widget_zip_unpack
#2.¸´ÖÆjs
widget_cp_js
#3.´ò°üwgz
widget_wgz
#4.´ò°üwgt
widget_wgt
#######################END#######################


Ïà¹ØÎĵµ£º

Linux µÄ¶àÏ̱߳à³ÌµÄ¸ßЧ¿ª·¢¾­Ñé

2009 Äê 4 ÔÂ 23 ÈÕ
±¾ÎÄÖÐÎÒÃÇÕë¶Ô Linux É϶àÏ̱߳à³ÌµÄÖ÷ÒªÌØÐÔ×ܽá³ö 5 Ìõ¾­Ñ飬ÓÃÒÔ¸ÄÉÆ Linux ¶àÏ̱߳à³ÌµÄÏ°¹ßºÍ±ÜÃâÆäÖеĿª·¢ÏÝÚå¡£ÔÚ±¾ÎÄÖУ¬ÎÒÃÇ´©²åһЩ Windows µÄ±à³ÌÓÃÀýÓÃÒÔ¶Ô±È Linux ÌØÐÔ£¬ÒÔ¼ÓÉî¶ÁÕßÓ¡Ïó¡£
±³¾°
Linux ƽ̨ÉϵĶàÏ̳߳ÌÐò¿ª·¢Ïà¶ÔÓ¦ÆäËûƽ̨£¨±ÈÈç Windows£©µÄ¶àÏß³Ì API ÓÐһЩϸ΢ ......

linux ÃüÁî

¡¢LinuxÀï²é¿´ËùÓÐÓû§
¡¡¡¡linuxÀï,²¢Ã»ÓÐÏñwindowsµÄnet user,net localgroupÕâЩ·½±ãµÄÃüÁîÀ´ÖÎÀíÓû§.
¡¡¡¡Xwindows½çÃæµÄ¾Í²»ËµÁË.
¡¡¡¡£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
¡¡¡¡£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
¡¡¡¡»òÕßÓÃcat /etc/passwd |cut -f 1 -d : ......

linuxÏ°´ÕÂquake3

Ê×ÏÈ£¬Çë°²×°Çý¶¯£¬ÎÒµÄÏÔ¿¨ÊÇnvidia fx5600£¬Ô´ÀïÃæ¾ÍÓÐÇý¶¯£¬Ö±½Ó°²×°¾ÍÊÇ¡£
´úÂë:
sudo apt-get install nvidia-glx nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
È»ºó
´úÂë:
Ctrl £« Alt £« backspace
ÖØÆôX
½¨Òé²»Òª°ÑnvidiaµÄlogoÈ¥µô£¬ÖÁÉÙÔÚµÚÒ» ......

LinuxÏÂtar gz bz2 tgz zµÈÖÚ¶àѹËõÎļþµÄ½âѹ·½·¨

ת×Ô£ºhttp://www.51testing.com/?action-viewspace-itemid-212094.html
¶ÔÓÚ¸Õ¸Õ½Ó´¥
Linux
µÄÈËÀ´Ëµ£¬Ò»¶¨»á¸øLinuxÏÂÒ»´ó¶Ñ¸÷ʽ¸÷ÑùµÄÎļþÃû¸ø¸ãÔΡ£±ð
¸ö²»Ëµ£¬µ¥µ¥¾ÍѹËõÎļþΪÀý£¬ÎÒÃÇÖªµÀÔÚ
Windows
ÏÂ×î³£¼ûµÄѹËõÎļþ¾ÍÖ»ÓÐÁ½ÖÖ
£¬Ò»ÊÇ,zip£¬ÁíÒ»¸öÊÇ.rar¡£¿ÉÊÇLinux¾Í²»Í¬ÁË£¬ËüÓÐ.gz¡¢.tar.gz¡¢tgz¡¢bz2¡ ......

Qt for Embedded Linux Architecture


Qt
for Embedded Linux Architecture
http://doc.qt.nokia.com/4.6/qt-embedded-architecture.html
Õë¶ÔǶÈëʽLINUX²Ù×÷ϵͳµÄQTµÄ¼Ü¹¹
¹«Ë¾½«ÔËÐÐÔÚǶÈëʽLINUXÉ豸£¨Ç¶ÈëʽÉ豸£»¸ÃÉ豸ÉÏÔËÐеIJÙ×÷ϵͳÊÇLINUX£©ÉϵÄQT×öÁËһЩ¶¨ÖƺÍÐ޸ģ¬Ê¹Æä¸üÊʺÏǶÈëʽÉ豸ÉϵÄLINUXϵͳÉÏÔËÐС£ÒÔϽ«ÕâÑùÕë¶ÔLINUXǶÈëʽÉè± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ