i have been busy for changing diapers, cleaning milk bottles for those months.
now, my girl is walking, hitting around, and will do a sweet kiss on papa’s playing long face, and my boy, growing up after his sister.
OK, everything is fine!
OK, i need to get back to work! Do Dance, Dance, and Dance.
🙂
Jquery – The write less, do more javascript library has all sorts of different code samples that do a wide variety of things. Today, we’ll be looking at different Jquery Slideshow applications that can be used to diversify your homepage, content, or anywhere that is big enough to display an image. continue reading…
SELECT column FROM table ORDER BY RAND() LIMIT 1 continue reading...
lspci ( lists pci device)
lsusb ( lists usb device)
lsscsi ( lists scsi device)
systool
fdisk -l ( lists hard drive)
dmidecode ( lists hardware model, serial number, cpu, memory. This command was handy when i needed to find serial number without a visit to data center)
cat /proc/cpuinfo ( more on cpu)
cat /proc/meminfo ( more on memory)
you can find a lot of information by using dmesg|more or grep what you are looking
e.g.
dmesg | egrep ‘(SCSI|scsi0|ide0|hda|sda|serio|mice|eth0|eth1)’
cat /proc/cpuinfo
cat /proc/meminfo
http://msdn.microsoft.com/en-us/library/b86b82w0.aspx
Public Interface ICommonFunctions
Sub saverecord()
End Interface
Public Class frmSaleInvoice
Inherits System.Windows.Forms.Form
Implements ICommonFunctions ‘<—– our Interface
…… Normal Form objects……
Public Sub saverecord() Implements ICommonFunctions.saverecord
End Sub
End Class
‘Similarly other forms
Public Class frmSomeOtherForm
Inherits System.Windows.Forms.Form
Implements ICommonFunctions ‘<—– our Interface
…… Normal Form objects……
Public Sub saverecord() Implements ICommonFunctions.saverecord
….. The Function Body ….
End Sub
End Class
‘Then in MDI on a button click
If Not me.ActiveMDIChild Is Nothing then
DirectCast(Me.ActiveMdiChild,ICommonFunctions).saverecord() ‘<— Call the function
End If
# remember you are using ActiveMDIChild and not ActiveForm so the child forms must have their MDIParent set to the MDI form
# echo -n "1122" | openssl dgst -md5 Using openssl: echo "1122" | openssl dgst -md5 01ebeaafc334e503f4acc94a18df9fa5 and using MySQL: SELECT md5("1122"); 3b712de48137572f3849aabd5666a4e3 echo -n, don't send the eol character. http://www.vanemery.com/Linux/Apache/openSSL.html http://marc.info/?l=openssl-users&m=112537522329771&w=2 http://md5-hash-online.waraxe.us/ http://www.youtube.com/watch?v=3SmndwrRkxw (reset the wp password with mysql)
http://linux.die.net/man/5/yum.conf
http://www.w3schools.com/Ajax/default.asp