til: today I learned

@faizmokh’s dev notes and everything else in between

26 Jan 2020

How To Enable Go Fmt On Save In GoLand

One thing I miss when switching from VS Code to GoLand is the ability to auto-format the code with [`go fmt`][1] when sa...
20 Jan 2020

Go Delve Debugger Issue On macOS Catalina

I started using [GoLand](https://www.jetbrains.com/go/) yesterday after hearing good things about it from my friends who...
12 Oct 2019

Using Xcode 11's Swift Package Manager in Your Project

Similar like [Cocoapods][1] or [Carthage][2], you can use [Swift Package Manager][3] to manage the dependencies in your ...
20 Aug 2019

Keep Test Logic out of Production

I'm currently reading [xUnit Test Patterns: Refactoring Test code][1] and so far it's been a great read. Here's some ad...
26 Mar 2019

Understanding LLDB Contexts in Xcode

Sometimes when debugging on Xcode with LLDB's `p` or `po`, it will throw a syntax error at you and you might be wonderi...
19 Feb 2019

Useful XCTest Keyboard Shortcuts

Here are some helpful keyboard shortcuts that can help you run your unit tests much more quickly - To run all tests: ...
11 Feb 2019

Using Go Dep to Manage Dependencies

[`dep`][1] is a dependency management tool for golang. If you have done any software development before, [`dep`][1] ...
13 Sep 2018

How to Change Git Branch Name

A quick one. Here's how to change your git branch name: If you want to rename of your current local branch: ``` git b...