Eyeroll

Blog

Does your site have a contact page? I'm having a tough
time locating it but, I'd like to shoot you an e-mail.
I've got some creative ideas for your blog you might be
interested in hearing. Either way, great blog and I look
forward to seeing it improve over time

Tough time... locating it...

Uh huh.

Related, "I've got" is redundant and a waste of words, letters, and electrons. "I have" is shorter and clearer.

Send File Contents with Curl

Snippet

Testing out new API endpoints, and want to use curl to do it, use the --data-binary and @filename syntax.

This sends the file IN the body.

# use the --data-binary to leave newlines intact, saw with images
curl --data-binary "@/path/to/filename" https://api.example.com/posts
 
# If you really need newlines stripped (eh?), use --data
curl --data "@/path/to/file" https://api.example.com/posts

Dessert

Daily Photo

Grand Central Station

Daily Photo

Looking up, instead of my usual looking down.

Things I Wish I Liked

Blog

1. Coffee

Don't like it except as a flavoring in tiramisu, which is to say with lots of sugar and creme and cake.

2. Playing solo video games

Oh, the playing part can be flow-inducing, but I can't relax enough into them to enjoy the experience. I keep thinking, "I should be doing something productive."

Board games and group activities are awesome. I like those.

3. My Apple Watch

It is slightly too thick, and frustratingly inaccurate in so many things. When I'm standing for 2 hours at my desk, doesn't count the standing hours, I need to move. When I accidentally leave my phone in bike-workout mode and go play catch for half an hour, none of the 2000 steps I took in that half hour count as steps, so my step count is inaccurate. My heart rate is 140 when I'm sitting still and 68 when I'm running. Despite 51 minutes of exercise and 240% of caloric goal achieved and 14 hours standing, my 400 day all-rings-closed streak was broken because the watch said no, no reason given. I haven't missed a 15 workout day in two years, but haven't had a month workout achievement since last November. The watch is just wrong enough, just a computer enough, I don't like it.

4. Shopping for clothes

Not a fan. What I like to wear is comfortable and way not fashionable. Instead of being excited, I'm all awkward and uncomfortable.

Add a Video to iOS Simulator Library

Blog

To add a video to the iOS Simulator library, drag and drop a video file onto the simulator window.

It'll automatically add to the Photos library as a video.

This is the dumbest thing ever, because, you know, loading the video in the Safari browser SHOULD give you a save option, but no, because dumbest thing ever.

Pages