Skip to content

Instantly share code, notes, and snippets.

View marcosdalte's full-sized avatar

Marcos Dalte marcosdalte

View GitHub Profile
@caruccio
caruccio / termseq.py
Created January 18, 2024 01:03
Simple Python terminal sequence
class TermSequence:
'''Reference: https://stackoverflow.com/a/33206814/1006369
'''
sequence = []
# standard 4-bit color codes
black = 30
red = 31
green = 32
yellow = 33
@luiscoms
luiscoms / merge-cvs.sh
Created May 28, 2014 20:14
Script to merge an CVS project
#!/bin/sh
usage() {
mesy "Usage: "`basename $0`" -p <project> -b <branch> -t <tag>
"
}
# green
mesg() {
[ -t 1 ] && echo "\033[1;32m#####" $* "#####\033[0m" || echo -n "#####" $* "#####"
@leocomelli
leocomelli / git.md
Last active May 16, 2025 19:23
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda