Skip to content

Instantly share code, notes, and snippets.

@vdoan
vdoan / GoogleFonts.txt
Created September 15, 2023 02:43 — forked from karimnaaji/GoogleFonts.txt
Google fonts list (TTF)
{
"kind": "webfonts#webfontList",
"items": [
{
"kind": "webfonts#webfont",
"family": "ABeeZee",
"category": "sans-serif",
"variants": [
"regular",
"italic"
@vdoan
vdoan / gist:eecbb78327f43c42b0635c797d2dde2d
Created February 4, 2022 18:35 — forked from thanos/gist:7c64b3a16847535ac528
iso 4217 currency codes in a javascript object or python style dcttionary
iso_4217_currencies = {
"AED": "United Arab Emirates dirham United Arab Emirates",
"AFN": "Afghan afghani",
"ALL": "Albanian lek ",
"AMD": "Armenian dram",
"ANG": "Netherlands Antillean guilder",
"AOA": "Angolan kwanza",
"ARS": "Argentine peso",
"AUD": "Australian dollar",
"AWG": "Aruban florin",
@vdoan
vdoan / neo4j-social-network.adoc
Created May 5, 2020 14:49 — forked from jexp/neo4j-social-network.adoc
Neo4j Example Social Network

Social Network

A simple social network of people knowing each other.

@vdoan
vdoan / botos3upload.py
Created December 31, 2017 09:15 — forked from SavvyGuard/botos3upload.py
Use boto to upload directory into s3
import boto
import boto.s3
import os.path
import sys
# Fill these in - you get them when you sign up for S3
AWS_ACCESS_KEY_ID = ''
AWS_ACCESS_KEY_SECRET = ''
# Fill in info on data to upload
@vdoan
vdoan / UploadDirS3.py
Created December 31, 2017 09:15 — forked from feelinc/UploadDirS3.py
Upload folder contents to AWS S3
#!/usr/bin/python
import os
import sys
import boto3
# get an access token, local (from) directory, and S3 (to) directory
# from the command-line
local_directory, bucket, destination = sys.argv[1:4]
@vdoan
vdoan / UploadDirS3.py
Created December 31, 2017 09:15 — forked from feelinc/UploadDirS3.py
Upload folder contents to AWS S3
#!/usr/bin/python
import os
import sys
import boto3
# get an access token, local (from) directory, and S3 (to) directory
# from the command-line
local_directory, bucket, destination = sys.argv[1:4]