Skip to content

Instantly share code, notes, and snippets.

@fdq09eca
fdq09eca / arcgis-api-for-javascript-display-a-map.markdown
Last active September 30, 2022 12:16
ArcGIS API for JavaScript: Display a map
@fdq09eca
fdq09eca / Common-Currency.json
Created October 2, 2020 22:14 — forked from ksafranski/Common-Currency.json
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@fdq09eca
fdq09eca / currencies.json
Created October 2, 2020 01:28 — forked from simibac/currencies.json
global currencies as list and sql script (157 currencies)
[
{
"code": "EUR",
"name": "Euro",
"name_plural": "euros",
"symbol": "",
"symbol_native": "",
"decimal_digits": 2,
"rounding": 0
},
@fdq09eca
fdq09eca / app.py
Created January 30, 2020 12:48 — forked from mozillazg/app.py
A simple demo for how to use flask-paginate.
from flask import Flask, render_template
from flask_paginate import Pagination, get_page_args
app = Flask(__name__)
app.template_folder = ''
users = list(range(100))
def get_users(offset=0, per_page=10):