Find The Speed Of Your Ethernet Card In Linux

No Comments

# fconfig -a
# dmesg |grep eth0
# mii-tool -v eth0
# ethtool eth0

[WindowsXP] Regional and Language Options (HD)

No Comments

Debian Squeeze, Squid, Kerberos/LDAP Authentication, Active Directory Integration And Cyfin Reporter

No Comments

This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This is especially useful for Windows 7 clients which no longer support NTLMv2 without changing the local computer policy. It is capable of using white lists and black lists for site access and restrictions.

For this guide the following examples are utilised – you should update any sections with the clients domain, hostnames and IP’s where necessary.

  • Domain = example.local
  • Subnet = 192.168.0.0/24
  • Proxy Server: IP = 192.168.0.26, HOSTNAME = squidproxy.example.local
  • Windows Server 1: IP = 192.168.0.1, HOSTNAME = domaincontroller1.example.local
  • Windows Server 2: IP = 192.168.0.10, HOSTNAME = server2.example.local

A base install of Debian Squeeze is assumed as well as basic Debian administration skills. vi is assumed as the text editor.

More

[Excel] Personal Database

No Comments

[Excel] Foreign Exchange-Buying

No Comments


[Excel] Maple Leaf Internation Groups-Sales Report

No Comments




Insert Flash SWF

No Comments

<div>
<object>
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="loop" value="0" />
<param name="src" value="http://wiwat.buranarom.com/wp-content/uploads/2011/08/letter.swf" />
<param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />
<embed id="Captivate1" width="800" height="600" type="application/x-shockwave-flash" src="http://wiwat.buranarom.com/wp-content/uploads/2011/08/letter.swf" quality="high" menu="false" loop="0" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>

Adobe Captivate 5.5

No Comments

หลักสูตรอบรม

Adobe Captivate 5.5

รายละเอียดหลักสูตร

-

วันที่อบรม

13-14 สิงหาคม 2554 เวลา 11:00น. – 17:00น.

เนื้อหา

ไฟล์ประกอบการอบรม

  1. Presentation (PDF) -
  2. Sample (SWF) -

หมายเหตุ

-

PHP Export to CSV

No Comments


<?php
$link = mysql_connect($dbserver,$dbuser,$dbpassword);
if(!$link){
die('ไม่สามารถเชื่อมต่อ : '.mysql_error());
}
$db_selected = mysql_select_db($dbname,$link);
if(!$db_selected){
die('ไม่สามารถใช้ฐานข้อมูลนี้ : '.mysql_error());
}
$result = mysql_query("SET NAMES UTF8",$link);
//////////////////////////////////////////////////////////////////
$fh = @fopen("/var/www/temp/".$classid.".csv","w");
if($fh){
$sql = 'SELECT * FROM `student` WHERE `classid`=\''.$classid.'\' ORDER BY `id`';
$result = mysql_query($sql,$link);
//////////////////////////////////////////////////////////////////
while ($row = mysql_fetch_array($result, MYSQL_BOTH)) {
$id2 = $row["id"];
$prefix2 = $row["prefix"];
$fname2 = $row["fname"];
$sname2 = $row["sname"];

$i++;
if($utf!="true"){
$prefix2 = iconv('UTF-8','TIS-620',$prefix2);
$fname2 = iconv('UTF-8','TIS-620',$fname2);
$sname2 = iconv('UTF-8','TIS-620',$sname2);
}
fputcsv($fh,array($i,$id2,$prefix2.$fname2,$sname2));
}
mysql_close($link);
fclose($fh);
//////////////////////////////////////////////////////////////////
header("Location: http://yourdomain.com/temp/".$classid.".csv");
}else{
$err = "ไม่สามารถดาวน์โหลดไฟล์ได้";
fclose($fh);
}

?>

Google Analytics for WordPress

No Comments

Google Analytics for WordPress

Configuring Google Analytics for WordPress

ที่มา: http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Older Entries