歡迎你
各類文章如有侵犯智慧財產權請來信告知--------607@dlps.tp.edu.tw
scratch 網站
作者:tseng 日期:2014-09-13
http://scratch.mit.edu/
android sqlserver
作者:tseng 日期:2014-07-06
try {
//註冊JDBC類
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con = DriverManager.getConnection(conUrl);
//SQL語句
String SQL = “Select * FROM 資料表";
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(SQL);
//循環搜尋結果,請依你的資料庫來作提取資料欄位,以將下面的資料欄位對映你的資料欄位
while (rs.next()) {
System.out.println(rs.getString(“欄位名稱”) + ", " + rs.getString("欄位名稱"));
}
rs.close();
stmt.close();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
機瘟
作者:tseng 日期:2014-06-03
vmware shell
作者:tseng 日期:2014-06-03
openjdk6
作者:tseng 日期:2014-05-17
mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc
/etc/fstab
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0
修改conf/server.xml
<Engine>
<Host attrs ...>
<Context attrs ...>
</Context>
</Host>
</Engine>
改成
<Context path="/顯示" docBase="資料位置"
debug="5" reloadable="true" crossContext="true"...
SQLite
作者:tseng 日期:2014-04-15
會計支付系統
作者:tseng 日期:2014-03-17
eclipse 快速鍵
作者:tseng 日期:2014-02-15
eclipse
作者:tseng 日期:2014-02-15
portsnap
作者:tseng 日期:2013-03-25
freebsd apache svn
作者:tseng 日期:2013-01-04
2.make WITH_BERKELEYDB=db42 install clean
3.cd /usr/ports/devel/subversion
4.make -DWITH_SVNSERVE_WRAPPER -DWITH_MOD_DAV_SVN -DWITH_APACHE2_APR install clean
SVN 基本環境
1.mkdir -p 放主目錄
2.mkdir -p /etc 放設定
3.svnadmin create 初始化
4.chown -R www:www
設定 Apache2
<Directory />
AllowOverride All
order allow,deny
Allow from All
</Directory>
設定 virtual host
<VirtualHost *:80>
DocumentRoot /主目錄前一層
ServerName localhost
<Location /svn>
DAV svn
SVNParentPath /主目錄前一層
AuthType Basic
AuthName “Svn ”
AuthUserFile /etc/svn-auth-file
AuthzSVNAccessFile /svn-access-file
Require valid-user
</Location>
</VirtualHost>
建立存取帳號
1.htpasswd -c /svn-auth-file USER1
2.htpasswd /svn-auth-file USER2
建立存取權限
/svn-access-file
[/]
USER1 = rw
USER2 = r
ubuntu svn
作者:tseng 日期:2012-12-29
sudo apt-get install apache2 apache2-common apache2-utils apache2-doc libapache-svn subversion2,
2,SVN Repository
sudo mkdir
sudo svnadmin create
sudo chown -R www-data:www-data
3,修apache2
sudo gedit /etc/apache2/mods-available/dav_svn.conf
4 SVN 使用者
sudo htpasswd -c /etc/subversion/passwd
sudo htpasswd /etc/subversion/passwd
cvsup
作者:tseng 日期:2012-12-27
point Spooler 服務無法啟動
作者:tseng 日期:2012-12-11
freeBSD更新
作者:tseng 日期:2011-05-23
7-zip免費壓縮軟體
作者:tseng 日期:2010-12-30
Tags: Facebook不宜在校園使用
一聲長聲之主機板故障?
作者:tseng 日期:2009-09-23
大龍國小統計
作者:tseng 日期:2009-06-02
<a href="http://www2.clustrmaps.com/counter/maps.php?url=http://www.dlps.tp.edu.tw" id="clustrMapsLink"><img src="http://www2.clustrmaps.com/counter/index2.php?url=http://www.dlps.tp.edu.tw" style="border:0px;" alt="Locations of visitors to this page" title="Locations of visitors to this page" id="clustrMapsImg" onerror="this.onerror=null; this.src='http://clustrmaps.com/images/clustrmaps-back-soon.jpg'; document.getElementById('clustrMapsLink').href='http://clustrmaps.com';" />
</a>
Coppermine
作者:tseng 日期:2009-05-26
centos5.3
apache2.2.3+php5.1.6+mysql5.0.45
下載Coppermine
官方網址:http://coppermine-gallery.net/
1.在mysql,新增資料庫XXX
2.安裝Image Magick
yum install imagemagick*
3.將下載的檔案放在伺服器內,資料夾名稱cpg123,修改 albums 和 include 檔案夾的權限為777
4.執行http://localhost/cpg123/install.php 按提示操作
Tags: Coppermine







