Saturday, May 30, 2009

schtasks



find

find: use find to filter command line results

windows,mysql,start,


Friday, May 29, 2009

Wednesday, May 20, 2009

Run Php in command window

Run Php in command window:
To schedule a php script, one use php command.
Simply: php -f "filename.php"

Monday, May 18, 2009

glut.h

Problem:
fatal error C1083: Cannot open include file: 'gl/glut.h': No such file or directory



Fix: put glut.h in to include folder in VC++


Extra:
http://glew.sourceforge.net/install.html
http://graphics.ucsd.edu/twiki/bin/view.pl/Classes/SoftwareCSE167F08

Thursday, May 14, 2009

Connect to University Of Auckland Terminal Server

Overview:
start->run->type "mstsc" -> type upi,password, choose ec ->logged in


start-> run





mstsc


type in upi , password, choose ec


Click ok to log in...

Wednesday, May 13, 2009

Backbone(vertical) cabling vs Horizontal Cabling

This is from Cisco:

Similarity: both connects from telecommunication room.

Difference:
Backbone = vertical: connect to equipment room(where servers are).
Horizontal: connects to work area( where individual pcs and desktops are).

Telecommunications Room:
The telecommunications room is where connections to intermediary devices take place. These rooms contain the intermediary devices - hubs, switches, routers, and data service units (DSUs) - that tie the network together. These devices provide the transitions between the backbone cabling and the horizontal cabling.

Understanding University of Auckland Terminal Server

Ways to connect to server:
in Remote Desktop Connection:
comterm.com.auckland.ac.nz
then it would assign you either to commts1(IP 130.216.64.11) or commts2(130.216.64.11)
130.216.191.10 is running windows server 2000


Saturday, May 9, 2009

Administrator disabled display control panel

Problem:
Screen resolution was changed by itself.
Administrator account was not able to open "screen settings" (right click->property)
Error message: "Administrator disabled display control panel"






Fix:
open group policy object editor:
start->run->gpedit.msc
then
user settings->control pannel-> displayplay-> double click "delete display control panel"->click disable.

Extract data from myob through php

# connect to a DSN "mydb" with a user and password
#DSN is a system wide in this case. user or document wide systems could be possible
$connect = odbc_connect("TEST2", "Administrator", "");

# query the users table for name and surname
$query = "SELECT * FROM Employees";

# perform the query
$result = odbc_exec($connect, $query) or die ("cannot find table");


# fetch the data from the database
while($row = odbc_fetch_array($result)){
$name = $row['LastName'];
$surename = $row['FirstName'];
print("$name $surename
\n");
}
?>

Tuesday, May 5, 2009

Personalized webpage

Some application allow internet users to make notes on any kind of webpages. Eg http://www.emilstefanov.net/Projects/NeuralNetworks.aspx is a good website, I added to my bookmarks. But I want to make notes on this website and would be able to edit the information.

Michael

Sunday, May 3, 2009

Link MYOB with Access

Create empty Access DB
file->get external data->link tables
Choose File of type: ODBC Database