Skip to content

Instantly share code, notes, and snippets.

View ltpitt's full-sized avatar
🥋
A black belt is a white belt that never quit.

Davide Nastri ltpitt

🥋
A black belt is a white belt that never quit.
View GitHub Profile
@ltpitt
ltpitt / workflow.md
Created November 18, 2021 10:41 — forked from stuartsaunders/workflow.md
Versioning and Git Workflow

Semantic Versioning

Details:

Versions are denoted using a standard triplet of integers: MAJOR.MINOR.PATCH. The basic intent is that MAJOR versions are incompatible, large-scale upgrades of the API. MINOR versions retain source and binary compatibility with older minor versions, and changes in the PATCH level are perfectly compatible, forwards and backwards.

@ltpitt
ltpitt / ManageDeviceInputFromPowershell.ps1
Last active July 30, 2021 10:45 — forked from neo7BF/ManageDeviceInputFromPowershell.ps1
Devices input management from powershell
####################
# KEYBOARD VERSION #
####################
$shell = New-Object -ComObject WScript.Shell
while(1) {
$shell.sendkeys("{NUMLOCK}{NUMLOCK}")
$time = Get-Date;
@ltpitt
ltpitt / tmux-cheatsheet.markdown
Last active April 12, 2019 11:32 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

Tmux is awesome

Tmux is a terminal multiplexer and if you never used it you really have to try it.
It changed my life, to be honest.

What is a multiplexer, btw?

Long story short: it allows you to have multiple terminal sessions at the same time and to keep your session alive and working also if you disconnect from a *nix server.

You want more detail about multiplexing?

Thank you, WikiPedia:

@ltpitt
ltpitt / docker-destroy-all.sh
Created December 20, 2017 15:55 — forked from JeffBelback/docker-destroy-all.sh
Destroy all Docker Containers and Images
#!/bin/bash
# Stop all containers
docker stop $(docker ps -a -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)