This site works best with JavaScript enabled.
David Tran
Writing
Projects
Experience
74
Git Push: When to Use —force and —force-with-leash Without Breaking Everything
February 15, 2023
git
Create React App + TypeScript + ESLint + Prettier Quick Start
August 02, 2020
development environment
eslint
prettier
react
typescript
Requiring One of Two Properties to Exist in TypeScript
July 12, 2020
typescript
Removing Camera and Microphone Access on macOS
July 05, 2020
macos
A Case for Trailing Commas
May 09, 2020
thoughts
2018: Year in Review
January 17, 2019
thoughts
Checking If a Primitive Array is Unique in JavaScript
October 21, 2018
javascript
Preventing IE11 from Caching AJAX Requests
October 15, 2018
http
Leaving Less Comments
September 10, 2018
thoughts
Adding and Removing Query Parameters in JavaScript
September 04, 2018
javascript
Transforming Object Values in JavaScript
August 26, 2018
javascript
Configuring ESLint and Prettier for Vim
August 19, 2018
development environment
eslint
prettier
vim
Checking If tmux Session Exists in Script
August 18, 2018
tmux
tmux Script Percentage Issue
August 17, 2018
tmux
KCON 2018
August 13, 2018
experiences
Setting up Vim and tmux on macOS
August 11, 2018
development environment
macos
tmux
vim
Setting up iTerm2, zsh, and Oh My Zsh
August 10, 2018
development environment
Thoughts on Online Learning
August 05, 2018
thoughts
Use Action Creators When Testing Reducers
August 05, 2018
redux
testing
Git Push Rejected After Rebase
July 29, 2018
git
Estimations
July 21, 2018
thoughts
Regular Expression for United States Phone Numbers
July 20, 2018
regex
Stashing New Files in Git
July 15, 2018
git
Focusing Next Input in React Native
July 12, 2018
react native
Vancouver, British Columbia 2018
July 09, 2018
travels
Shallow Object to Array Conversion in JavaScript
July 05, 2018
javascript
Fetch vs Pull in Git
May 21, 2018
git
Generating a Range of Numbers in JavaScript
May 20, 2018
javascript
null vs undefined in Javascript
May 14, 2018
javascript
thoughts
Do Not Split up React's Render Method
May 13, 2018
react
thoughts
Const Does Not Mean Immutable in JavaScript
May 07, 2018
javascript
thoughts
Checking If Object Property Is Configurable in JavaScript
May 06, 2018
javascript
Pluralizing Words in JavaScript
April 30, 2018
javascript
Personal Preferences for Formatting Commit Messages
April 29, 2018
git
thoughts
Accessing Custom HTTP Response Headers
April 23, 2018
http
Logging Function Entry and Exit in C
March 31, 2018
c
Configuring ESLint and Prettier in VSCode
March 30, 2018
development environment
eslint
prettier
vscode
Styled Components Delayed Loading Issue in Gatsby
March 29, 2018
gatsby
styled components
A New Chapter
March 28, 2018
thoughts
Migrating to Gatsby and Netlify
March 27, 2018
gatsby
netlify
Flexing JavaScript Muscles
February 18, 2018
javascript
thoughts
A Sleep Experiment
February 11, 2018
thoughts
Generic Memoization in JavaScript
February 04, 2018
javascript
Podcasts to Listen to in 2018: A Software Developer’s Perspective
January 28, 2018
podcasts
A Year Without Social Media
November 19, 2017
thoughts
Do Not Publish Commented Out Code
November 12, 2017
thoughts
Updating Git Submodules
November 05, 2017
git
Vim Progress Update
October 29, 2017
thoughts
vim
TrapZone Escape Rooms: Asylum
October 22, 2017
experiences
Script Execution on Startup with Environment Variables
October 15, 2017
scripting
An Hour Early
October 08, 2017
thoughts
JavaScript Object Mutability
October 01, 2017
javascript
Keeping a Fork in Sync in Git
September 24, 2017
git
KCON 2017
September 17, 2017
experiences
How to Create an Archives Page with Hugo
September 10, 2017
hugo
First Amazon Affiliate Business Overview
September 03, 2017
business
How to Run a Script on Boot Using rc.d with Linux
August 27, 2017
scripting
Migrating from WordPress to Hugo
August 20, 2017
hugo
thoughts
Is C# Pass by Value or Pass by Reference?
July 16, 2017
c#
Refactoring Java Native Interface Code
July 09, 2017
java
Three Year Anniversary on Catalina Island
July 02, 2017
travels
Organizing My Life with Trello
June 25, 2017
thoughts
PUT vs PATCH: What Is the Difference?
June 18, 2017
http
thoughts
Git Basics: A Short Introduction
June 11, 2017
git
Using Vim for a Week
June 04, 2017
thoughts
vim
Returning a String in C
May 28, 2017
c
Acts of Kindness
May 21, 2017
thoughts
How to Set up Bash on Ubuntu on Windows, Zsh, and Hyper Terminal
May 14, 2017
development environment
Do Not Use Magic Numbers and Strings
May 07, 2017
thoughts
Podcasts to Listen to in 2017: A Software Developer’s Perspective
April 30, 2017
podcasts
var vs let vs const: Why I Default to Using const
April 23, 2017
javascript
thoughts
What Is Version Control: Centralized vs Distributed
April 16, 2017
git
What Is A Bit?
April 09, 2017
bits
console.log("Hello, world!");
March 26, 2017
bits