Skip to content

Instantly share code, notes, and snippets.

@rictorres
rictorres / vps-test-dd.md
Last active March 2, 2020 05:04
VPS performance tests

Using dd

RunAbove Sandbox [ra]

  • 1 core / 2 GB RAM / 20 GB SSD

EC2 Micro [ec]

  • 1 core / 1 GB RAM / 8 GB

Digital Ocean [do]

  • 1 core / 512 MB RAM / 20 GB SSD
@brossetti1
brossetti1 / useful-regex.md
Last active March 16, 2022 15:33
useful regex expressions

https://www.labnol.org/internet/regular-expressions-forms/28380/

Postal Address

[a-zA-Z\d\s\-\,\#\.\+]+

allow only alphanumeric characters, spaces and few other characters like comma, period and hash symbol in the form input field.

ZIP Code

^\d{5,6}(?:[-\s]\d{4})?$

the regex allows ZIP codes in standard formats and it matches both US and Indian pincodes.