Month: October 2015

  • “called” a batch script within a batch script, forgot to use “call”, and wondered …

    <!– | 522: Connection timed out body{margin:0;padding:0} <!–[if lte IE 9]>/cdn-cgi/scripts/jquery.min.js<![endif]–> /cdn-cgi/scripts/zepto.min.js<!– /cdn-cgi/scripts/cf.common.js Error 522 Ray ID: 3a8c541b7acb15b9 • 2017-10-05 00:40:45 UTC Connection timed out You Browser Working Frankfurt Cloudflare Working Host Error What happened? The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web […]

  • cURL: how do I save a file using the response header filename with cURL This question relates to the command line version of cURL. I’m trying to download a file from a cgi script.http://someserver/perl/ a browser the filename comes up as curl –remote-header-name … wget –content-disposition …

  • Jenkins: setting up a the environment for a Windows/Microsoft compilation job — make’s exit code checking There are a couple of different ways of injecting environment variables: Within the “Build Environment” / “Inject environment variables to the build process” section of a Jenkins job (provided by the EnvInject plugin) you may me tempted to make use of a file named by “Properties File Path” that […]

  • Windows utilities that you sometimes want to start through Win-R

    cmd = … iexplore = Internet Explorer notepad taskmgr = the Task Manager

  • nicer Windows terminals: ConEmu, Console2

    ConEmu: – 2017: moved … Console2:

  • “CMake” is a software “build” utility CMake is cross-platform free and open-source software for managing the build process of software using a compiler-independent method. It is designed to support directory hierarchies and applications that depend on multiple libraries. It is used in conjunction with native build environments such as make, Apple’s Xcode, and Microsoft Visual Studio. It has minimal dependencies, […]

  • “jom” is a software “build” utility like “make” — jom is a clone of Glenn Fowler’s nmake to support the execution of multiple independent commands in parallel (“-j” …) — jom is being used in the context of Qt lists nmake etc — jom makes (resp. can make) use of CMake, a “cross-platform free and open-source software for managing the build process […]

  • Windows batch files – shell programming à la Windows resp. Microsoft !!! – on cmd.exe (apparently not updated since WinXP) (same content as above) – command-line reference A-Z – command shell overview — “an A-Z Index of the Windows CMD command line” — very, very helpful documentation — “IF — conditionally perform a command” — details I “always” wanted to know […]

  • Apache Ant: “Unable to locate tools.jar” — the software build tool = JDK = JRE tools.jar — a part of the JDK used by Ant   Unable to locate tools.jar. Expected to find it in C:Program Files…Javajre…libtools.jar Do you know this message? Do you want to get rid of it? Take the JDK (downloadable) instead of the JRE (downloadable), […]

  • using Microsoft Visual Studio’s C++ compiler commandline-wise — vcvarsall.bat nice example illustrating how to properly qualify absolutely wherever possible (i.e. avoiding getting things found through PATH et al.!): SET PF=C:Program Files SET PFx86=C:Program Files (x86) SET VSINSTALLDIR=%PFx86%Microsoft Visual Studio 10.0 SET VCINSTALLDIR=%VSINSTALLDIR%VC :: Add compiler tools folder to the PATH variable. :: Do not run this too many times :: or %Path% will […]