// archives

How-to

This category contains 88 posts

Import mail and contacts into Gmail

I just recently switched to using Gmail as my universal e-mail for manageability purposes, which means (1) I can now send e-mail using my Yahoo! or Hotmail account within Gmail and (2) All my e-mails in Yahoo! and Hotmail is now archived in my Gmail account.  I was able to accomplish #1 easily by adding [...]

Hash class using System.Security.Cryptography

Adding for archival purposes… using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Security.Cryptography; namespace Classes { public class Hash { public Hash() { } #region Hash Choices /// <summary>The wanted hash function.</summary> public enum HashType : int { /// <summary>MD5 Hashing</summary> MD5, /// <summary>SHA1 Hashing</summary> SHA1, /// <summary>SHA256 Hashing</summary> SHA256, /// <summary>SHA384 Hashing</summary> SHA384, [...]

Reference for jsSHA

jsSHA – A JavaScript implementation of the complete Secure Hash Standard family (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512) by Brian Turek About ————————- jsSHA is a javaScript implementation of the complete Secure Hash Algorithm family as defined by FIPS PUB 180-2 (http://csrc.nist.gov/publications/fips/fips180-2/fips180-2withchangenotice.pdf) With the slow phasing out of MD5 as the standard hash to use [...]

Get file version remotely using PowerShell

PS C:\> gc servers.txt | foreach { [system.diagnostics.fileversioninfo]::getversioninfo($_) }

Tips on how to prolong your laptop battery life

This applies to any device that uses lithium ion batteries (i.e. laptops, smartphones). Battery For lithium ion batteries, you do not need to discharge them fully and recharge constantly. Since they don’t have the same "memory" as older nickel-metal hydride batteries, it is actually better to discharge a lithium ion only partially (10 to 20%) [...]