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

<!– www.bibleserver.com | 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 www.bibleserver.com Host Error What happened? The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web… Continue reading “called” a batch script within a batch script, forgot to use “call”, and wondered …

cURL: how do I save a file using the response header filename with cURL

http://stackoverflow.com/questions/2698552/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/dl.pl?ID=2Using 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

https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin https://www.gnu.org/software/make/manual/html_node/Errors.html — 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… Continue reading Jenkins: setting up a the environment for a Windows/Microsoft compilation job

nicer Windows terminals: ConEmu, Console2

ConEmu: http://www.hanselman.com/blog/ConEmuTheWindowsTerminalConsolePromptWeveBeenWaitingFor.aspx http://stackoverflow.com/questions/60950/is-there-a-better-windows-console-window http://code.google.com/p/conemu-maximus5/ – 2017: moved … https://conemu.github.io Console2: http://sourceforge.net/projects/console/files/ http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx http://superuser.com/questions/122253/how-where-do-you-install-console2-on-windows-7

“CMake” is a software “build” utility

https://en.wikipedia.org/wiki/CMake 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,… Continue reading “CMake” is a software “build” utility

“jom” is a software “build” utility like “make”

http://wiki.qt.io/Jom http://www2.research.att.com/~astopen/nmake — jom is a clone of Glenn Fowler’s nmake to support the execution of multiple independent commands in parallel (“-j” …) https://en.wikipedia.org/wiki/Qt_(software) — jom is being used in the context of Qt https://en.wikipedia.org/wiki/Make_(software)#Derivatives lists nmake etc https://en.wikipedia.org/wiki/CMake — jom makes (resp. can make) use of CMake, a “cross-platform free and open-source software for managing the build process… Continue reading “jom” is a software “build” utility like “make”

Windows batch files – shell programming à la Windows resp. Microsoft

https://en.wikipedia.org/wiki/batch_file !!! https://en.wikipedia.org/wiki/cmd.exe http://www.robvanderwoude.com/parameters.php https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/cmd.mspx https://technet.microsoft.com/en-us/library/bb490880.aspx – on cmd.exe (apparently not updated since WinXP) (same content as above) https://technet.microsoft.com/en-us/library/bb490890.aspx – command-line reference A-Z https://technet.microsoft.com/en-us/library/bb490954.aspx – command shell overview http://ss64.com/nt — “an A-Z Index of the Windows CMD command line” — very, very helpful documentation http://ss64.com/nt/if.html — “IF — conditionally perform a command” — details I “always” wanted to know… Continue reading Windows batch files – shell programming à la Windows resp. Microsoft

Apache Ant: “Unable to locate tools.jar”

https://en.wikipedia.org/wiki/Apache_Ant — the software build tool https://en.wikipedia.org/wiki/Java_Development_Kit = JDK https://en.wikipedia.org/wiki/Java_virtual_machine#Java_Runtime_Environment_from_Oracle = 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),… Continue reading Apache Ant: “Unable to locate tools.jar”

using Microsoft Visual Studio’s C++ compiler commandline-wise — vcvarsall.bat

https://en.wikipedia.org/wiki/Java_Native_Interface#HelloWorld 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… Continue reading using Microsoft Visual Studio’s C++ compiler commandline-wise — vcvarsall.bat