Untold Voyage

Journal & Notebook

  • Home
Code Tweets

Code Tweets

The Laravel and the Vue.js online communities are very good at sharing code snippets over on Twitter. I had a whole pile of these examples loaded in tabs on my phone.

  • BRIΛИ
    BRIΛИ
3 min read
Transition Periods

Transition Periods

👋 Hey there. Life has an odd way of moving in new directions. For my part, I recently was given full responsibility over a rather complex set of systems at my place of work. This came about due to recent staffing changes.

  • BRIΛИ
    BRIΛИ
1 min read
Be Decisive

Be Decisive

Here is an excerpt from an Australian mailing list I read called Word For Today. President Reagan enjoyed telling the story of how he learned to make firm decisions.

  • BRIΛИ
    BRIΛИ
1 min read
Laravel Example: Cache Locking

Laravel Example: Cache Locking

If you make use of the Laravel framework, here is a code example from Taylor Otwell on how to use cache locking.

  • BRIΛИ
    BRIΛИ
1 min read
Eloquent Model Traits With Casts

Eloquent Model Traits With Casts

As a follow up to the previous entry, you can also include a function to return a casts array for a trait/concern that your eloquent model is using.

  • BRIΛИ
    BRIΛИ
1 min read
Eloquent Model Traits With Dates

Eloquent Model Traits With Dates

In the same way that we can use a boot{Trait}() method in a trait/concern for an eloquent model, it would be nice to be able to register specific date fields in a trait/concern (i.e. Publishable with a published_at timestamp column).

  • BRIΛИ
    BRIΛИ
1 min read
Find Hard Drive Details On Server

Find Hard Drive Details On Server

Here are two commands that can help when dealing with physical Linux servers. To get detailed information directly from the hard drive...

  • BRIΛИ
    BRIΛИ
1 min read
Nginx Configuration For Symlinked PHP Releases

Nginx Configuration For Symlinked PHP Releases

If you want to use a deployment tool like Capistrano or Laravel Envoy with symbolic linked release directories, instead of mapping your script to the path of the symlink with $document_root...

  • BRIΛИ
    BRIΛИ
1 min read
Find Total Size Of Files On Server

Find Total Size Of Files On Server

As a continuation of my last post, here is a command if you want to find the total combined size (in kilobytes) of a set of folders or files listed in a text file named file-list.txt.

  • BRIΛИ
    BRIΛИ
1 min read
Find Folders On Server To Eliminate

Find Folders On Server To Eliminate

If you need to narrow down a list of folders in a directory to the set that you need to either archive or cleanup from a linux server, here's a quick command.

  • BRIΛИ
    BRIΛИ
1 min read
Adding & Removing Tags On GitHub

Adding & Removing Tags On GitHub

If you ever accidentally tag the wrong branch with a release, you can move the release back to the draft stage on GitHub with the following commands.

  • BRIΛИ
    BRIΛИ
1 min read
Symlink SublimeText 3

Symlink SublimeText 3

If you want to launch SublimeText from the command line on macOS, here you go...

  • BRIΛИ
    BRIΛИ
1 min read
Free Space On A Server

Free Space On A Server

When you're looking to free space on a server...

  • BRIΛИ
    BRIΛИ
1 min read
Laravel 5.4 JSON Contains Macro

Laravel 5.4 JSON Contains Macro

If you want to get your tests updated for Laravel 5.4, and need a quick patch for the missing assertJsonContains(), here's a macro that you can place in the createApplication() function...v

  • BRIΛИ
    BRIΛИ
1 min read
Unattended Dependencies

Unattended Dependencies

I often run into quality issues in Javascript packages that I want to adopt. Most of these issues consist of simple bugs that are worth eradicating with a pull request.

  • BRIΛИ
    BRIΛИ
2 min read
Start Supervisor At Boot

Start Supervisor At Boot

If you want to have supervisor running at boot on an Ubuntu 16.04 server, you need to enable the service after installing it.

  • BRIΛИ
    BRIΛИ
1 min read
iTerm2 Configuration

iTerm2 Configuration

iTerm2 is my default terminal on macOS. It's nice to update the configuration a bit from the default settings. iTerm2 Preferences * Navigate to iTerm2 -> Preferences * Uncheck Native full screen

  • BRIΛИ
    BRIΛИ
1 min read
Goodreads & Other APIs

Goodreads & Other APIs

I've been messing around with the Goodreads API this weekend. This API returns XML output for their endpoints. It would be nice to get JSON from them instead, many have even asked for this, but any data format is sufficient enough in the end.

  • BRIΛИ
    BRIΛИ
2 min read
Avahi Domain Aliases

Avahi Domain Aliases

The Avahi project, helmed by Trent Lloyd, is a Bonjour compatible mDNS/DNS-SD service discovery server for Linux systems. Bonjour is a protocol that Apple uses on their devices (i.e. laptops, phones, Apple TVs, etc) to multicast a DNS record and available services on a local area network (LAN).

  • BRIΛИ
    BRIΛИ
1 min read
Set iFrame Focus & Support Microsoft Browsers

Set iFrame Focus & Support Microsoft Browsers

Okay, if you ever need to refocus on an iframe window...

  • BRIΛИ
    BRIΛИ
1 min read
Grouping Monthly Totals For Charts

Grouping Monthly Totals For Charts

On a personal project, I have recently been working through showing a chart with total monthly views for movies and TV episodes over the last 12 months. When implementing the process of calculating the total views, I came up with a few options in getting the data from the backend to the chart.

  • BRIΛИ
    BRIΛИ
3 min read
Avoid Dependency Recursion

Avoid Dependency Recursion

Here's a quick tip. If you have embraced the repository pattern for your Laravel application, you may have run into a 502 bad gateway. This can happen if you choose to setup the constructors of one or more classes to mutually direct inject each other.

  • BRIΛИ
    BRIΛИ
1 min read
Chuck Close & The Creative Process

Chuck Close & The Creative Process

At the start of the year, I spent part of my day reading through some of the Mailchimp UX Newsletter. It is a treasure trove of advice.

  • BRIΛИ
    BRIΛИ
1 min read
Let's Encrypt Webroot SSL Certificate

Let's Encrypt Webroot SSL Certificate

I've been working through usage of Let's Encrypt for free SSL cert generation. I use primarily nginx servers on my projects and wanted a simple way to renew.

  • BRIΛИ
    BRIΛИ
1 min read
Namespace Organization

Namespace Organization

Organizing source code is a key component to easily understanding it. Shawn McCool inspired me to reorganize a php project I have been working on.

  • BRIΛИ
    BRIΛИ
1 min read
Untold Voyage © 2025
Latest Posts Ghost