Skip to content

Instantly share code, notes, and snippets.

@JCTucker
JCTucker / Commerce API Workshop.postman_collection.json
Created March 25, 2022 15:56
Commerce API Workshop SLAS Update
{
"info": {
"_postman_id": "b13f6ac5-0d69-428f-9dc8-8917bf13ffa1",
"name": "Commerce API Workshop",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "1a. SLAS Guest Auth",
"event": [
@thedillonb
thedillonb / extract.rb
Created February 1, 2014 17:07
Extracts glyphs from a TTF format into multiple PNG files using ImageMagick. Boo
# Usage: ruby extract.rb <TTF> <size: WxH> <output dir>
require 'ttfunk'
file = TTFunk::File.open(ARGV[0])
size = ARGV[1]
output_dir = ARGV[2]
`mkdir #{output_dir}`
cmap = file.cmap
chars = {}
@konrad
konrad / csv2xlsx.py
Last active April 1, 2022 16:46
Converts a CSV (tab delimited) file to an Excel xlsx file
#!/usr/bin/env python
"""
FUNCTION: Converts a CSV (tab delimited) file to an Excel xlsx file.
Copyright (c) 2016, Konrad Foerstner <konrad@foerstner.org>
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all
copies.