Archive for January, 2016
Posted by jpluimers on 2016/01/29
I’m not the only one with a Mac having issues with Google Chrome Helper CPU usage, but most of the entries are for older Chrome versions. So below are the steps I performed. There are also pros and cons are after the steps.
In chrome://settings/content, under “Plugins”, I ticked “Let me choose when to run plugin content” (it was at “Detect and run important plugin content (recommended)”. That dialog doesn’t allow you to copy it’s content, so no HTML, just this screenshot:

In chrome://plugins/ I disabled this one:
Adobe Flash Player – Version: 20.0.0.267 (Disabled)
Shockwave Flash 20.0 r0
| Description: |
Shockwave Flash 20.0 r0 |
| Location: |
/Users/jeroenp/Library/Application Support/Google/Chrome/PepperFlash/20.0.0.267/PepperFlashPlayer.plugin |
| Type: |
PPAPI (out-of-process) |
| MIME types: |
| application/x-shockwave-flash |
Shockwave Flash |
|
| application/futuresplash |
Shockwave Flash |
|
|
|
Pros of these settings:
- If you have a lot of tabs open (many of them suspended using The Great Suspender), then Google Chrome Helper uses far less CPU.
- Youtube doesn’t use the Flash Player any more. It now uses HTML5 which seems far more battery friendly and more responsive.
Cons of these settings:
- PDFs don’t automatically open any more, nor auto-download. You get something like this:
.
–jeroen
Posted in Apple, Chrome, Google, Mac, MacBook, MacBook Retina, PDF, Power User | Leave a Comment »
Posted by jpluimers on 2016/01/29
Posted in Power User | Leave a Comment »
Posted by jpluimers on 2016/01/28
As part of some TFS related posts, I wrote about Find an installed tf.exe, then run it with the command-line parameters specified.
Below are some more batch files related to this. In each batch file, you can replace tf with call "%~dp0tf.bat" so the above batch file is executed first.
Read the rest of this entry »
Posted in Batch-Files, Development, Scripting, Source Code Management, TFS (Team Foundation System) | Leave a Comment »
Posted by jpluimers on 2016/01/27
Duh: same for VS2013
It is still available, you just need to add it back to the View menu. Tools + Customize, Commands tab, Menu bar = View. Select the menu item in Controls where you want to insert it, say the bottom one. Then Add Command, Category = View, Commands = Tab Order.
Source: winforms – Where is the Tab Order Assignment dialog in Visual Studio 2012? – Stack Overflow
–jeroen
Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, Visual Studio 2012, Visual Studio 2013, Visual Studio 2014, Visual Studio 2015, Visual Studio and tools | Leave a Comment »
Posted by jpluimers on 2016/01/27
Even after the SpeedTouch password algorithms were disclosed 2008, ISPs keep using weak algorithms to generate their default WPA/WPA2 passwords in their routers:
A short while ago, blasty published code to generate the WPA2 passwords for UPC routers. Even though Ziggo now owns UPC, a lot of this UPC equipment is still in use. I guess it won’t be for long that similar code for Ziggo routers will be published too.
The code at https://haxx.in/upc_keys.c is easy to download, build and run on a Mac OS X machine even when you don’t have Xcode installed (use the “xcode-select –install” trick):
wget https://haxx.in/upc_keys.c
gcc -O2 -o upc_keys upc_keys.c -lcrypto
./upc_keys UPC0053284 5
./upc_keys UPC0053284 24
–jeroen
Posted in *nix, *nix-tools, Apple, C, Development, gcc, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, Power User, Software Development | Leave a Comment »
Posted by jpluimers on 2016/01/27
You’d think this is a simple question.
Be amazed by the many ways leading into to creating a temporary file with a specific extension.
This list doesn’t even cover all of them:
- Create a file name based on GetTempPath, a Guid and an extension.
- Use the TempFileCollection from the Compiler in System.CodeDom.
- Get a random file name, then change the extension. Loop until it is unique.
- Use a timestamp to generate unique file names.
All via: c# – How can I create a temp file with a specific extension with .net? – Stack Overflow.
Which one would you choose?
–jeroen
Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, RemObjects C#, Software Development | Leave a Comment »
Posted by jpluimers on 2016/01/26
Greate stuff:
Online .NET regular expression tester with real-time highlighting and detailed results output.
Allowed me to quickly verify the pattern PWWWC\d\dFE\d\d_\d\d\d\d-\d\d-\d\d\.zip matches only one of these filenames:
PWWWC07RI01_2016-01-10.zip
PWWWC08FE03_2016-01-04.zip
PAPPC00BT01_2016-01-04.zip
–jeroen
Source: .NET Regex Tester – Regex Storm
Posted in .NET, Development, RegEx, Software Development | Leave a Comment »
Posted by jpluimers on 2016/01/26
Interesting read: [Interesting post] Part 3 – Reverse engineering using other tools. ….
It’s about doing the reverse of obfuscating. Not only convenient to look how certain software was constructed, but also about learning what could me malicious code.
–jeroen
Posted in Development, Software Development | Leave a Comment »