Create a random string in JavaScript

Posted by & filed under Code Tips.

Found this one on Stack Overflow needing a quick and easy way to create somewhat random strings. If you visit the entire thread where this code was posted there’s a pretty good discussion of how to create random strings using math and date functions.

Automatically post to Pinterest

Posted by & filed under Code Tips.

This came about from needing a way to automatically post to a Pinterest board. Unlike most social sites, Pinterest doesn’t have a public API to handle auto posting so it took a bit of finagling and a Node.js package called Pin-It Node which does most of the heavy lifting. Once the script is in place,… Read more »

How to post to Pinterest with node.js

Posted by & filed under Computers & Internet.

For another site I needed a way to automatically post to a Pinterest board. It’s a WordPress site, but I didn’t want the posting to be based on when a post went live. I needed a way to automatically post whatever the newest post was that hasn’t already been posted. I’ve already done something similar… Read more »