Technical tutorials, covering software development, system administration, and content creation.
CSS Grid lets you create web page layouts without resorting to external CSS frameworks. In this tutorial you’ll build a layout with CSS Grid and explore how the specification works.
Use Flexbox to build a navigation bar with elements evenly-spaced on large screens, and vertically stacked on small screens, all with minimal HTML and CSS.
Provide context and improve understanding of complex topics with a repeatable formula for explaining code.
Some words you think might motivate learners have the opposite effect.
Solving the “Who’s In Space” exercise from Exercises for Programmers in Vue.
Open files in different buffers.
Formatting dates in Phoenix isn’t as straightforward as it is in other frameworks. There isn’t a built-in method to do strftime, but by using the timex library, we can add it in easily. Let’s look at how.
Creating a Sample Application First, let’s create a new Phoenix application called cookbook which we’ll use to tinker around with dates.
$ mix phoenix.new cookbook Then change to the cookbook directory, create the development database, and generate a new table of recipes:
As the applications you build get more complex, you’ll need to manage and save data.
An array is a list of things, and a Hash is a mapping of names and values. Using these together, we can create a simple, yet powerful data structure to hold a collection of records.
JavaScript refers to Hashes as "object literals". They are conceptually the same thing as hashes, maps, and dictionaries in other languages.
Creating virtual machines can be a complex process. Why not automate it?
Vagrant is a command line utility for creating virtual machines quickly. In this tutorial you will create a Linux virtual machine running Apache and configure it to serve web pages in the current folder.
You can complete this tutorial on Windows or macOS. You will need VirtualBox installed and a fast Internet connection.
Installing Vagrant Installing Vagrant is as easy as installing any other program.
This tutorial will guide you through setting up a Rails application server using Apache as a front-end server and Passenger as a back-end.
Before You Begin You’ll need:
An Ubuntu 16.04 server with at least 1GB of RAM and a non-root user with sudo access. Your Rails application in a Git repository Your Rails application’s database system installed on the server. Step 1: Configure RVM We’ll use RVM to install Ruby.