Monthly Archives: February 2008

One to One Mappings in Hibernate

Simple One to One using assigned identifiers (meaning you hae to set the id yourself) http://www.xylax.net/hibernate/onetoone.html Using Formula’s in hibernate mappings and some other neat tricks round computed fields http://www.onjava.com/lpt/a/6092 Hibernates Own Reference Documentation http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#mapping-declaration-onetoone … Chapter 7 on associations … Continue reading

Posted in Java | Leave a comment

Quick guide to router config

>enable (en)  go from user to privelaged mode #configure terminal (conf t)  Enter configuration mode (config)# hostname YourCustomName Put a hostname on the router (config)# enable secret pass Enable a password on the router when entering privelage mode.  Stored in … Continue reading

Posted in Networking | Leave a comment

Trace Route

Send pings to successive routers, along the path to the destination.  Sends 3 packets to each destination

Posted in Networking | Leave a comment

Netstat flags

-a -e -n -s (statistics) -rn (routing table) H:\>netstat -rn Route Table =========================================================================== Interface List 0×1 ……………………… MS TCP Loopback interface 0×2 …00 13 72 7e e0 8d …… Broadcom NetXtreme Gigabit Ethernet #3 – Eacfilt 0×3 …44 45 53 54 … Continue reading

Posted in Networking | Leave a comment

Display DNS

Havent come across this one before.  H:\>ipconfig /displaydns Windows IP Configuration          ns1.cisco.com          —————————————-          Record Name . . . . . : ns1.cisco.com          Record Type . . . . . : 1          Time To Live  . … Continue reading

Posted in Networking | Leave a comment

DTE / DCE Connection rule

DTE    DCE   Router      Hub PC            Switch Vertically means straight through Horizontally means crossover

Posted in Networking | Leave a comment

Programmers Food Pyramid

Posted in Software Development | Leave a comment