Nginx and Go through unix socket

Simple setup example

Our nginx vhost:

The Go app

eclipse (kepler) cdt c++11

1. Project settings
Right click your project and properties


C/C++ Build – Settings – LLVM Clang C++ – Miscellaneous

Screenshot from 2013-10-08 14:09:24

Note: Do this for each build configuration (e.g. Debug, Release)
I have not found a better solution yet.

2. Globally add c++11 to the preprocessor

Window – Preferences – C/C++ – Build – Settings – Discovery Tab – CDT GCC Built-in Compiler Settings [Shared]

after the ${COMMAND}

Screenshot from 2013-10-08 14:19:39

archlinux php.ini

Just a FYI.
If you’re using archlinux and wonder why the php.ini in /etc/php/ isn’t parsed,
in my case i’m using uwsgi so the php_sapi_name() returns uwsgi
so i have to

Firefox show http

Do you also hate it that Firefox disables the Schema prefix http https by default?
I do.

To solve this:

  1. Press CTRL+L or go to the address bar and type about:config
  2. Doubleclick on browser.urlbar.trimURLs so it is set to false

If you’re annoyed by the highlighting of the domain name change
browser.urlbar.formatting.enabled to false