Posts

  • 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 ,

  • Intermediate JavaScript Week 9

    Previous Series Links & Resources NodeJS https://nodejs.org/en/ Hello World Example Express Framework NPM https://www.npmjs.com/ What is NPM Package Manager Wikipedia NVM Front-end Frameworks Vue.js React Angular

    Posted in

  • Motion Design Week 9

    Previous Series Links & Resources Three.js https://threejs.org/ Creating a Scene Scene API Three.js Renderers WebGL Renderer SVG Renderer Canvas Renderer Three.js Geometry Geometry API Box Geometry Icosahedron Geometry Text Geometry Typeface.js Generated Fonts Shape Object Three.js Materials Normal Material Basic Material Lambert Material Phong Material Standard Material Three.js Lighting Light...

    Posted in

subscribe via RSS