Skip to content

Instantly share code, notes, and snippets.

View IVainqueur's full-sized avatar
😮‍💨
getting too much sleep

ISHIMWE Vainqueur IVainqueur

😮‍💨
getting too much sleep
View GitHub Profile
@IVainqueur
IVainqueur / python3ispython.sh
Created October 3, 2022 16:53
Python3 is Python, most of the times!
#!/bin/bash
# Apparently /bin/sh and /bin/bash are a little bit different
# In this instance, /bin/sh can't output colored text ( using ANSI code ) but /bin/bash can
params=$@
echo -e "\u001b[33m\u001b[1mRedirecting to python3...\u001b[0m" && sleep 2
eval "python3 $params"
@IVainqueur
IVainqueur / ANSI-Test.sh
Created October 3, 2022 16:42 — forked from mxmerz/ANSI-Test.sh
Shell script to test support of ANSI color and style codes
# ANSI Start Codes
# Styles.
Normal="\x1b[0m"
Bold="\x1b[1m"
Faint="\x1b[2m"
Italic="\x1b[3m"
Underline="\x1b[4m"
Blink_Slow="\x1b[5m"
Blink_Rapid="\x1b[6m"