Add the following lines to ~/.gitconfig to load configuration only for repositories within a certain location:
[includeIf "gitdir:~/dev/work/"]
path = ~/dev/work/.gitconfig
For example, this can be used to set work email and signing keys.
Senior Web Engineer. Open web / music. Remote DJ. Tall Dutch guy. #3million
My hackable blog framework #Cuttlefish is nearing a 0.4 milestone and I’m very excited to have containerised the project and added basic API documentation using phpDox. Sneak preview the master branch at https://
Add the following lines to ~/.gitconfig to load configuration only for repositories within a certain location:
[includeIf "gitdir:~/dev/work/"]
path = ~/dev/work/.gitconfig
For example, this can be used to set work email and signing keys.
Added a quick example to the wp_schedule_event() codex page as all the examples provided are broken in some way. https://
I didn't know that Chassis extensions can be installed globally http://
It turns out Breakmaster Cylinder's full discography (https://
If you follow this blog you will have noticed that I've commented multiple times on needless distractions that seem to have pervaded modern computing. Today, let's present a few solutions.
Firstly, when in the flow of doing deep work, watching animations delay your actions can be a source of frustration. While we can't speed up GitHub, we can speed up macOS. In the accessibility settings, check Display > Reduce Motion. This will speed up the interface and Mission Control animations. If you miss the garishness, you can turn it back off but chances are you will notice the system not getting in the way as much.
Secondly a tip for fellow Homebrew users. When you're ready to work through that difficult project tooling setup, it can be the worst time for Homebrew to decide to update it self, especially as this can take up to half a minute depending on how far behind your version is. Not now Homebrew! If you follow the instructions at Homebrew Autoupdate you can setup Homebrew to update itself in the background.
Finally, if you're using oh-my-zsh or bash equivalent, there will be a setting for it to update itself without prompting. Edit .zshrc
and add DISABLE_UPDATE_PROMPT="true"
. I've not had any issues.
Cheers to a focused work experience!
Unless you're using DNS over HTTP (DoH), you can speed up general DNS requests by running a local DNS proxy, and increase the expiry time of DNS queries. I'll go into this further once I've updated this post for DNSMASQ to do DoH.
The following configuration will speed up browsing in Safari for example.
Install DNSMASQ:brew install dnsmasq
Load all configs from /etc/local/etc/dnsmasq.d/:echo "conf-dir=/usr/local/etc/dnsmasq.d,*.conf" | sudo tee —append /usr/local/etc/dnsmasq.conf
mkdir -p /usr/local/etc/dnsmasq.d
Edit /usr/local/etc/dnsmasq.d/proxy.conf:# Tell dnsmasq to get its DNS servers from this config file only.
no-resolv
# Add router dns
server=192.168.1.1
# cache for 1h
min-cache-ttl = 3600
Start DNSMASQ on boot and launch it:sudo brew services start dnsmasq
Test: dig cnn.com @127.0.0.1
Query time should be 0 the second time and an ANSWER SECTION should be returned. If that is the case open System Preferences > Network > Advanced > DNS > +
Enter: 127.0.0.1 and hit OK > Apply.
I initiate a new Github Pull Request on a forked repo and it default destination is upstream/master #userhostile
Investigating https:// www.choosyosx.com/
Sander van Dragt, Feb 13 2020 on vandragt.com