Windows

Cmder, Cygwin and other

Console emulator for windows – CMDER Cygwin installation package – CYGWIN Integrate Cygwin to CMDER How to add additional packages to cygwin (apt-cyg….) apt-cyg installation (lynx required from Cygwin package)

Continue Reading
Windows

Windows 8.1 tuning (to look and behave like win7)

Use Windows 8.1 in default configuration as developer machine is hell on the earth. So, here are the steps how to turn Windows 8.1 back to classic…   Configure your user as TRUE administrator (link) Replace metro by classic start menu (link) split monitor to more areas (WinSplit revolution, alternative ownload link) Windows firewall extension …

Continue Reading
Programming Qt Windows

Qt5 application crashed with error 0xc0000005

This is very interesting crash and I think it should be considered as Qt bug. This problem arise only under very special circumstances. But one after another. You will identify this problem when your application stopped/exited immediately after the start without any visible error message. It looks like the application isn’t executed at all. When you check …

Continue Reading
Programming Windows

Visual Studio 2013 – Visualizers

One of very useful feature of Visual Studio is custom variables views. It’s possible to configure own views to each of your class. For this, VS2013 (and VS2012) uses .natvis files located in following directories: Files are stored in common .xml format and has following format: Debugging .natvis files Visual studio contains a way how …

Continue Reading
Windows

Bitcoint mining

Notes & links: What is BItcoint GuiMiner / bitcointtalk.org – guiminer BitCoin.org mining.bitcoint.cz RPCMiner 2013 (CUDA), sourceforge, bitcoin forum Stratum mining proxy Bitcoin exchange Command line

Continue Reading
Linux Mac OS Programming Windows

nginx and fast-cgi – tips and tricks

How to pass full path to fast-cgi app It’s necessary to configure which parameters are passed to fast-cgi application from nginx server. For this purposes serves fastcgi_param keyword. It’s a good practice to keeps all fastcgi params together. For this purposes nginx has fastcgi.conf file. This file already contains most of useful fastcgi_param bindings. To include …

Continue Reading
Windows

How to run fastcgi and nginx on windows

Step by step guide how to configure nginx on windows…. Download and installation Download nginx package from nginx site. Unpack it and installation is done 😉 Example of fast-cgi application No create and complie fast-cgi application. (How to compile fast-cgi on windows) How to connect fast-cgi with web-server There are two ways. When web-server supports …

Continue Reading
Programming Windows

How to compile FastCGI library in Visual Studio 2010 C++

FastCGI comes with Win32 project for VisualStudio6. Unfortunately when you try to open it in VisualStudio2010 the project will be corrupted. To correctly compile it for VS2010 it’s necessary to download library sources, get patches from cybozu.co.jp site and apply it. Download library Download latest version of Development Kit here and extract it to standalone directory. Get …

Continue Reading
Linux Mac OS Programming Windows

FastCGI c++ library for all platforms (Windows, Mac and Linux)

List of existing libraries official fastcgi (http://www.fastcgi.com/drupal/node/6?q=node/21) – necessary to update win32 project fastcgi / cgi  c++ ([email protected] / cgi.sourceforge.net ) – limited windows support c++ FastCGI Protocol Driver (http://www.ohloh.net/p/libfastcgi) – POSIX only fastcgi++ ([email protected]/ / [email protected]) – only for POSIX systems fcgi Qt (https://gitorious.org/fcgi-qt-add-on) – for Qt apps cgicc (http://www.gnu.org/software/cgicc/) – no fastcgi support (although mentioned on their site) fastcgi-daemon (yandex) (https://github.com/golubtsov/Fastcgi-Daemon) – posix only …

Continue Reading
Linux Mac OS Windows

C++ Code coverage tools for Windows and Linux (DRAFT)

Linux CovTool – Free test coverage analyzer for C++ ggcov –  GTK+ GUI for exploring test coverage data produced by C and C++ programs compiled with gcc –coverage. lcov – graphical front-end for GCC’s coverage testing tool gcov. Creates HTML pages containing the source code annotated with coverage information. Trucov – open source program that works with the GCC compiler to display the control flow …

Continue Reading