/* BeejBløg */

Oct 20, 2009 - 1 minute read - Comments - Uncategorized

SED – Insert text after match

General syntax: sed “s/search-for-regex/& replace-with/” filename.txt Example: sed “s/BEGIN AS/& nnSET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED/” Plans_s.sql Explanation: s/search-for-regex/replace-with/ = search and replace command & = the matched text (effectively leaves the matched text alone rather than “replacing” it) n = carriage return

Oct 20, 2009 - 2 minute read - Comments - Uncategorized

Open Air PC

Update 2015-01-07: Replacing the HDD cage fan – mine got a bad case of the rattles Nutshell: Silverstone FM83 92mm fan on 80mm mount holes = somewhat rare Got one Jan 2015 for $16 + $9 shipping from FrozenCPU… there honestly doesn’t seem to be much availability left out there in general Looks to be manufac’d circa 2007 by the packaging… nothing stays around forever = get it now if you ever think you’re going to want it i’ve got a bunch of spare straight ”square” 80mm fans… i’ll probably just burn one of those “next time” even though the air flow won’t be elegant.

Oct 18, 2009 - 2 minute read - Comments - Uncategorized

Google Wave – WOW

https://code.google.com/apis/wave/ For all you folks working on any kind of collaboration solution, this seems like THE thing to have on your radar… It’s not just a standalone product but an API to be woven into our own mashups. Here’s the gen-x attention span version… very handy to start getting a quick feel.Watch the long video directly on YouTube so you can maximize it.Seems like this was announced this May (at the Google “I/O”  ’09 conference).

Oct 7, 2009 - 2 minute read - Comments

Continuous Ink Supply System (CISS)

The “CISS” ink kit I went with is <$60 USD and if you’re a friend I’d obviously help you set it up… this unit has been working solidly for two years now. Once you get your head around this ink tank thing, it’s a totally simple concept which _just works_… It feels SO awesome to finally flip the bird to the whole cartridge rat race and let your family crank out ink sucking job after job without a care in the world!

Aug 17, 2009 - 1 minute read - Comments

GPS / Mapping / Garmin – Tips

GMapToGPX – Export Google Maps route to GPX which then imports to all Garmin stuff ,etc. Garmin Connect.com – Seems like a fun way to start posting our routes and sharing. MapMyRide.com – route sharing forum that does have Germany content

Jul 24, 2009 - 1 minute read - Comments

SQL Server Import and Export Wizard with MSDE2000 (aka DTSWizard)

It does work It comes bundled with “Microsoft SQL Server 2005 Express Edition Toolkit” – Service Pack 3**** appears to be the latest (12/15/2008) Make sure you click off to install all the subcomponents, DTSWizard was inside of one of them… not sure which yet Depending on what you already have installed the installs might prompt you to install various components found here Feature Pack for Microsoft SQL Server 2005 – February 2007

Jul 17, 2009 - 2 minute read - Comments

Crazy Proxy Remote Virtual World, or – my first courtship with Google Voice

Live in Germany, just got invited to Google Voice (YES!)… anxious to get this rolling so RDP’d into my home machine from work …. course Google don’t support outside US yet but I only want a US number to give to my friends back home anyway … immediately went Proxy spelunking… landed on PHProxy first since it has a convenient FireFox plugin… got me through the front door on the Google Voice US check but all the Ajax stuff was failing… FoxyProxy next… hmm lots of instructions… looks flexible… why don’t any of these things comes with a default proxy list yet?

Jul 14, 2009 - 5 minute read - Comments - Uncategorized

ASP.Net (& Ajax) Notes

It’s been long enough that the little things tripped me when I fired up a new project… so here they are for “next time”: new Guid() – this probably isn’t the one you want… it initializes to all zeros (i.e. {00000000-0000-0000-0000-000000000000}) System.Guid.NewGuid() is the one that generates a fresh unique value Getting “Automatic Compilation” to work (i.e. just uploading your source files to the web server and not your bin folder) Check the <%@ Page > directive & make sure it says CodeFile=”” not CodeBehind=”” If not then you’ll be getting errors like “Could not load type …” CodeFile came along with ASP.

Jun 24, 2009 - 2 minute read - Comments - Uncategorized

SQL Split AWK Script

Split the output from SQL Server Management Studio (SSMS) > View > Object Explorer Details > “Script {function|view|procedure} as” into individual files Note: The current RegEx’s are tailored around the following scripting options (see comments to change): “Include descriptive headers” = true  (this is the default after SSMS 2008 install) – located under:  SSMS > Tools > Options > SQL Server Object Explorer > Scripting > General scripting options) “Schema qualify object names” =  false (NOT the default) – under: … > Object scripting options Download GAWK.