Since none of the pictures returned for searching 46W6740 is correct, here is one that is. – Jeroen Wiert Pluimers – Google+
46W6740 Ultranav keyboard (not full size, no trackpad, only trackpoint, no Windows keys). Click to get a larger picture.
Posted by jpluimers on 2015/10/16
Since none of the pictures returned for searching 46W6740 is correct, here is one that is. – Jeroen Wiert Pluimers – Google+
46W6740 Ultranav keyboard (not full size, no trackpad, only trackpoint, no Windows keys). Click to get a larger picture.
Posted in Keyboards and Keyboard Shortcuts, Power User, ThinkPad, UltraNav keyboards | Leave a Comment »
Posted by jpluimers on 2015/10/16
Interesting: this works through an on-line service that monitors up to 2 servers for free (including protocols like HTTP, SMTP and PING).
You can get reports at either through:
I’m using this to monitor my boxes at home.
A demo video is below.
–jeroen
Posted in *nix, Communications Development, Development, HTTP, Internet protocol suite, Power User, SMTP, TCP | Leave a Comment »
Posted by jpluimers on 2015/10/15
LOL:
The if syntax of your script was a bit…well, iffy.
Indeed it is:
#!/bin/bash #toggle AppleShowAllFiles current_value=$(defaults read com.apple.finder AppleShowAllFiles) if [ $current_value = "TRUE" ] then defaults write com.apple.finder AppleShowAllFiles FALSE else defaults write com.apple.finder AppleShowAllFiles TRUE fi killall Finder
Even the alternative if statement is:
if [[ $(defaults read com.apple.finder AppleShowAllFiles) == TRUE ]]
–jeroen
via osx – Toggle AppleShowAllFiles with a simple bash script? – Stack Overflow.
Posted in Apple, bash, Development, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2015/10/14
Thanks Joshep Prajapati for pointing me to this great page which can do a lot of XML related things:
–jeroen
via: Generate XSD from XML – XSD.EXE versus on-line tools – take 2 « The Wiert Corner.
Posted in Development, Software Development, XML, XML/XSD, XSD | 3 Comments »
Posted by jpluimers on 2015/10/13
So I won’t forget:
Even though this does not work on most USA T-Shirt sites, it works on this Dutch one: T-Shirt Ontwerpen – t-shirt zelf ontwerpen | Spreadshirt.
–jeroen
PS:
Posted in ASCII, Development, Encoding, Software Development, Unicode | Leave a Comment »
Posted by jpluimers on 2015/10/12
Interesting: site:www.e-reading.link/bookreader.php – Google Search.
Likely highly illegal, but it has a lot of things in PDF that I already have on paper of stuff that is hard to get otherwise.
Posted in LifeHacker, PDF, Power User | Leave a Comment »
Posted by jpluimers on 2015/10/09
When you’re not a frequent iTunes user, and recycle computer systems, then every once in a while you will get you in to a situation where you have Music on your iPod, but not on your PC any more.
Whereas iTunes is great at putting music on an iPod, it cannot get it back.
There are numerous paid tools to get the music from your iPod, but doing it manually is not that hard. Below are a few links to get you started, but they all come down to this:
The steps to copy them back
Music and Music/F* folders inside it using this chflags trick from Unhiding Unix Directories | Apple Support Communities:
chflags nohidden Musicchflags nohidden Music/F*Some links explaining this in more detail:
–jeroen
Posted in Apple, iPod, iTunes, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9 | 2 Comments »
Posted by jpluimers on 2015/10/08
Here is a list of books that I think any serious Delphi developer should have or have read:
There are many other Delphi books out, but most are either version specific, bound to a narrow area of topics, outdated or not well written.
Posted in Uncategorized | 1 Comment »
Posted by jpluimers on 2015/10/07
A long time ago, there was an interesting discussion here: I was wondering, that what is the closest value to the Zero floating point can have.
Recently I needed to do some calculations on series where getting close to zero could become a problem.
In practice it depends a lot on what you are doing. Sometimes absolute Epsilons are best, but at other times relative difference is much more applicable.
Then there is also a Machine Epsilon: a way to derive an Epsilon from a data type that works in all languages and platforms.
–jeroen
Posted in .NET, Algorithms, C, C#, C++, Delphi, Development, Floating point handling, Software Development | 1 Comment »
Posted by jpluimers on 2015/10/06
Get the path to the most recent msbuild.exe from the registry:
| @echo off | |
| :: http://stackoverflow.com/questions/328017/path-to-msbuild | |
| :: http://www.csharp411.com/where-to-find-msbuild-exe/ | |
| :: http://timrayburn.net/blog/visual-studio-2013-and-msbuild/ | |
| :: http://blogs.msdn.com/b/visualstudio/archive/2013/07/24/msbuild-is-now-part-of-visual-studio.aspx | |
| setlocal | |
| :vswhereModernTry | |
| :: https://github.com/Microsoft/vswhere/wiki/Find-MSBuild | |
| :: Normal output example of `vswhere -legacy -latest -property installationPath` has no trailing back-slash: | |
| :: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\` | |
| for /f "usebackq tokens=*" %%i in (`vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do ( | |
| set InstallDir=%%i | |
| ) | |
| :: without ENABLEEXTENSIONS, %InstallDir% is only available outside the above loop. | |
| for %%v in (15.0, 14.0) do ( | |
| if exist "%InstallDir%\MSBuild\%%v\Bin\MSBuild.exe" ( | |
| set msBuildExe="%InstallDir%\MSBuild\%%v\Bin\MSBuild.exe" | |
| goto :finish | |
| ) | |
| ) | |
| :manualTry | |
| :: order of the versions is important: get the most recent one | |
| for %%v in (14.0, 12.0, 4.0, 3.5, 2.0) do ( | |
| for /f "usebackq tokens=2* delims= " %%c in (`reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\%%v" /v MSBuildToolsPath`) do ( | |
| set msBuildExe="%%dMSBuild.exe" | |
| goto :finish | |
| ) | |
| ) | |
| :vswhereLegacyTry | |
| :: -legacy is not compatible with -products or -requires | |
| :: note there is no Visual Studio 13.0 (just like there is no Office 13.0) likely because USA superstition. | |
| :: https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#History | |
| :: msbuild was introduced in Visual Studio 8.0: https://en.wikipedia.org/wiki/MSBuild#History | |
| :: Legacy output example of `vswhere -legacy -latest -property installationPath` has trailing back-slash: | |
| :: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\` | |
| for /f "usebackq tokens=*" %%i in (`vswhere -legacy -latest -property installationPath`) do ( | |
| set InstallDir=%%i | |
| ) | |
| :: without ENABLEEXTENSIONS, %InstallDir% is only available outside the above loop. | |
| for %%v in (14.0, 12.0, 11.0, 10.0, 9.0, 8.0) do ( | |
| if exist "%InstallDir%MSBuild\%%v\Bin\MSBuild.exe" ( | |
| set msBuildExe="%InstallDir%MSBuild\%%v\Bin\MSBuild.exe" | |
| goto :finish | |
| ) | |
| ) | |
| :: nothing found | |
| :finish | |
| endlocal & if not [%msBuildExe%]==[] if exist %msBuildExe% ( echo %msBuildExe% ) |
| for /f "usebackq tokens=*" %%c in (`"%~dp0get-msbuildExe-path.bat"`) do ( | |
| call %%c %* | |
| ) |
With help from:
This needs adoption for Visual Studio 2017 (15.0) and up; see the comments at the above gist:
–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, C# 6 (Roslyn), Delphi, Delphi 10 Seattle, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | Leave a Comment »
lextm commented on Mar 9, 2017 •
vswhereis now recommended to locate MSBuild 15,https://github.com/Microsoft/vswhere
n9 commented on May 17, 2017
vswhere -products *to get standalone installation of BuildTools. (See Microsoft/vswhere#61.)