Ansible Snippets
Bootstraping Execution order Create a file without external template Creating inventory script Writing ansible modules in sh ...
Bootstraping Execution order Create a file without external template Creating inventory script Writing ansible modules in sh ...
This is a conversion from a presentation/pdf by Tim Appnel. I attached a copy here too. Roles and Modules ...
I have been programming for about 40 years. Going through a lot of different languages and programming paradims. Lately most of my programming is done in: bash/shell script Python ...
This recipe is to check the tags defined for a specific Docker image in docker.hub. The basic API is at https://registry.hub.docker.com/v2 So the format is as follows: https://registry.hub.docker.com/v2/repositories/{namespace}/{image}/tags/ Where: ...
This is a tiny library to implement Web server embedded editor. You can find it in github. Can be used either from haserl or directly from a shell script. Features: ...
photoprism is a web based photo management application. From its website: PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, ...
In a previous article, I updated a supervisorui project to work for me. This updated version supervisorui-redone is essentially a PHP application which is a different approach from the original supervisorui project which was more of a JavaScript application with some helper functionality implemented in PHP. As such, I figured that I could probably fix the supervisorui code base ...
Currently I am using docker containers to deploy applications. A number of those containers make use of supervisord for managing processes. While supervisord itself comes with a UI, it is unhandy for me because each container is its own supervisord instance. So I was interested in some software that would let me manage multiple supervisord instances in a single page. Turns out that there ...
I am running void-linux at home with musl as the standard C library. While most things work well, there is a number of programs that do not and must be using glibc counterparts. To enable this I followed this guide here: Live switching Void Linux from glibc to musl. To set-up: ...
From 2daygeek.com Server patching is one of the important task of Linux system administrator to make the system more stable and better performance. All the vendors used to release security/vulnerabilities patches very often, the affected package must be updated in order to limit any potential security risks. Yum (Yellowdog Update Modified) is RPM Package Management utility for CentOS and Red Hat systems, Yum history command allows administrator to rollback the system to a previous state but due to some limitations, rollbacks do not work in all situations, or The yum command may simply do nothing, or it may remove packages you do not expect. I advise you to take a full system backup prior to performing any update/upgrade is always recommended, and yum history is NOT meant to replace systems backups. This will help you to restore the system to previous state at any point of time. n some cases, the hosted applications might not work properly or through some error due to recent patch updates (It could be some library incompatibility or package upgrade), what will be the solution in this case? Get in touch with App Dev team and figure it out an issue creating library' and packages then do the rollback with help of yum history command. ...
In 2014, Microsoft killed and buried Clipart in the digital graveyard. Clipart had outlived its usefulness as users relied more on search engines than Microsoft' somewhat limited supply through the Office suite. Today' clipart needs to be modern, colorful, and less cartoonish. An ...
Today I want to briefly write about kivy. kivy is an Python library intended for developing Mobile Apps. It is a cross-platform library that runs on Android, iOS, Linux, OS X and Windows. It is licensed under the MIT, so it is free and open source. Kivy is the main framework developed by the Kivy organisation, alongside with Python for Android, ...
Since now I have a Android TV I put away my HTPC and with that the capability to view DVDs or listen CDs directly. So I converted my entire CD and DVD library to media files and stored in my home NAS. Since we are talking hundreds of DVDs and CDs, I was using some tools. CD ripping For CD ripping, pretty much everything can be done with abcde. ...
Jaxon is an open source PHP library for easily creating Ajax web applications. It allows into a web page to make direct Ajax calls to PHP classes that will in turn update its content, without reloading the entire page. Jaxon implements a complete set of PHP functions to define the contents and properties of the web page. Several plugins exist to extend its functionalities and provide integration with various PHP frameworks and CMS. ...
Programming 2016 GWT and GWT on Mobile and Java servlets Generate Excel http://www.gwtproject.org/overview.html ...
So, after a long while, I wrote a new C language program. As usual, the same things that I dislike about C programming popped up, specifically the need for low level data structures and manual memory management. I did learn some new things: ...
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 ...
As usual with any IT system backups are important. This does not change when using a free shared hosting provider. Because it is free, one would argue it is even more important. For my wordpress web site I used something called cli-exporter. It let's you create "Wordpress" export files from the command line so it can be run from cron. This is important because backups have to be automated. In addition to that, I copy the backup files to an off-site location. I do this by copying files using WebDAV to a storage provider. I did this by writing a simple script and using the PHP library SabreDAV which makes writing DAV clients quite easy. I myself don't mind using other people's Open Source code to do something. I was actually surprised that I was not able to find something that meet my criteria. However, thanks to the power of open source I was able to find something that fit the bill exactly. To make things more interesting, because I wanted to keep backup files as compressed Zip archives, my backup scripts did not work in one of the web hosts that I was using. They did not have the zip extensions enabled. This is surprising considering is quite standard. Luckily I was able to find a pure PHP library pclzip. ...
Instructions on how to remove DRM from E-Books and videos. How to Remove DRM from Ebooks (and Back Up Your Library Permanently) The easiest way to strip DRM from Kindle books (and Barnes and Noble, Adobe Digital Content, etc) is with the free ebook software Calibre, DRM removal plugins, and a copy of the Kindle desktop software (PC/Mac). These directions are for Kindle, but will work with Barnes and Noble, Adobe Digital Editions, and older formats. Here's what you need to do: Download Calibre, the the plugins, and the Kindle Desktop software. Unzip the contents of the plugin directory. ...
Use DVCS as backend (GIT) Output html markdown Prefer perl/python Mostly RO so to avoid merge conflicts. ...