Post tagged: python

nginx's auth_request_module howto

This article tries to supplement the nginx documentations regarding the auth_request module and how to configure it. In my opinion, that documentation is a bit incomplete.

What is the nginx's auth_request module

The documentation for this module says, it implements client authorization based on the result of a subrequest.

This …

Python Virtual Environments

This is the least you need to know to get to use a Python virtual environment.

What is a Virtual Environment

At its core, the main purpose of Python virtual environments is to create an isolated environment for Python projects. This means that each project can have its own dependencies …

Programming 2016

Programming 2016

  1. GWT and GWT on Mobile and Java servlets
  2. Generate Excel http://www.gwtproject.org/overview.html http://www.m-gwt.com/

Java based:


Programming 2015

  • Cross-Platform: Linux, Windows, Android, iOS, WebApp?
  • Run-Time: >100MB …

Picade Todo

  1. key mappings
  2. look up and label default mappings
  { KEY_UP_ARROW,    UP     },
  { KEY_DOWN_ARROW,  DOWN   },
  { KEY_LEFT_ARROW,  LEFT   },
  { KEY_RIGHT_ARROW, RIGHT  },

  { KEY_LEFT_CTRL,   BTN_1  },
  { KEY_LEFT_ALT,    BTN_2  },
  { ' ',             BTN_3  },
  { KEY_LEFT_SHIFT,  BTN_4  },
  { 'z',             BTN_5  },
  { 'x',             BTN_6  },

  { 's',             START  },
  { 'c',             COIN   },
  { KEY_RETURN,      ENTER  },
  { KEY_ESC,         ESCAPE },

  /* Change these lines to set key bindings for VOL_UP and VOL_DN */
   { 'u',      VOL_UP  },
   { 'd',      VOL_DN …

dev notes 2014

Replacment for Make and Autoconf: MakeMe

(If you don't have root but have Android 4+ you can use the command-line program adb from the Android SDK platform tools to make backups via a desktop computer)

chromebook ides

Dev Tools

Alternative languages:

  • D : better than C, but not over-the-top like C …

Program Documentation

So these are my ideas on how to document projects. There are three types of documentation types:

  1. User guides
    Targetted and end-users of the software and people who want a brief overview.
  2. Man pages
    Again targetted at end-users but also sysadmins. Usually to address a specific feature.
  3. API level documentation …