/Library/LaunchDaemons/
/Library/LaunchAgents/
~/Library/LaunchAgents/
As of git version 2.13, git supports conditional configuration includes. In this example we clone Company A's repos in ~/company_a directory, and Company B's repos in ~/company_b.
In your .gitconfig you can put something like this.
[includeIf "gitdir:~/company_a/"]
path = .gitconfig-company_a
[includeIf "gitdir:~/company_b/"]
path = .gitconfig-company_b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //usr/bin/env go run $(which $0) "$@"; exit "$?" | |
| // Usage: | |
| // chmod +x script.go | |
| // ./script.go param1 param2 ... | |
| // #or put script.go in a PATH directory, then run | |
| // script.go param1 param2 ... | |
| package main |
macOS 11.5.2
location: Vietnam
I got this error while installing rosetta by clicking the "Install" button:
“Installing Rosetta 2 on this system is not supported.”
Run this command in the terminal should work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scripts": { | |
| "postinstall": "echo > node_modules/go.mod" | |
| } | |
| } |
https://github.com/angristan/openvpn-install
Comment out (add #) line push "redirect-gateway def1 bypass-dhcp" in /etc/openvpn/server.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| set show-all-if-ambiguous on | |
| set completion-ignore-case on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| // the setup function runs once when you press reset or power the board | |
| void setup() | |
| { | |
| uint32_t outputMode8Pin = 0x77777777; | |
| /** | |
| 0x7 = 0 1 1 1 | |
| CNF1 CNF0 MODE1 MODE0 | |
| General perpose output + open-drain + Max output speed 50MHz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo sed -i -E "s/([^\/]+\.)?archive\.ubuntu\.com/ap-southeast-1.ec2.archive.ubuntu.com/" /etc/apt/sources.list |
Use it with KindleGen
kindlegen dic.opf