Skip to content

Instantly share code, notes, and snippets.

View joaoiacillo's full-sized avatar
:shipit:
Vibing

João Iacillo joaoiacillo

:shipit:
Vibing
View GitHub Profile
@joaoiacillo
joaoiacillo / upd.sh
Created April 28, 2025 04:48
/opt/ software update script
#!/usr/bin/env bash
# /opt/ software update script
# Author: João Iacillo <joao@iacillo.dev.br>
# Required folders:
# - /opt/ - Software packages location
# - /opt/bin/ - Binary links to each software
# - /opt/bin/updates/ - update.* files that this scripts sources
# [update.* file example]
# URL="APP_LATEST_TAR_GZ_URL"
@joaoiacillo
joaoiacillo / AccurateTimer.js
Created December 26, 2023 03:00
JavaScript Accurate Timer
// AccurateTimer.js - By João Iacillo (Just because)
function Action(run, can) {
this.run = run;
this.can = can || (() => true);
}
function EveryAction(timeUnit, callback) {
let last;
@joaoiacillo
joaoiacillo / hangman-game.py
Created August 13, 2021 17:53
This is just a simple Hangman game made with Python and 1 hour.
from os import system as sys_exec
from platform import system as sys_name
from random import choice
words = ['banana', 'figura', 'ação', 'aventura', 'estojo',
'mesa', 'diversão', 'computador', 'controle', 'linha', 'teclado',
'animado', 'fome', 'livro', 'entretenimento', 'caderno',
'calculadora', 'caneta', 'fone', 'metade', 'circo', 'trabalho',
'porta', 'cachorro', 'gato', 'boi', 'corno', 'digital', 'sistema',