Posted by jpluimers on 2014/04/02
Wow, I totally missed the introduction of SETX.
From TechNet:
SETX:
Creates or modifies environment variables in the user or system environment, without requiring programming or scripting. The Setx command also retrieves the values of registry keys and writes them to text files.
Even better, is that it allows you take values from these sources so it is easy to get those into environment variables:
- Command-line parameter
- Registry key
- Text file (with some filtering/search options)
From a bit of searching around, I think it got introduced in a Windows Resource Kit, and got included by default starting Windows Vista.
Excellent addition to my toolset (:
–jeroen
via Setx.
Posted in Batch-Files, Development, Power User, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Vista | Leave a Comment »
Posted by jpluimers on 2014/04/02
Every once in a while, someone hoses their computer far enough that it has to be reinstalled, but the original Microsoft product keys are misplaced, and some creepy anti-virus tool disallows the running of standard product key recovery tools like nirsoft’s.
Well, there is enough sourcecode that does recover it, just look for any of these strings:
Some hits:
The below full executables can trigger a virus warning (ordered from less often to most often):
–jeroen
Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, CommandLine, Delphi, Development, PowerShell, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/01
Sample: Cast Media Player for Streaming with DRM
https://github.com/googlecast/CastMediaPlayerStreamingDRM
Flow Diagrams for Senders and Receivers
To help you decide which Google Cast options are right for your app, we have updated the Google Cast SDK documentation with two flow diagrams:
via Leon Nicholls – Google+ – Flow Diagrams for Senders and Receivers To help you decide….
via Shawn Shen – Google+ – * Sample: Cast Media Player for Streaming with DRM* ….
Posted in Chromecast, Development, Google, HTML, HTML5, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2014/04/01
Stefan Glienke made the announcement earlier today:
Finally! #Spring4D is released in version 1.0 – no joke!
You can get it directly from bitbucket using git (master) or download the zip from the 1.0 tag (http://bitbucket.org/sglienke/spring4d/downloads).
There’s lots and lots of cross platform functionality in it. No UI stuff, just source. And tests for most of it. And there is build.exe to build/install everything.
You need at least Delphi 2010 (since there is a lot of generics stuff in it). Indeed: no non-Unicode Delphi versions and no Delphi 2009 support.
Oh and the containers to have common interfaces like IList and ICollection. That’s why Nick Hodges likes them so much (:
We are going to work to get it to build with AppMethod as well
To get started, download the about zip, unzip recursively, then run BUILD.EXE and have it integrate the packages in your Delphi version.
The master branch will always contain the youngest stable version.
A few directories and unit names:
- Source\Base
- Source\Core
- Source\Extensions
- Source\Base\Collections
- Source\Base\Reflection
- Source\Core\Container
- Source\Core\Services
- Source\Extensions\Cryptography
- Source\Extensions\Utils
with per directory unit names containing: Read the rest of this entry »
Posted in Delphi, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/04/01
For my reminder list: lots of people forget to checkin/undo changes in TFS of stuff automatically checked out by Visual Studio when investigating a problem in their program.
This shows how to view changes made by other users (always in other workspaces because they are not you).
You can do it from Visual Studio, of with the tf command line tool.
View Pending Changes in Other Workspaces.
–jeroen
Posted in Development, Software Development, Source Code Management, TFS (Team Foundation System), Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2014/03/31
Posted in .NET, C#, Delphi, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Encoding, Software Development | Leave a Comment »
Posted by jpluimers on 2014/03/31
With SQL Server, when your database is in “Recovery Pending” mode don’t just start blindingly search google, but sit down as you might be causing more damage doing so.
After sitting down, read these two posts by Paul Randal | SQLskills.com from his SQL Server Corruption series:
- Search Engine Q&A #4: Using EMERGENCY mode to access a RECOVERY PENDING or SUSPECT database.
- SQL Server EMERGENCY mode repair.
Then think about it before acting.
Though the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full (and everything might just be dandy after the disk is available and there is enough room on it), make sure you read the above posts first before relying on the simple causes.
–jeroen
Posted in Development, Software Development, SQL Server, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 2014 | Tagged: EMERGENCY mode, Recovery Pending, SQL Server | Leave a Comment »
Posted by jpluimers on 2014/03/31
Interesting article by Gerwin Sturm on EU Cookie Regulations vs. Google+ plugins.
It’s not just that the directive causes this nagging because “of course we can’t remember that users haven’t given us consent for storing cookies, because that would require storing a cookie, so the consent banner will always appear until the user has actually given consent.”
Some other valuable tips are in this article as well. Now go read it (:
–jeroen
Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2014/03/31
When you order for business usage, and your business can deduct VAT/Mwst, you can have Amazon.de and Amazon.co.uk send invoices without VAT for most goods.
Some restrictions apply, read these pages before performing the steps below:
For Amazon.de (they ship most goods for free from Germany to us for orders over EUR 20), follow these steps: Read the rest of this entry »
Posted in LifeHacker, Power User | Leave a Comment »