Apps
My current apps and scripts for iOS and Mac. I welcome feedback on Twitter at @vandancd.
LearTheFlags for the iPhone
I set out to learn SwiftUI
and also teach my son flags and capitals of the countries of the world. More about my journey into building this app on my blog.
Special thanks to Yohan Desai, Vijay Marolia and Karthik K for the motivaiton to build this app.
Learn the Flags is a simple app that helps you associate a country with its flag and learn some basic demographics about it like Capital, Continent it belongs to or how many neighbors it has and some more.
cURLTester
A simple cURL config file
that allows you to get response headers and timing metrics in some well formatted and readable manner.
Download the file from GitHub.
Download the curl.cfg file to your local machine. Then run curl -K curl.cfg <host.domain.com>
Example:
curl -K curl.cfg https://www.vandan.co
HTTP/2 200
server: openresty
content-type: text/html; charset=utf-8
status: 200 OK
x-request-id: 29c628b4-4b49-426d-a1be-4928d2468191
etag: W/"963d-Kw0n9/hWhq1uSIZKK4nlCgKFmM0"
ghost-cache: HIT
cache-control: public, max-age=0
ghost-age: 186
x-request-id: 42e64747-87e8-4fda-b248-b27075cd5ede
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
date: Tue, 18 Apr 2023 01:05:46 GMT
age: 0
x-served-by: cache-ams12769-AMS, cache-ewr18165-EWR
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1681779947.600091,VS0,VE93
vary: Cookie, Accept-Encoding
ghost-fastly: true
alt-svc: clear
content-length: 38461
dnslookup: 0.053115
tcp connect: 0.257915
ssl handshake: 0.561821
pretransfer: 0.304136
redirect: 0.000000
TTFB: 0.414609
total time: 0.414936