All tags
Recent posts
Introduction These are a few git commands that I refer to from time to time when I need a reminder. This is by no means a comprehensive guide on how to use git. Contents Introduction Add co-authors to a commit Branching with Git Checkout a remote branch Create a branch from another branch Change the last commit Set the author Set the date Fetch a pull request Squash commits already pushed to GitHub Keep a fork up to date Further reading Add co-authors to a commit This will allow you to give credit to more than one author for a commit. Read more...

Introduction This is intended for users who already have a basic understanding of PRAW and want to switch from hard coding the username and password into their code to using a refresh token. This was written using PRAW version 6.1.1 and Python 3.7.1. To let you in on a secret, I initially wrote for myself so I don’t forget how I did it. Create an app Create an application through preferences with a title and description, the about URL can be left blank. Read more...

Police car chasing a red car while dodging obstacles
This is a web game contains four unique levels, all increasing in difficulty. The main aim of the game is to shoot down the enemy vehicles before they escape you shoot you down first. After the end of each level, the user’s progress is saved so the game can be continued at another time. Crime Hunter started out as a class group project where I was a developer and graphic designer. Read more...

Screen capture downloading the top 5 new posts from r/DIY using GrabIt.
This is a Python program to traverse and download posts from subreddits and users on an incremental basis. It also records which posts have been saved so as to only download new submissions. The program uses multiple methods of extracting data from links posted to Reddit. The Reddit API is used to get submissions from Reddit, the links are then parsed and forwarded to the appropriate extractor. With the API restrictions, if you wish to download more than 1000 submissions, the Pushshift API is used for the remainder of the submissions. Read more...

This page contains an archive of all posts.

Previous Page