Image for post
Image for post

So you want to learn to code but don’t know where to start and are possibly feeling overwhelmed by all the options available. You’ve probably read and heard about hundreds of different websites, courses, books, and other resources. Maybe you’ve spent hours looking at reviews but you still don’t know which programming language to learn or which learning resource to choose.

I know how it feels because I’ve been there before and gone through the struggle of learning how to code on my own and made a lot of mistakes that slowed me down on the way. This is basically the guide I wish I’d had when I was starting out.


Learn Selenium by making a Reddit bot

Image for post
Image for post

In this tutorial you’ll be making a simple Reddit bot using Python and Selenium Webdriver. While this tutorial uses Python specifically, the code can be easily modified to work with other programming languages like Javascript because of Selenium’s consistent API and client libraries for numerous languages like Javascript, C#, PHP, and more.

Video Version of Tutorial

Summary

  • What is Selenium and Why learn it?
  • Setup
  • Basics of Selenium
  • Make a Reddit Bot with Selenium
  • Most commonly used Selenium features
  • Advanced Selenium Concepts

When this tutorial is done you’ll have a basic Reddit Bot that is logged in, you can then use what you’ve learned to add features like scraping content, upvoting/downvoting, or creating a post

What is Selenium

Selenium is a tool designed for automating web browsers programmatically. Selenium’s primary use is for automated software testing but it is also commonly used for scraping content where rendering Javascript is necessary and any other activity requiring automation in the browser such as bots. …


In this tutorial you learn how to quickly and easily update your website or application favicon dynamically using Javascript and ReactJS.

Image for post
Image for post

If you’ve ever used some sort of messaging app in your browser, you’ve probably noticed how the browser tab icon(favicon) will suddenly change when you get a message to notify you even if you are in another tab. This kind of effect is helpful to users and also can boost engagement rates for your application, a win-win. The best part is that adding a cool effect like this only takes a few lines of code!

Video Tutorial and Example

If you prefer a video tutorial to reading, you can watch this, otherwise the written tutorial continues below.

Getting Started

The only thing you’ll need for this tutorial…


Get your bot up and running in under 5 minutes

Making a Discord bot can be pretty confusing and intimidating, but don’t worry! This step-by-step guide will have your own bot running in just a few minutes using Javascript and the DiscordJS library to make it easy.

Video Tutorial

What you’ll be making

First, you’ll connect your bot and have it notify you that it’s online, then you’ll gradually add the following functionality:

  • A message reply bot to react to user messages on a given command
  • A message clearing bot that takes a given number and deletes that many messages from the server
  • A moderation bot for automatically kicking or banning users, with role-based restrictions for who can use…

Renaissance Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store