DEV Community

Tyler Smith profile picture

Tyler Smith

I'm a software developer who writes about Laravel, JavaScript, Rails, Linux, Docker, WordPress and the tech industry. Follow me on Twitter @tylerlwsmith

Location Sacramento, California Joined Joined on  Personal website https://deadhandmedia.com twitter website

Education

BA in Communications Emphasis in Public Relations

Work

Software Engineer

2 Week Community Wellness Streak
Six Year Club
Writing Debut
Five Year Club
1 Week Community Wellness Streak
Four Year Club
4 Week Writing Streak
Three Year Club
Two Year Club
Beloved Comment
One Year Club
Fab 5
Upsert a row in a DB that doesn't use primary keys or unique constraints

Upsert a row in a DB that doesn't use primary keys or unique constraints

4
Comments
3 min read

Want to connect with Tyler Smith?

Create an account to connect with Tyler Smith. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Stop the cursor from jumping to the corner of the screen on a Lenovo Yoga laptop

Stop the cursor from jumping to the corner of the screen on a Lenovo Yoga laptop

5
Comments 8
4 min read
The winner of WordPress vs WP Engine will be Microsoft

The winner of WordPress vs WP Engine will be Microsoft

3
Comments 2
6 min read
Mock functions in individual tests using Jest

Mock functions in individual tests using Jest

3
Comments
6 min read
Get better autocomplete for Faker when using factory_boy

Get better autocomplete for Faker when using factory_boy

1
Comments
2 min read
Use SQLite as a Celery broker in Django

Use SQLite as a Celery broker in Django

12
Comments 2
4 min read
Understanding tasks, brokers, workers, and backends in Celery

Understanding tasks, brokers, workers, and backends in Celery

25
Comments
6 min read
Automatically reload Celery workers with a custom Django command

Automatically reload Celery workers with a custom Django command

5
Comments
7 min read
Emulating Rails-like resource controllers in a server-rendered Django app

Emulating Rails-like resource controllers in a server-rendered Django app

1
Comments
9 min read
Using a venv with Neovim's Python LSP

Using a venv with Neovim's Python LSP

1
Comments
1 min read
Change Fugitive's number of Git context lines in Neovim

Change Fugitive's number of Git context lines in Neovim

Comments
2 min read
Move manifest.json to the output directory's parent in Vite 5

Move manifest.json to the output directory's parent in Vite 5

7
Comments
4 min read
Using the same Caddyfile for both development and production

Using the same Caddyfile for both development and production

Comments
2 min read
Prevent Caddy's automatic http-to-https redirect

Prevent Caddy's automatic http-to-https redirect

1
Comments
2 min read
Routing multiple paths to a reverse proxy using Caddy

Routing multiple paths to a reverse proxy using Caddy

4
Comments
1 min read
Programmatically generate files in Cypress tests

Programmatically generate files in Cypress tests

1
Comments
1 min read
How to copy test results from a container to the host using Docker Compose

How to copy test results from a container to the host using Docker Compose

1
Comments
2 min read
Set an Active Storage attachment in an after_save callback

Set an Active Storage attachment in an after_save callback

3
Comments 2
2 min read
Resize images before saving them with Ruby on Rails Active Storage

Resize images before saving them with Ruby on Rails Active Storage

7
Comments 2
3 min read
Faking private class constructors in JavaScript

Faking private class constructors in JavaScript

2
Comments
2 min read
Add trailing slashes in Rails without breaking everything

Add trailing slashes in Rails without breaking everything

4
Comments
3 min read
Using Alpine.js directives on form_with in Ruby on Rails

Using Alpine.js directives on form_with in Ruby on Rails

6
Comments
1 min read
Error boundary causes React Router links to stop working

Error boundary causes React Router links to stop working

10
Comments 2
3 min read
Leveraging JavaScript to implement CSS transitions that use display: none

Leveraging JavaScript to implement CSS transitions that use display: none

10
Comments 4
3 min read
Using Google Analytics's gtag.js with Turbolinks

Using Google Analytics's gtag.js with Turbolinks

4
Comments 2
5 min read
Using Alpine's Persist plugin in a separate JavaScript file

Using Alpine's Persist plugin in a separate JavaScript file

14
Comments 3
3 min read
Binding an Alpine.js element to the turbolinks:load event

Binding an Alpine.js element to the turbolinks:load event

