• How I got all the personal emails of investors from the First Round Angel Directory

    My intention for this post is simple: for those of you that use no-code tools like Bubble.io to build your site, make sure you’re not unintentionally exposing your site’s user emails to the client. That was seemingly the case for First Round Capital’s Angel directory, a site where angel investors can signup and showcase their profile to founders looking for an angel investment. But when I reached out to First Round Capital with my discovery, they informed me that what I found was in fact intentional, although, I find it odd that if they did intend on sharing their angel investors’ emails, they would do so explicitly on the user’s profile rather than make you go digging for them. In any event, here is how I was able to write a script to get all of the personal emails of investors from the First Round Angel directory.

    ...read more
  • Snippet: Create an excel spreadsheet using Python

    I find myself using Python for most of my programming tasks lately, and while I still predominately use Javascript as a web developer, I’ve been taking up any opportunity to use Python. Recently, I wrote a script where I fetched some useful data from an investor directory website, massaged the data, and finally output a nicely organized excel spreadsheet.

    ...read more
  • Snippet: OpenAI content filter in Ruby

    If you’re developing with OpenAI and using Ruby as your language, you’ll eventually need to implement a content filter before going into production. I’ve covered how to implement the content filter in Javascript in a previous post, so I wanted to do the same for Ruby. This code snippet will return a label value of either "0", "1", or "2" representing safe, sensitive, or unsafe content, respectively.

    ...read more
  • Openai-quickstart-ruby

    I decided I would create a variant of OpenAI’s quickstart tutorial written in Ruby. This is an example pet name generator app that returns creative names for a given animal using OpenAI’s text completion endpoint. It uses the Sinatra web framework. If you haven’t already, go to the OpenAI website and signup to create an account. Follow the instructions below to get set up or go right to the repo.

    ...read more
  • Snippet: OpenAI content filter in Javascript

    This code snippet will return a label value of either "0", "1", or "2" representing safe, sensitive, or unsafe content, respectively.

    ...read more