Skip to content

Instantly share code, notes, and snippets.

View blooalien's full-sized avatar
🎯
Focusing

Bloo Alien blooalien

🎯
Focusing
View GitHub Profile
@blooalien
blooalien / AndYetItMovesSteam.sh
Created May 9, 2018 20:59 — forked from janhaag/AndYetItMovesSteam.sh
Fixed AYIM startup script for linux steam
#!/bin/bash
### And Yet It Moves' Simple Startscript
### Run, jump and turn the world upside-down with And Yet It Moves!
### Enjoy!
### webs
rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
libdir="lib"
bin=lib/AndYetItMoves
#!/usr/bin/python3
'''A script that reads episode filenames from standard input, one per line,
and prints out the corresponding filenames in a standard format on standard
output, one per line. The tvnamer Python library is used to generate the
new filenames, and TheTVDB is used to access episode titles. So this does
basically the same thing as tvnamer, except that instead of actually
renaming files, it just transforms filenames.'''
import os.path, sys, json
@blooalien
blooalien / ANSI.md
Created March 17, 2022 16:44 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

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

Create a new project

poetry new <project-name>

Add a new lib

potry add <library>

Remove a lib

@blooalien
blooalien / bash-colors.md
Created April 14, 2022 21:30 — forked from Prakasaka/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@blooalien
blooalien / Private-pypi-howto
Created April 21, 2022 08:33 — forked from Jaza/Private-pypi-howto
Guide for how to create a (minimal) private PyPI repo, just using Apache with directory autoindex, and pip with an extra index URL.
*
@blooalien
blooalien / docker_wordpress.md
Created May 13, 2022 10:02 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@blooalien
blooalien / command.txt
Created February 28, 2023 06:17 — forked from nrk/command.txt
Using ffprobe to get info from a file in a nice JSON format
ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json"