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
# eg: download exa | |
curl -s https://api.github.com/repos/ogham/exa/releases/latest | grep browser_download_url | grep linux | cut -d'"' -f4 |
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
set autoupdategist | |
set noautofocus | |
set smoothscroll | |
set hud | |
set noregex | |
set noinsertmappings | |
set typelinkhints | |
set defaultnewtabpage | |
set cncpcompletion | |
let scrollduration = 10 |
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
see: https://unix.stackexchange.com/a/70971 | |
2>&- | |
The general form of this one is M>&-, where "M" is a file descriptor number. This will close output for whichever file descriptor is referenced, i.e. "M". | |
2>/dev/null | |
The general form of this one is M>/dev/null, where "M" is a file descriptor number. This will redirect the file descriptor, "M", to /dev/null. |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> | |
<key>AppleScrollAnimationEnabled</key> | |
<integer>0</integer> | |
<key>AppleSmoothFixedFontsSizeThreshold</key> | |
<integer>1</integer> |
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
ref: https://github.com/tmux/tmux/issues/543 | |
I was experiencing the same issues post-upgrade, but finally got it working again this morning. | |
Here's what I did: | |
brew install reattach-to-user-namespace | |
Ensure the following is set in .tmux.conf: | |
set -g default-shell $SHELL |
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
tac filename | sed '1,6d' | tac > filename | |
# or | |
tail -r filename | sed '1,6d' | tail -r > filename | |
# or | |
head -n -6 filename > filename # not work on osx | |
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
package com.zmeng.rinascimento.pascal.common.testutil; | |
import java.util.function.Supplier; | |
import static java.lang.System.currentTimeMillis; | |
/** | |
* Created by Wenxuan-Zhang on 2017/3/20. | |
* Email: [email protected] | |
*/ |