Posts

  • Locate Command: Find Filenames Quickly

    The locate command is a handy tool that enables you to find files quickly. Installing on Ubuntu sudo apt-get install mlocate -y sudo updatedb Installing on MacOS sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist sudo /usr/libexec/locate.updatedb

    Posted in

  • Elements Tab in Chrome Developer Tools

    A demo of how to use the Elements tab in Chrome Developer Tools. This is the first video of a series on Chrome Developer Tools. This video will focus in the Elements tab. Mainly to view elements, edit CSS, and work with units of measure.

    Posted in

  • Linux File System Hierarchy for Web Developers

    The Filesystem Hierarchy Standard (FHS) is maintained by the Linux Foundation to organize the various components of the file system. This will not be a comprehensive post, but rather, will provide just enough info to understand the basic structure and directories for most web servers. A manpage is available for...

    Posted in

  • Checking for Broken Links with Linkchecker

    Linkchecker is a command-line tool to check HTML documents and websites for broken links. Ubuntu Installation sudo apt-get install linkchecker MacOS Installation see also: http://www.cantoni.org/2017/11/16/running-linkchecker-mac git clone https://github.com/linkcheck/linkchecker.git virtualenv venv source venv/bin/activate python setup.py build python setup.py install

    Posted in

  • Avoiding Mutable Default Arguments in Python

    See also: The Hitchhiker’s Guide to Python https://docs.python-guide.org/writing/gotchas/ IDE’s like PyCharm will complain when this is attempted, in which you’ll see messages like the following: Default argument value is mutable... Inspection info: This inspection detects when a mutable value as list or dictionary is detected in a default value for...

    Posted in

  • Python Fundamentals: Random Module

    The Python random module has a variety of uses. You can do many different things that include simulations, getting a random number, picking an item from a list, generating data for unit tests, and generating data for load tests. Pretty much everyone will run into a use for random data...

    Posted in

  • Planning CSS Measurements for a New Project

    The idea behind this post is to have a blueprint for setting up CSS from scratch in terms of sizing. If you’re using one of the popular UI frameworks like Bootstrap 4, this may already be set for you. This post will consist of general guidelines. Your own project may...

    Posted in

  • Python IDE Configuration

    The following setup generally applies to all Intellij IDE’s including Intellij IDEA, PhpStorm, WebStorm, and more. The one PyCharm-specific configuration will entail setting up the Python interpreter. Most things listed in this post are configured in Preferences. On MacOS, the shortcut for Preferences is Command-comma (⌘ ,), similar to most...

    Posted in

  • Creating a Navigation Bar from Scratch

    Source Code In this post, we will be creating a menu bar from scratch. We will also explore some shortcuts while using Visual Studio Code. Visual Studio Code (VSC) offers some great functionality right out of the box. However, there is one plugin in which we’ll need. The fact that...

    Posted in ,

  • Web Animation Using jQuery

    Source Code Although many folks claim jQuery is no longer relevant, consider the fact that it’s still being used in countless projects. Perhaps it’s a dependency requirement of a particular framework, or you have an older project you’re still building new features for. It’s original purpose was built around being...

    Posted in ,

subscribe via RSS