15 June 2012

Google Chrome constantly asking for Keychain permission?

Google Chrome on Leopard is asking for access to the keychain when it opens, here's the solution:
Quit Chrome
Open Utilities: Keychain Access
Search for Chrome
Delete "Chrome Safe Storage"
Start up Chrome. Note that Chrome Safe Storage is back in the list.

Trovato qui.

13 June 2012

Regular expression che rimuove tutti i whitespace doppi (tabulatori, ritorni a capo, ecc.):
dim res as String = ""
' rimuove tutti i whitespace [\t\r\n\v\f] doppi
res = Regex.Replace(res, "\s{2,}", "")


Trovato qui.