Skip to content

Instantly share code, notes, and snippets.

View tmrk's full-sized avatar

Tamas Marki tmrk

  • Welthungerhilfe
  • Malmö, Sweden
  • 02:30 (UTC +02:00)
  • X @tmarki
  • LinkedIn in/tmarki
View GitHub Profile
@tmrk
tmrk / countries.json
Last active June 22, 2022 12:09
An array of all countries with ISO 3166-1 alpha-2, alpha-3 and M49 numeric country codes, as well the numeric codes for sub-regions, regions and intermediate regions as specified by the United Nations Statistics Division at https://unstats.un.org/unsd/methodology/m49/ (Updated: June 2022).
[
{ "name": "Afghanistan", "nameFrench": "Afghanistan", "nameSpanish": "Afganistán", "nameRussian": "Афганистан", "nameChinese": "阿富汗", "nameArabic": "أفغانستان", "m49code": 4, "region": 142, "subRegion": 34, "alpha2": "AF", "alpha3": "AFG", "LDC": true, "LLDC": true, "phoneCode": ["+93"] },
{ "name": "Åland Islands", "nameFrench": "Îles d’Åland", "nameSpanish": "Islas Åland", "nameRussian": "Аландских островов", "nameChinese": "奥兰群岛", "nameArabic": "جزر ألاند", "m49code": 248, "region": 150, "subRegion": 154, "alpha2": "AX", "alpha3": "ALA", "phoneCode": ["+35818"] },
{ "name": "Albania", "nameFrench": "Albanie", "nameSpanish": "Albania", "nameRussian": "Албания", "nameChinese": "阿尔巴尼亚", "nameArabic": "ألبانيا", "m49code": 8, "region": 150, "subRegion": 39, "alpha2": "AL", "alpha3": "ALB", "phoneCode": ["+355"] },
{ "name": "Algeria", "nameFrench": "Algérie", "nameSpanish": "Argelia", "nameRussian": "Алжир", "nameChinese": "阿尔及利亚", "nameArabic": "الجزائر", "m49code": 12, "region": 2, "subRegion": 15, "alp
@vre2h
vre2h / simple-deploy.md
Last active March 4, 2024 15:06
Simple guide for deploying your react app to Github-Pages.
  1. Your package.json file should consist a field homepage:
  "homepage": "https://<github-username>.github.io/<project-repo>"

2.1. Install gh-pages via npm:

 npm i --save-dev gh-pages
@itsmattsoria
itsmattsoria / gistfil1.textile
Last active April 22, 2024 12:37
Mac Terminal Cheat Sheet

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor