[ubuntu]Install and set subversion server
1.Install sudo apt-get install subversion 2.Create root fold of svn mkdir /var/svn 3.Create project svnadmin create /var/svn/project 4.Edit config /var/svn/project/svnserve.conf [general] anon-access = none auth-access = write password-db = /var/svn/conf/passwd authz-db = /...标签: ubuntu
[JS]javascript solution for md5
(function($){ var rotateLeft = function(lValue, iShiftBits) { return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); } var addUnsigned = function(lX, lY) { var lX4, lY4, lX8, lY8, lResult; lX8 = (lX & 0x80000000); lY8 = (lY & 0x80000000); lX4 = (l...标签: JS
[ubuntu]Set static ip address for ubuntu
1.Edit file /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.52 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 222.246.129.80 114.114.114.114 2.Reboot the system.标签: ubuntu
[linux]cmake:Could NOT find ZLIB
$cmake .. -- CMAKE_TOOLCHAIN_FILE='' fatal: Not a git repository (or any of the parent directories): .git Git commit hash: nicholas@ubuntu- CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found ver...标签: linux
[embedded]An application of qtopia in mini2440
main.cpp #include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]){ QApplication app(argc, argv); QLabel *label = new QLabel("Hehe", 0); label->show(); return app.exec(); } hello.pro CONFIG += qtopiaapp CONF...标签: embedded
[embedded]纯净版qtopia-2.2.0编译PC上运行版
1.下载qtopia-free-src-2.2.0.tar.gz 2.解压 3.patch 4. echo yes | ./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -gif' -qpe '-edition pda -displaysize 240x320 -fontfamilies "helvetica fixed micro smallsmooth smoothtimes"' -qt2 '-no-openg1 -no-xft' -dqt '-no-xft -thread' m...标签: embedded
[php] How to create multi websites in XAMPP
1.Edit C:\Windows\System32\Drivers\etc\hosts Expand with: 127.0.0.1 www.test.com 127.0.0.1 www.test2.com 2.Edit xampp\apache\conf\extra\httpd-vhosts.conf Add contents like: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /xampp/htdocs/test Serv...[embedded]tslib移植到mini2440上面
1.解压 tar zxvf tslib-1.4.tar.gz 2../autoget.sh 3../configure --prefix=/home/nicholas/tslib_install/ --host=arm-linux ac_cv_func_malloc_0_nonnull=yes 4.make 5.make install 这会将四个文件生成到prefix设定的目录下,将四个文件复制到根文件系统的 /usr/local/tslib 下就可以了。 6.修改文件系统中/etc/profile: export TSLIB_ROOT=/usr/lo...标签: embedded
[embeded]qtopia:libqtopia.so: undefined reference to `uuid_generate'
libqtopia.so: undefined reference to `uuid_generate' 这么一个错误,困扰了我好几天,网上的解决方案如下: #tar -zxvf e2fsprogs-1.39.tar.gz #cd e2fsprogs-1.39 #./configure --enable-elf-shlibs #make #cp -rf lib/libuuid.so* /usr/lib #sudo vim tmake/lib/linux-g++/tmake.conf TMAKE_LIBS_X11 = -lXext -lX11...[c]构造合法身份证
#include <stdio.h> #define LEN 18 void main(){ char id[LEN] = {0}; int weight[] = {7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; int validate[] = {1,0,'x'-'0',9,8,7,6,5,4,3,2,1}; int i=0; int sum = 0; printf("Input your id\n"); ...标签: C
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...