11
Comments 1
2 min read
Scoping variables to a single file in Scss without @use

Scoping variables to a single file in Scss without @use

5
Comments
2 min read
Download a webpage and all of its assets using wget

Download a webpage and all of its assets using wget

7
Comments
1 min read
Development-only pages in Next.js

Development-only pages in Next.js

5
Comments 2
5 min read
Development-only routes in Django

Development-only routes in Django

11
Comments
2 min read
Styling django-allauth by overriding its templates

Styling django-allauth by overriding its templates

12
Comments 3
3 min read
Creating a text column using Ecto in Elixir's Phoenix framework

Creating a text column using Ecto in Elixir's Phoenix framework

9
Comments 2
2 min read
Self-hosting analytics with Plausible & NGINX on Ubuntu Server

Self-hosting analytics with Plausible & NGINX on Ubuntu Server

3
Comments
7 min read
A complete guide to deploying Rails on an Ubuntu VirtualBox VM

A complete guide to deploying Rails on an Ubuntu VirtualBox VM

6
Comments
8 min read
Verifying GPG signatures: history, terms and a how-to guide

Verifying GPG signatures: history, terms and a how-to guide

5
Comments
6 min read
Include a phone frame in a screenshot of an Android Expo project

Include a phone frame in a screenshot of an Android Expo project

7
Comments
3 min read
Build an "Edit Page" button in a Hugo template

Build an "Edit Page" button in a Hugo template

7
Comments 2
3 min read
Get the absolute path to the project directory in Hugo

Get the absolute path to the project directory in Hugo

5
Comments
2 min read
How to check if a Hugo site is in development or production

How to check if a Hugo site is in development or production

6
Comments 4
2 min read
Prevent NPM from installing packages outside of a Docker container

Prevent NPM from installing packages outside of a Docker container

22
Comments
3 min read
Do content management systems actually serve their users?

Do content management systems actually serve their users?

11
Comments 6
10 min read
SSH into a server behind Cloudflare using an SSH config file

SSH into a server behind Cloudflare using an SSH config file

14
Comments 5
2 min read
Validating an upload as an image OR a video with Laravel

Validating an upload as an image OR a video with Laravel

11
Comments 3
2 min read
Speed up Laravel in Docker by moving vendor directory

Speed up Laravel in Docker by moving vendor directory

88
Comments 26
4 min read
Handling url-encoded forwarded slashes in Laravel URLs

Handling url-encoded forwarded slashes in Laravel URLs

8
Comments
2 min read
One does not "just containerize" an app

One does not "just containerize" an app

83
Comments 19
2 min read
Read selected text out-loud on Ubuntu Linux

Read selected text out-loud on Ubuntu Linux

6
Comments 10
3 min read
Installing Laravel on a Raspberry Pi with Sail

Installing Laravel on a Raspberry Pi with Sail

16
Comments
5 min read
Getting Pop_OS! Installed on an HP ProBook x360 11

Getting Pop_OS! Installed on an HP ProBook x360 11

9
Comments 1
3 min read
Change Laravel's exception screen code editor

Change Laravel's exception screen code editor

8
Comments 2
1 min read
DEV 2020 Year-in-Review: Scraping data using the Console

DEV 2020 Year-in-Review: Scraping data using the Console

6
Comments
6 min read
Unpacking the murky distinctions between websites and web applications.

Unpacking the murky distinctions between websites and web applications.

1
Comments
2 min read
"But does it scale?" A pragmatic overview of infrastructure scalability

"But does it scale?" A pragmatic overview of infrastructure scalability

5
Comments 3
4 min read
Is PHP a gnarly language? Yes, yes it is.

Is PHP a gnarly language? Yes, yes it is.

8
Comments
5 min read
Why is WordPress development painful?

Why is WordPress development painful?

14
Comments 2
4 min read
Laravel not running accessors with numbers in attribute name when serializing to JSON

Laravel not running accessors with numbers in attribute name when serializing to JSON

11
Comments
2 min read
Can you be a good software engineer if you just do it for the money?

Can you be a good software engineer if you just do it for the money?

7
Comments
3 min read
Using a TypeScript interface to define model properties in Objection.js

Using a TypeScript interface to define model properties in Objection.js

17
Comments 14
2 min read
Hating jQuery doesn't make you cool

Hating jQuery doesn't make you cool

83
Comments 25
3 min read
loading...