til: today I learned

@faizmokh dev notes and everything else in between

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...
22 Aug 2018

Set Default Git Push Behaviour

I tend to forget that I have to specify the current branch name when pushing it to a remote. For example: ``` $~ git p...
20 Aug 2018

zsh a Default Terminal Shell

I prefer [`zsh`][1] over [`bash`][2] as my everyday shell. Unfortunately [`zsh`][1] is not the default shell on macOS. ...