Skip to content

Instantly share code, notes, and snippets.

View kenielf's full-sized avatar
🦀
Learning Rust!

Chrystian kenielf

🦀
Learning Rust!
  • Brazil
View GitHub Profile
@bikz05
bikz05 / remove_txt
Created December 6, 2014 00:13
Shell script to remove text from PDF using pdftk
echo $"Script Written by $(tput setaf 5)Bikram Hanzra$(tput sgr 0) (bikz.05@gmail.com)"$
if [ "$#" == 0 ] ; then
echo "$(tput setaf 1)We need at least 2 arguments"
echo "SYNTAX ./remove <file-name> <text-to-be-removed>"
echo "<text-to-be-removed> by default = www.it-ebooks.info$(tput sgr 0)"
exit
fi
if [ "$#" == 1 ] ; then
@fnky
fnky / ANSI.md
Last active July 17, 2024 18:30
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27