Python development tips 2024
Local install packages Better debugging Built-in exceptions Adding site specific customizations Constants ...
Local install packages Better debugging Built-in exceptions Adding site specific customizations Constants ...
Bootstraping Execution order Create a file without external template Creating inventory script Writing ansible modules in sh ...
The other day, I had to update a VM configuration managed via libvirt from the command line. There are different ways to do this. The easiest probably is to use the virt-manager application and use the GUI to modify things. ... virt-manager screenshot ... ...
This is a conversion from a presentation/pdf by Tim Appnel. I attached a copy here too. Roles and Modules ...
This is an example of a socket-activated per-connection service (which is usually referred to as inetd-like service). A thorough explanation can be found at 0pointer.de. Define a socket unit The key point here is to specify Accept=yes, which will make the socket accept connections (behaving like inetd) and pass ...
After looking a multiple options of GUI programming under python I eventually settled for tkinter. The main reason was that tkinter is very ubiquitous and initially though the learning curve wuld have shorter as I was very used to GUI programming using TCL/TK. Turned out that what I known TCL/TK did not translate ...
Python development on Windows Distributing Python scripts as single EXE or Directory Installing netifaces on Windows Documentation generation ...
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 ...
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, regardless of what ...
We just load SimpleNote as a Desktop WebApp Create first a basic markdown editor styling ...
Writing shell scripts leaves a lot of room to make mistakes, in ways that will cause your scripts to break on certain input, or (if some input is untrusted) open up security vulnerabilities. Here are some tips on how to make your shell scripts safer. Don't The simplest step is to avoid using shell at all. Many higher-level languages are both easier to write the code in in the first place, and avoid some of the issues that shell ...
Programming 2016 GWT and GWT on Mobile and Java servlets Generate Excel http://www.gwtproject.org/overview.html ...
key mappings look up and label default mappings ...
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 ...
The other day I found Gmvault. Gmvault is an open source Gmail backup software written in Python. This article provides a good overview on how it works (found it better than the Gmvault documentation): How to back up and restore Gmail account on Linux ...
So these are my ideas on how to document projects. There are three types of documentation types: User guides Targetted and end-users of the software and people who want a brief overview. Man pages Again targetted at end-users but also sysadmins. Usually to address a specific feature. ...