Knowledgebase

The Knowlege base arranges tips and userful informations scattered on the web.

Simple method to add historic feature to SQLite

Abstract: Make a database which can be store historic modification is often considered a “secondary” activity, but bad design leads to databases that are difficult to optimize and often not very understandable. In this article we illustrate a simple method that respects the dictates of relational theory & is easy to understand. As a plus …

Simple method to add historic feature to SQLite Read More »

How to re-enable right click

Some news site still try in 2021 to disable right click and ability to copy content. These tactis are very very poor, and only block the users not interested in copying/stealing your code. The  idea is to put something like that on body tag: <body oncopy="return false" oncut="return false" onpaste="return false" onbeforecopy="return false" ondragstart="return false" …

How to re-enable right click Read More »

TiddlyWiki

TiddlyWiki is a rich, interactive tool for manipulating complex data with structure that doesn’t easily fit into conventional tools like spreadsheets or wordprocessors. Tiddlywiki born in 2004, is great if you need a fast way to make fast notes. In the past it was able to store itself using local javascript extensions, but now you need …

TiddlyWiki Read More »

Simple Html debug via CSS

Add the following css lines to your CSS theme, possibly at the end div::before { content:” C:” attr(class) “” } *::before,*::after { color:red; font-weight:100; font-size:1.0em } and div classes will showup easily. Very handly while customizing WoooordPress :) This page show a demo.

QB64: basic Revenge

Quick Basic64 is a QBasic compatible programming language actively mantained. It produce C-compiled code and works under Linux and MacOS too. It resemble the original QBasic IDE, and supports its dialect. If you have some old qbasic code to “update”, QB64 is your best friend:Give it a try!

Mail Server on Docker (UPDATED)

Hosting your own email server is not a mandatory task; it increase your attack surface too. But relaying too much on big emails provider (Gmail, Outlook, Aruba, Fastmail) could be a risk for our democracy. For instance, who decide how Spam is managed (i.e. what could be a Spam email)? Can we trust big providers? Email …

Mail Server on Docker (UPDATED) Read More »

Pybash

The project has been renamed into “runif”. This page left only for Google Search happiness. Pybash is a python library to make python script as easy as in Bourne Again Shell (Bash). Bash scripting is very easy to setup. So we end up using it all the time for simple procedural script. Sometimes is it …

Pybash Read More »

Git History Squash for fun and profit

Suppose you are developing a boring Jenkins pipline (like Jenkinsfile-s) with no time at all. You are forced to commit and then run the jenkins pipeline. Jenkins download the code from your LOCAL repository. To avoid commit& push roundtrip you are using the simple git daemon command to expose your local repository to jenkins. So …

Git History Squash for fun and profit Read More »