open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Misterio Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
github linkedin rss
  • Simple crontab utilities

    calendar Dec 11, 2020 · 1 min read
     knowledgebase
     ·
    Share on: twitter facebook linkedin copy
    Simple crontab utilities

    https://crontab.guru/

    https://crontab-generator.org/

  • Simple Html debug via CSS

    calendar Oct 21, 2020 · 1 min read
     en knowledgebase  · easy ideas web wordpress
     ·
    Share on: twitter facebook linkedin copy
    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.

  • AWS ECS is NOT Docker Swarm

    calendar Aug 14, 2020 · 3 min read
     devops en knowledgebase  · aws
     ·
    Share on: twitter facebook linkedin copy
    AWS ECS is NOT Docker Swarm

    Amazon Elastic Container services (ECS) is the Amazon Solution for running  docker containers on Amazon.

    ECS is not a docker swarm implementation. I am writing this article to stress this, because this point is not very clear digging in the tutorials (it is explained a bit in the question “What is the difference between Docker Swarm, Kubernetes, and Amazon ECS” but then the tuytorials mix the things up too much).


    Read More
  • Mail Server on Docker: sanity checks

    calendar Jul 1, 2020 · 1 min read
     en freedom knowledgebase  · docker privacy
     ·
    Share on: twitter facebook linkedin copy
    Mail Server on Docker: sanity checks

    [UPDATED 21/3/2022]

    I have a shiny mail server on gioorgi.com. I decided to manage it on first person because it is important to have tight control on your email, in my humble opinion. It is not strictly necessary, but lending your email address to big company like Googles, Microsoft, Yahoo and so on could be a issue if you get banned by them for whenever reason.


    Read More
  • QB64: basic Revenge

    calendar Jun 27, 2020 · 1 min read
     programming_languages  en knowledgebase software  · retro-computing
     ·
    Share on: twitter facebook linkedin copy
    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!


    Read More
  • runif

    calendar May 28, 2020 · 2 min read
     en knowledgebase projects python software software-projects  · bash python
     ·
    Share on: twitter facebook linkedin copy
    runif

    Idempotent and minimal python 3 library for rapid scripting. Provide support for creating file, adding data to them, patching and so on.

    Why?

    (Ba)sh scripting is very easy to setup. So we end up using it all the time for simple procedural script.


    Read More
  • Mail Server on Docker (UPDATED)

    calendar Apr 21, 2020 · 4 min read
     en freedom knowledgebase  · docker privacy
     ·
    Share on: twitter facebook linkedin copy
    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 has legal value, and its content should stay as much as private as possible.


    Read More
  • Pybash

    calendar Jan 14, 2020 · 1 min read
     en knowledgebase python software  · bash python
     ·
    Share on: twitter facebook linkedin copy
    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.


    Read More
  • About 6502 emulator

    calendar Dec 16, 2019 · 1 min read
     knowledgebase retro-computing  · 6502 c64 retro-computing
     ·
    Share on: twitter facebook linkedin copy
    About 6502 emulator

    I’d like to point you to this blog article about “cycle stepped” 6502 emulator. It is well described and can be a neat read for xmas vacation.

    Also author’s main project is all about

    A toolbox of 8-bit chip-emulators, helper code and complete embeddable system emulators in dependency-free C headers (a subset of C99 that compiles on gcc, clang and cl.exe).
    which can inspire you new project to integrate!

    Do not forget to take a look also at my 8bit free book.


    Read More
  • Git History Squash for fun and profit

    calendar Dec 12, 2019 · 2 min read
     en featured knowledgebase  · git
     ·
    Share on: twitter facebook linkedin copy
    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 jenkins see every commit you has just done.

    And you end up doing a lot of commits, full of trial and errors: you would like to “squash” them before pushing your work to your remote repository, to avoid co-worker laugh your wasted time(!)

    Git can do that, but I have an hard time to find the easier way of doing it, even reading git books!

    So let me explain to you:


    Read More
  • Avoid Kafka if unsure (think twice series)

    calendar Dec 2, 2019 · 2 min read
     en featured knowledgebase sql  · java nosql kafka
     ·
    Share on: twitter facebook linkedin copy
    Avoid Kafka if unsure (think twice series)

    Some co-workers started using Apache Kafka con a bunch of our Customers.

    Apache Kafka is a community distributed event streaming platform capable of handling trillions of events a day. Initially conceived as a messaging queue, Kafka is based on an abstraction of a distributed commit log[*].
    To get this goal, Apache Kafka needs a complex servers setup, even more complex if you want the certification for the producing company (Confluent).  Now, if you are planning to use Kafka like a simple JavaMessaeSystem (JMS) implementation, think twice before going on this route.

    PostgreSQL 12 offers a fair (and open source) partition implementation, whereas if money are not a problem, Oracle 12c can happy scale on billions of record before running into troubles (and ExaData can scale even more).

    PostgreSQL and Oracle offer optimizations for partitioned data, called “Partition Pruning” in PostreSQL teminology:

    With partition pruning enabled, the planner will examine the definition of each partition and prove that the partition need not be scanned because it could not contain any rows meeting the query's WHERE clause. When the planner can prove this, it excludes (prunes) the partition from the query plan.
    This feature is quite brand new (popped in PostreSQL 11) but it is essential to a successful partition strategy. Before these feature, partitioning was a black magic art. Now it is simpler to manage.
    Read More
  • Docker tips

    calendar Sep 27, 2019 · 2 min read
     devops en knowledgebase  · docker
     ·
    Share on: twitter facebook linkedin copy
    Docker tips

    Use docker in docker to drive docker from a container Working under windows, sometimes docker slow down. Sometimes you need to access to the MobyVM. With this line:

    docker run --rm  -ti -v "/var/run/docker.sock:/var/run/docker.sock" -v /:/host   docker  sh

    you run a container which will removed upon exit. This container can access to docker daemon (via the docker in docker image) and has also access to MobyVM under the /host mount point. Keep in mind this container has total access to your windows C: disk too, so be careful! Find the total memory % used by your containers:


    Read More
  • Ring - Cache interface as a programming language integration

    calendar May 28, 2019 · 1 min read
     en knowledgebase python  · python
     ·
    Share on: twitter facebook linkedin copy
    Ring - Cache interface as a programming language integration
    Ring - Cache interface as a programming language integrationRing provides function-oriented cache interface for various backends.

    Repository:

    https://github.com/youknowone/ring/

     

     

    Source: Ring - Cache interface as a programming language integration — Ring 0.7.2 documentation

  • isync: free IMAP and MailDir mailbox synchronizer

    calendar Feb 8, 2019 · 1 min read
     en knowledgebase
     ·
    Share on: twitter facebook linkedin copy
    isync: free IMAP and MailDir mailbox synchronizer
    isync: free IMAP and MailDir mailbox synchronizerisync is a command line application which synchronizes mailboxes; currently Maildir and IMAP4 mailboxes are supported. New messages, message deletions and flag changes can be propagated both ways. isync is suitable for use in IMAP-disconnected mode.Synchronization is based on unique message identifiers (UIDs), so no identification conflicts can occur (as opposed to some other mail synchronizers).Synchronization state is kept in one local text file per mailbox pair; multiple replicas of a mailbox can be maintained.isync is free software in the sense of the GNU GPL v2.
    Source: isync: free IMAP and MailDir mailbox synchronizer
  • Fail2Ban

    calendar Jan 28, 2019 · 1 min read
     en knowledgebase unix-featured  · linux security
     ·
    Share on: twitter facebook linkedin copy
    Fail2Ban

    On these days I decided to tune a bit more, my new shiny linux server box. I started to set up fail2ban. I think fail2ban is very imporant nowadays because it is a good example of a tool for slowing down attacks without closing your server too much.


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Recent Posts

  • Postgres Take it All
  • La ruota del Destino
  • Darth Android
  • Vps Provider
  • Chat
  • RSS Readers
  • Vibe Coding: easy to say, difficult to survive

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top