Grep and Unicode (UTF-16)

Grep does not play well with Unicode, but it can be worked around. For example, to find, Some Search Term in a UTF-16 file, use a regular expression to ignore the first byte in each character, S.o.m.e. .S.e.a.r.c.h. .T.e.r.m…

Ubertooth Spectrum Analysis (Kali/Chromebook)

Ubertooth Setup Once Kali is up and running on the Chromebook, the Ubertooth build guide is a good start. However there are some issues with the guide and Kali/Chromebook, For the Bluetooth Base Band Library (libbtbb), install the following packages, build-essential libpcap-dev apt-get install build-essential libpcap-dev 2. For Ubertooth…

VirtualBox: Clone Windows and Stay Genuine

One of the great benefits of virtualization software, such as VirtualBox, is the ability to clone an installation, use it, then remove it.┬áPersonally, I keep a backup of the original installation; up to date and loaded with common software. When I need a new machine for testing, I clone…

Visual Studio: Tab Stop Configuration

Visual Studio 2005 (and 2008 EDIT: and 2010) has a great tool for fixing the tab stop values on any form, and it's point and click! With your form open, use the 'Layout' toolbar and click the 'Tab Order' button. All the controls on the form now have a numbered…

.NET, OleDB and Excel

OleDB is a very useful API in .NET, especially when manipulating the data in an Excel spreadsheet. In fact, it can open an Excel spreadsheet and query the data using regular SQL statements. using System.Data.OleDb; OleDbConnection conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=somedataineed.…