HOWTO: Use jQuery to Scroll to a Target HTML Element

jquery tip

A common request when working on a web site or application, is to have some kind of “auto-scroll” effect. In other words, I’m talking about that thing where you click a button or navigation item, and the page takes a few hundred milliseconds to gently scroll up/down to an element.

Perhaps you want to highlight your CTA (eg. Call to Action), etc.

Let’s take care of this with a trivial amount of jQuery!

More …

HOWTO: Build Your Own jQuery Plugin

jquery tip

After enough time of working with jQuery code and sites, you might start to notice that you have similar jQuery code in a bunch of projects. You always include some scrolling, or animations to various similar link styles, etc.

If only there was some way to create a “library” that you can then just include into all your projects with a single snippet…

Turns out – you can with jQuery Plugins.

More …

Installing Postgresql on Raspberry Pi

PostgreSQL is a popular database option used teams and companies of all sizes. From the smallest of hobbyist projects, to the largest of Enterprise online web applications.

In this tutorial, I’m going to explain how to install the latest Postgresql on the Raspberry Pi. I’m going to assume that you have Raspbian installed on your Raspberry Pi.

More …

Setting up Rails6 on Windows10

Ruby on Rails is a web development framework that was first introduced in 1999. Despite it’s “age”, it’s still a popular choice for developing web applications.

In this small tutorial, we’re going to go through the steps involved in setting up Rails6 on Windows10.

There are a few Rails installer type of projects available, but I’ve found that these mostly don’t work anymore despite coming up near the top of any search in google. If you’ve come across them already and they work for you, then fantastic!

More …

Installing Rails6 on Raspberry Pi

Ruby on Rails is a web development framework that was first introduced in 1999. Despite it’s “age”, it’s still a popular choice for developing web applications.

In this tutorial, I’m going to explain how to install Ruby on Rails 6 on Raspberry Pi. I’m going to assume that you have Raspbian installed on your Raspberry Pi.

More …