Wednesday, February 29, 2012

How to email a floppy.

This only works on unix based systems (Unix, Linux, &c.):
dd if=/dev/fd0 | uuencode floppy.raw | mail -s "Your Floppy" you@you.com
You will need to use winrawrite to decode the received file on a Windows based system.

How to create a "Lock Screen" shortcut for Windows.

 

Create a "Lock Screen" shortcut:

  1. Right-click on your desktop and select "New->Shortcut".
  2. Type "C:\Windows\System32\rundll32.exe user32.dll, LockWorkStation" for the item location and click "Next".
  3. Enter "Lock Screen" as the shortcut name and click "Finish".
  4. Right-click the shortcut icon and select "Properties".
  5. Then select "Change Icon..."
  6. Select "Browse..."
  7. Enter "C:\Windows\System32\slui.exe".  (you can use a different file if  you want)
  8. Select the icon that  you like and click "OK" and "OK" again to finish.
  9. You can then drag the icon from your desktop and pin it to your taskbar.
Now, you may ask, "Why do I want to do this?".  Well, if I come by your office and see your computer unlocked and unattended I may just be tempted for "you" to send that email to your boss telling him what you really think about him.

Also, locking your workstation is just a good security practice.