Skip to content

Instantly share code, notes, and snippets.

View trymzet's full-sized avatar
🚀

Michał Zawadzki trymzet

🚀
View GitHub Profile
@trymzet
trymzet / settings.json
Created January 21, 2022 17:40
Example Windows Terminal settings
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},
@trymzet
trymzet / add_ssh_key.sh
Created May 2, 2021 18:15
A simple script for generating and uploading an SSH key to a server
# example usage: add_ssh_key -f dev -s domain.com
# stop on error
set -e
# defaults
filename=id_rsa
user=$USERNAME
# read args
@trymzet
trymzet / Country_region_mapping.csv
Created July 31, 2018 11:00
Country -> region mapping (EMEA, AP, NA, SA)
Country Country_code Region
Afghanistan AF EMEA
Åland Islands AX EMEA
Albania AL EMEA
Algeria DZ EMEA
American Samoa AS AP
Andorra AD EMEA
Angola AO EMEA
Anguilla AI NA
Antarctica AQ AP
@trymzet
trymzet / local_country_names.csv
Last active July 13, 2018 13:19
A list of local (endemic) country names along with their ISO 3166-1 representation. Endonyms taken from http://self.gutenberg.org/articles/list_of_official_endonyms_of_present-day_nations_and_states#cite_note-disputed-1
Country (exonym) ISO 3166-1 Country (endonym)
Abkhazia not recognized Abkhaziya
Abkhazia not recognized Apsny
Abkhazia not recognized Абхазия
Abkhazia not recognized Аҧсны
Afghanistan Afghanistan Afghanestan
Afghanistan Afghanistan افغانستان
Albania Albania Shqipëria
Algeria Algeria Al-Jazā'ir
Algeria Algeria Dzayer