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
[Unit] | |
Description=KCD cron job | |
After=vpm.service | |
After=kubelet.service | |
[Service] | |
User=root | |
Type=oneshot | |
SyslogIdentifier=kcd | |
EnvironmentFile=-/etc/environment |
- OSX on encrypted APFS case sensitive (default is case-insensitive)
- ^^ few apps fail, hack for Steam: dynamic APFS volume, https://gist.github.com/epcim/17d942dbf57abbe8b21c921b7aeac743
- see lists below
- keep your profile shell as "bash"
- install GNU tools and put them on your PATH first
##git mergetool
In the middle file (future merged file), you can navigate between conflicts with ]c
and [c
.
Choose which version you want to keep with :diffget //2
or :diffget //3
(the //2
and //3
are unique identifiers for the target/master copy and the merge/branch copy file names).
:diffupdate (to remove leftover spacing issues)
:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)
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
# The next line updates PATH for the Google Cloud SDK. | |
source /Users/dwchiang/google-cloud-sdk/path.zsh.inc | |
# The next line enables zsh completion for gcloud. | |
source /Users/dwchiang/google-cloud-sdk/completion.zsh.inc |
- https://imapsync.lamiral.info/
- https://imapsync.lamiral.info/doc/TUTORIAL_Unix.html
- https://linux.die.net/man/1/imapsync
- https://wtf.roflcopter.fr/archive/?publicget=2013-07-11-06-05-15
imapsync \
--host1 mail.web4ce.cz --user1 [email protected] --password1 '***' --port1 993 --ssl1 \
--host2 imap.seznam.cz --user2 [email protected] --password2 '***' --port2 993 --ssl2 \
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
apiVersion: eksctl.io/v1alpha5 | |
kind: ClusterConfig | |
metadata: | |
name: eksctl-us-west-2-managed | |
region: us-west-2 | |
vpc: | |
id: vpc-0b953326cd7a2f917 | |
subnets: |
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
#!/bin/bash | |
set -u | |
set -e | |
set -o pipefail | |
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.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
#!/bin/bash | |
printf_stdin() { local stdin; read -d '' -u 0 stdin; printf "$@" "$stdin"; } | |
exec {log_fd}> >(systemd-cat -t $(basename $0)) | |
log_emerg() { echo "EMERG: $1"|tee /dev/stderr| printf_stdin '<0>%s\n' "$1" >&"$log_fd"; } | |
log_alert() { echo "ALERT: $1"|tee /dev/stderr| printf_stdin '<1>%s\n' "$1" >&"$log_fd"; } | |
log_crit() { echo "CRIT: $1" |tee /dev/stderr| printf_stdin '<2>%s\n' "$1" >&"$log_fd"; } | |
log_err() { echo "ERROR: $1"|tee /dev/stderr| printf_stdin '<3>%s\n' "$1" >&"$log_fd"; } | |
log_warn() { echo "WARN: $1" |tee /dev/stderr| printf_stdin '<4>%s\n' "$1" >&"$log_fd"; } |
Export your public key:
keybase pgp export > keybase-public.key
Export your private key:
keybase pgp export --secret > keybase-private.key