Skip to content

Instantly share code, notes, and snippets.

View carlosascari's full-sized avatar
:octocat:
Mediatek Hacker

Ascari carlosascari

:octocat:
Mediatek Hacker
  • Home
View GitHub Profile
@fnky
fnky / ANSI.md
Last active March 29, 2024 00:57
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
#!/bin/bash
#
# This script gets a database (in this case production db)
# and it will modify the sensitive content:
#
# 1. READ SQL file.
# 2. READ SQL User
# 3. READ SQL PASSWORD
# 4. DROP TABLE IF EXISTS
# 5. CREATE TABLE