Skip to content

Instantly share code, notes, and snippets.

@papidb
papidb / country-code-to-currency-code-mapping.csv
Created January 27, 2023 05:07 — forked from HarishChaudhari/country-code-to-currency-code-mapping.csv
Country, Country Code, Currency code mapping in CSV format Taken from https://gist.github.com/304261 Contains 249 countries.
Country CountryCode Currency Code
New Zealand NZ New Zealand Dollars NZD
Cook Islands CK New Zealand Dollars NZD
Niue NU New Zealand Dollars NZD
Pitcairn PN New Zealand Dollars NZD
Tokelau TK New Zealand Dollars NZD
Australian AU Australian Dollars AUD
Christmas Island CX Australian Dollars AUD
Cocos (Keeling) Islands CC Australian Dollars AUD
Heard and Mc Donald Islands HM Australian Dollars AUD
@papidb
papidb / 1: App.js
Created January 5, 2022 16:36 — forked from helenaford/1: App.js
useNotificationService
import { useNotificationService } from './hooks';
function App() {
useNotificationService();
...
}
@papidb
papidb / aliases.sh
Last active May 28, 2020 18:46
Helpful shell aliases
# aliases are basically nicknames
# they are used to represent commands or function with a string
alias babe="yarn"
# usage:
# babe --version
# babe add node-sass
# Print my public IP
alias myip="curl ipinfo.io/ip"
@papidb
papidb / unfollow.js
Last active January 12, 2020 23:16 — forked from cairey/unfollow.js
Unfollow people that do not follow you on Twitter
/*
Unfollow (stop following) those people who are not following you back on Twitter.
This will work for new Twitter web site code structure (it was changed from July 2019, causing other unfollow-scripts to stop working).
Instructions:
1) The code may need to be modified depending on the language of your Twitter web site:
* For English language web site, no modification needed.
* For Spanish language web site, remember to set the variable 'LANGUAGE' to "ES".
* For another language, remember to set the variable 'LANGUAGE' to that language and modify the 'WORDS' object to add the words in that language.