Skip to content

Instantly share code, notes, and snippets.

View btrsco's full-sized avatar
🏠
Working from home

Miguel Batres btrsco

🏠
Working from home
View GitHub Profile
@btrsco
btrsco / Playstation Vita Theme Guide.md
Last active September 14, 2021 06:08
Simple, easy to understand explanations of the XML them file variables and available options.

Playstation Vita Theme Guide

I haven't been able to find any documentation for the Playstation Vita Theme variables and details like their expected values. I'm also listing all information about the file requirements for the theme files. I will try my best to explain what specific variables are used for, their value types and options, and the file requirements for those PNGs.

XML Variables

Variable Types

Simple breakdown of the types I'll be using below:

  • color: 8 character hexcodes, string

Keybase proof

I hereby claim:

  • I am btrsco on github.
  • I am btrsco (https://keybase.io/btrsco) on keybase.
  • I have a public key ASB2Kq1OlQtD0eSOsjsDuNIoXijKzqtLjVg5b5M3DKMNugo

To claim this, I am signing this object:

@btrsco
btrsco / OutputStyling.php
Last active November 20, 2019 03:57
Output Styling Helper Functions for Symfony
<?php
/**
* Output Styling Functions
* - - -
* This set of functions is for use alongside Symfony,
* Laravel Artisan or Laravel Zero.
* - - -
* @author: Miguel Batres
*/
@btrsco
btrsco / Reserved Usernames.md
Last active June 25, 2024 21:34
Reserved / Banned Usernames

Reserved / Banned Usernames

This is a list of reserved / banned usernames to be used as a template for username validation when creating services that allow users to register usernames or subdomains.

Some of these are specific keywords for my personal projects, the others are generic blacklisted and reserved names that I use for all other services with login and usernames. Various websites and services forbid the use of generic names, short names or also create lists of celebrities and companies so they're reserved for future use.

The list assumes you're using alpha_dash for validation, meaning that I only allow letters, numbers and dashes. No periods at all, nor any other special characters.

Lists:

  • reserved-usernames.json - specific usernames that are reserved