Git is an open source freely distributed version control system specifically designed to efficiently handle all aspects of your project. It’s relatively small learning curve combined with its tiny footprint and outstanding performance have made it a favorite among programmers for collaboratively developing source code during application development. Unlike most client-server systems, Git directories are full-fledged repositories with complete history and full version-tracking abilities, independent of network access or a central server.

Below are some handy git commands to help you stay on task when developing amazing applications!

Git Cheatsheet

There are good reasons why JavaScript is consistently ranked among the top programming languages. Its flexibility caters to both beginner and advanced developers. It requires no environmental setup— just open a browser, navigate to its developer tools, and start coding.

It can also run everywhere from mobile devices and tablets to laptops and desktops with full-stack development capability. This omni-platform aspect of JavaScript makes it a universal language and coupled with modern frameworks like React, Angular, and Vue.js, its easy to see how it became the standard language of the web. …


On September 9, 1947, a Harvard technical team found that their computer, the Harvard Mark II, was consistently delivering errors. Upon inspection, they isolated the issue to an electromagnetic relay. And as the story goes, the first reported debugging of a computer system by a team of professional experts resulted in the discovery of an actual bug. A moth to be precise — that got trapped between the points of Relay 70 in panel F of their pioneering electromechanical computer disrupting the internal electronics to such a degree that the computer was unable to deliver consistent and accurate results.

Photo Credit:


Considered a simple sorting algorithm, insertion sort is not without its merits. While not as efficient as more advanced algorithms when scaled, it is a stable algorithm in that it does not change the relative order of elements with equal values. It is also an excellent choice when you have to continually add new data as it is received. This is because it only needs to do one pass to determine proper placement and on smaller or mostly sorted arrays or lists, this algorithm will actually outperform some of the more complex algorithms.

How It Works

Insertion sort iterates through an array or…

Photo credit: Adobe Stock Photo

Merge Sort is an extremely popular sorting algorithm that combines merging and sorting exploiting the fact that empty or single element arrays are considered sorted. When scaled, this algorithm offers significant performance gains relative to less advanced sorting algorithms like Bubble Sort or Selection Sort. It is a member of the “divide and conquer” algorithm family that approach problem solving through deconstruction of a problem into smaller problems simple enough to solve directly with solutions that can then be collectively applied toward the original problem.

How It Works

Merge sort recursively splits an array into smaller empty or single element arrays that are…

Bootstrap markets itself as the most popular HTML, CSS, and JavaScript framework for developing highly responsive, mobile first web applications. The sleek, intuitive, and powerful framework currently ranks as the tenth most popular GitHub repository with over 148,000 stars, more than 1000 contributors, and over 20,000 commits. It is compatible with a variety of frameworks (ex. Django, Express, Rails, etc).

This tutorial will walk you through adding Bootstrap functionality to a Rails application using two popular delivery methods. The framework has two dependencies — CSS and JavaScript and requires jQuery and Popper.js. Installation of these will also be covered.

Install Bootstrap via Content Delivery Network (CDN)

Photo credit: Adobe Stock Photo

Binary search is a commonly used algorithm offering a more efficient form of search than a traditional linear search. Instead of iterating through an array eliminating one element at a time, you can eliminate half of the remaining elements at a time. However, it only works with sorted arrays and ordered lists.

How It Works

A binary search starts in the middle of an array and checks if that value is greater than, less than, or equal to the value you are looking for. If that element is greater, the algorithm now knows to continue searching in the left half of the array…


Photo by Franck on Unsplash

bcrypt is an excellent tool for shoring up password protection and user authentication in your Ruby on Rails application.

Authentication Systems

Proper user authentication and password protection are a must for any application seeking to restrict content or collect sensitive user information. With identity theft negatively impacting millions of individuals each year, data breaches could prove detrimental not only to the user but also to the platform. A single data breach has the potential to erode public trust and confidence and depending on the breach, open the door to liability. Avast recently reported that 90% of online users worry about compromised passwords…

Consider ‘Strict’ Mode

'use strict';

Introduced in ES5, strict mode allows for writing secure JavaScript code. With a different set of semantics versus the normal default “sloppy” mode , deployment of strict mode can significantly help in mitigating accidental programmer errors that could potentially introduce bugs into your application. This is because it restricts certain types of activities as well as generate visible errors in certain situations that would otherwise fail silently in the background without alerting the developer.

'use strict';let hasBirthdayGift = false;
const birthday = true;

if (birthday) hasBirrthdayGift = true;
if (hasBirthdayGift) console.log('I have presents! :D')

Output: Uncaught ReferenceError…

Brandon Fonnemann

It’s hip to b[e= mc²] → 7.819 x 10¹⁸ Joules

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