Grep and Unicode (UTF-16)

Grep [http://www.gnu.org/software/grep/manual/grep.html] does not play well with Unicode [http://unicode.org/], but it can be worked around. For example, to find, Some Search Term in a UTF-16 [http://www.unicode.org/faq/utf_bom.html#UTF16] file [https://drive.google.com/uc?…

Ubertooth Spectrum Analysis (Kali/Chromebook)

Ubertooth Setup Once Kali is up and running on the Chromebook, the Ubertooth build guide [https://github.com/greatscottgadgets/ubertooth/wiki/Build-Guide] is a good start. However there are some issues with the guide and Kali/Chromebook, 1. For the Bluetooth Base Band Library (libbtbb), install the following packages, * build-essential…

VirtualBox: Clone Windows and Stay Genuine

One of the great benefits of virtualization software, such as VirtualBox [https://www.virtualbox.org/], 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…

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…

.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=…