For my project, I made a website to manage SSL certificates. In my current job, finding out which expiring certificates are hosted on which load balancers is one of the main problems I have. The repository for this project can be found here.
There have been some questions in the Slack in the past on broken links. This post is going to try to give a succinct explanation of different link types, and how they relate to each other for your Sinatra project and going forward with none magic frameworks such as Rails …
For my Sinatra project, I am making a device manager website. This is for managing consumer routers and set top boxes in our test environment. The website meets the below requirements:
* Be an MVC website.
* Use ActiveRecord with Sinatra.
* Have a devices, groups and users table.
* Devices belong to a …
This is a step by step tutorial on getting started with your CLI gem, and how to do that using test-driven development.
How?
The concept of test driven development is straightforward. You write out tests before you start writing your code. You then write code to get your tests passing …
My CLI gem is called groupreads. It uses the Goodreads API. It gets the users list of groups, all of the currently read books in those groups and compares them against the users to read and read lists. It then outputs a list of books to add to their to-read …
This morning, I've been working on my Gem, and I ran into the problem of understanding the layout that bundle recommends. Previously I was setting up my code so that all of my classes were in separate files (right), but were in not within the overall module (wrong).
The first major challenge that I faced with the coding boot camp was building an unbeatable Tic-Tac-Toe AI. I have managed to create an algorithm to solve this problem, with only one move being hard coded.
The overarching logic of my program is this the move method, found below.
To set the scene, I'm not entirely new to programming. I have been a hobbyist programmer since high school. I first started after going to a holiday camp, learning some basic. I have no memory of the language itself, but I made a game where you had to navigate through …