Originally Posted on March 14, 2014 Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.
Public Function FileExists(ByVal FileFullPath As String) _ As Boolean Dim f As New IO.FileInfo(FileFullPath) Return f.Exists End Function Originally Posted on December 14, 2013Last Updated on October 26, 2015 All information on this site is shared with the intention to help. Before any source code or program is ran on…
On the Mac “lsusb -v” is rather clean in comparison to other systems. # If not already installed… # brew update && brew tap jlhonora/lsusb && brew install lsusb lsusb -v lsusb -v # or lsusb -v | grep -E ‘\<(Bus|iProduct|bDeviceClass|bDeviceProtocol|idVendor|idProduct|iManufacturer)’ 2>/dev/null All information on this site is shared with…
UPDATE data SET data1 = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(data1, ‘.’, ”), ‘+’, ”), ‘ ‘, ”), ‘)’, ”), ‘-‘, ”), ‘(‘, ”) WHERE mimetype_id IN ( SELECT _id FROM mimetypes WHERE mimetype LIKE "%phone%" ) AND ( data1 LIKE ‘%+%’ OR data1 LIKE ‘%.%’ OR data1 LIKE ‘%-%’ OR data1 LIKE ‘% %’…