Skip to content

Instantly share code, notes, and snippets.

@Seggan
Seggan / rol.rol
Created October 6, 2022 19:15
Rol Showoff
// Rol: a language transpiled to Lua for all you Lua syntax haters
// Overall the language is quite C-like
print("Hello, World!")
// Semicolons are not required, but can be used
print("Semi");print("colon")
// Idk about variable syntax, is similar to Kotlin
var a: Int = 1
@fnky
fnky / ANSI.md
Last active September 22, 2024 20:28
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active September 21, 2024 23:07
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName