api.post('/', upload.single('file'), async (request: MulterRequest, response) => {
------------------------------------------
postal code
-----------------------------------------------------------
https://en.wikipedia.org/wiki/Postal_codes_in_Denmark
{
"code":
"[usd, aed, afn, all, amd, ang, aoa, ars, aud, awg, azn, bam, bbd, bdt, bgn, bhd, bif, bmd, and, bob, brl, bsd, bwp, bzd, cad, cdf, chf, clp, cny, cop, crc, cve, czk, djf, dkk, dop, dzd, egp, etb, eur, fjd, fkp, gbp, gel, gip, gmd, gnf, gtq, gyd, hkd, hnl, hrk, htg, huf, idr, ils, inr, isk, jmd, jod, jpy, kes, kgs, khr, kmf, krw, kwd, kyd, kzt, lak, lbp, lkr, lrd, lsl, mad, mdl, mga, mkd, mmk, mnt, mop, mro, mur, mvr, mwk, mxn, myr, mzn, nad, ngn, nio, nok, npr, nzd, omr, pab, pen, pgk, php, pkr, pln, pyg, qar, ron, rsd, rub, rwf, sar, sbd, scr, sek, sgd, shp, sll, sos, srd, std, szl, thb, tjs, tnd, top, try, ttd, twd, tzs, uah, ugx, uyu, uzs, vnd, vuv, wst, xaf, xcd, xof, xpf, yer, zar, zmw, eek, lvl, svc, vef, ltl
]"
}
- Name
Lundsgade 15
1682 Copenhagen
Denmark
Ministry of Foreign Affairs of Denmark
Asiatisk Plads 2
DK-1448 Copenhagen K
or in Danish
Udenrigsministeriet
Asiatisk Plads 2
1448 København K - not necessarily with the DK - Be aware that the DK or Denmark must be used when mailed from abroad.
The postal codes follow a geographic pattern and most Danes can tell which region an address belongs to based on the postal code alone.
(9000) is postal code
-----------------------------tools for editor and debugger----------------------------------
https://repl.it/languages/javascript
----------------------------------------
tools for Image and GIF
---------------------------
image pixel setter - https://www.countingcharacters.com/image-resizer-online
live gif recorders ref = https://itsfoss.com/best-gif-recorder-linux/
1. Peek - ref = http://ubuntuhandbook.org/index.php/2017/06/animated-gif-recorder-peek-1-0-3-released-ubuntu-ppa/
$ sudo add-apt-repository ppa:peek-developers/stable
$ sudo apt update
$ sudo apt install peek
----------------------------
random addresses
----------------------------------------
https://www.bestrandoms.com/random-address
Replace special characters
const specialCharObj: any = { 'ø': 'oe', 'Ø': 'OE', 'Æ': 'AE'}
let newString = str;
for (const x in specialCharObj) {
newString = newString.replace(new RegExp(x, 'g'), specialCharObj[x]);
}
return newString;
0 Comments