Skip to content

Instantly share code, notes, and snippets.

View glombardo-se's full-sized avatar
:shipit:
"Software craftsmanships is still a thing…”

Gió glombardo-se

:shipit:
"Software craftsmanships is still a thing…”
  • The Good Company ®
  • The Good Place
View GitHub Profile
@glombardo-se
glombardo-se / guide_intel_ME_fw_update.md
Created July 16, 2025 16:46 — forked from AzimsTech/guide_intel_ME_fw_update.md
[GUIDE] Intel management Egine Firmware Update

Tools

  • Latest BIOS file
  • ME Analyzer
  • (CS)ME System Tools
  • (CS)ME Firmware

1. Download the Latest BIOS File from the Manufacturer

first thing to do

2. ME Analyzer - Check Current ME Version

@glombardo-se
glombardo-se / convert.md
Created March 28, 2025 18:48 — forked from maximebories/convert.md
FFmpeg command to convert webm to mp4 video files

WebM to MP4 using FFmpeg

This FFmpeg command converts a .webm video file to a standard .mp4 file using the libx264 codec for video, aac codec for audio, and a CRF value of 22. The preset is set to 'slow' for higher quality encoding, and the audio bitrate is set to 128 kbps.

If the input and output filenames don't contain spaces, quotation marks or other special characters:

ffmpeg -i input.webm -c:v libx264 -preset slow -crf 22 -c:a aac -b:a 128k output.mp4
@glombardo-se
glombardo-se / freplace.sh
Last active October 22, 2023 20:27
It looks in the given path and replaces matches of the given regex with the given replacement.
#!/usr/bin/env bash
SCRIPT_VERSION="1.0"
usage() {
echo "Uso: $0 [OPTIONS] [where-to-look] [what-to-look] [replacement]"
echo
echo "It looks in the given path and replaces matches of the given regex with the given replacement."
echo
echo "Options:"
@glombardo-se
glombardo-se / alt.qml
Created March 9, 2023 16:46 — forked from mottosso/alt.qml
Animated text in QML
import QtQuick 2.0
/*!
An alternative implementation,
this one causes a binding loop for some reason.
*/
Rectangle {
width: 500
height: 300
@glombardo-se
glombardo-se / validator.py
Created October 31, 2022 12:49 — forked from matrixise/validator.py
Explain the validators of SQLAlchemy.
#!/usr/bin/env python
import datetime
from sqlalchemy import create_engine
from sqlalchemy import Column, Integer, String, DateTime
from sqlalchemy.schema import CheckConstraint
from sqlalchemy.orm import validates
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.exc import IntegrityError
@glombardo-se
glombardo-se / install-gcc-9.sh
Created September 26, 2022 07:45 — forked from alexandreelise/README.md
Install gcc 9 on Ubuntu LTS 12.04,14.04,16.04 and 18.04
#!/usr/bin/env sh
sudo apt-get update -y && \
sudo apt-get upgrade -y && \
sudo apt-get dist-upgrade -y && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update -y && \
sudo apt-get install gcc-9 g++-9 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 && \