Skip to content

Instantly share code, notes, and snippets.

View williamluisan's full-sized avatar

William Luisan williamluisan

View GitHub Profile
@williamluisan
williamluisan / countries2.json
Last active February 26, 2023 02:39
List of countries with is emoji flag. Copied from: https://github.com/risan/country-flag-emoji-json
[
{
"name": "Ascension Island",
"code": "AC",
"emoji": "🇦🇨",
"unicode": "U+1F1E6 U+1F1E8",
"image": "https://cdn.jsdelivr.net/npm/country-flag-emoji-json@2.0.0/dist/images/AC.svg"
},
{
"name": "Andorra",
[
{"cc":"AED","symbol":"\u062f.\u0625;","name":"UAE dirham"},
{"cc":"AFN","symbol":"Afs","name":"Afghan afghani"},
{"cc":"ALL","symbol":"L","name":"Albanian lek"},
{"cc":"AMD","symbol":"AMD","name":"Armenian dram"},
{"cc":"ANG","symbol":"NA\u0192","name":"Netherlands Antillean gulden"},
{"cc":"AOA","symbol":"Kz","name":"Angolan kwanza"},
{"cc":"ARS","symbol":"$","name":"Argentine peso"},
{"cc":"AUD","symbol":"$","name":"Australian dollar"},
{"cc":"AWG","symbol":"\u0192","name":"Aruban florin"},
[
{
"value": "Dateline Standard Time",
"abbr": "DST",
"offset": -12,
"isdst": false,
"text": "(UTC-12:00) International Date Line West",
"utc": [
"Etc/GMT+12"
]
# to update your .gitmodules configuration after did some changes
git submodule sync
# to pull recursively with submodule
git submodule update --init --recursive
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
{
"ab":{
"name":"Abkhaz",
"nativeName":"аҧсуа"
},
"aa":{
"name":"Afar",
"nativeName":"Afaraf"
},
"af":{
[
{"name": "Afghanistan", "code": "AF"},
{"name": "Åland Islands", "code": "AX"},
{"name": "Albania", "code": "AL"},
{"name": "Algeria", "code": "DZ"},
{"name": "American Samoa", "code": "AS"},
{"name": "AndorrA", "code": "AD"},
{"name": "Angola", "code": "AO"},
{"name": "Anguilla", "code": "AI"},
{"name": "Antarctica", "code": "AQ"},
@williamluisan
williamluisan / git_assume_not_changed.txt
Last active September 16, 2022 06:22
Tells git to assume that file not changed
git update-index --assume-unchanged [path]
Details:
https://luisdalmolin.dev/blog/ignoring-files-in-git-without-gitignore/
http://source.kohlerville.com/2009/02/untrack-files-in-git/
@williamluisan
williamluisan / docker_container_connect_dir.txt
Last active August 1, 2021 06:41
Docker container connect directory
docker container create --name {name} -p 8080:80 -v /my/own/code/dir:/var/www/site {image}
@williamluisan
williamluisan / gist:c9b46ab28017f3d1300a4981ecdd94bf
Created July 12, 2021 08:22
(unix) Search file inside folder
find . -name "foo*"