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
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-plugins/tmux-sidebar' | |
| set -g @plugin 'tmux-plugins/tmux-net-speed' | |
| set -g @plugin 'tmux-plugins/tmux-prefix-highlight' | |
| set -g @plugin 'tmux-plugins/tmux-pain-control' | |
| set -g @plugin 'tmux-plugins/tmux-cpu' | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' | |
| set -g @plugin 'tmux-plugins/tmux-continuum' |
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
| run-shell /home/yxz/.tmux/tmux-resurrect/resurrect.tmux | |
| set -g @resurrect-capture-pane-contents 'on' # 开启恢复面板内容功能 | |
| set -g @resurrect-dir '/home/yxz/.tmux/resurrect-dir' | |
| #set -g @resurrect-save-shell-history 'on' | |
| run-shell /home/yxz/.tmux/tmux-continuum/continuum.tmux | |
| set -g @continuum-restore 'on' | |
| #set -g @continuum-boot 'on' | |
| # use C-a, since it's on the home row and easier to hit than C-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
| /** | |
| * CryptoJS 实现 Laravel 6.x decrypt 方法 | |
| * | |
| * @param encryptStr 加密返回的内容 | |
| * @param appKey .env中的APP_KEY | |
| */ | |
| var laravelDecrypt = function(encryptStr, appKey) { | |
| var parseBase64 = CryptoJS.enc.Base64.parse(encryptStr); | |
| var decoded = parseBase64.toString(CryptoJS.enc.Utf8); |
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
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # vi is good | |
| setw -g mode-keys vi | |
| set-option -g default-terminal screen-256color |
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
| # vim style tmux config | |
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # Easy config reload | |
| bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." |
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
| <?php | |
| require 'vendor/autoload.php'; | |
| use Facebook\WebDriver\WebDriverBy; | |
| use Facebook\WebDriver\WebDriverPlatform; | |
| use Facebook\WebDriver\Chrome\ChromeOptions; | |
| use Facebook\WebDriver\Remote\RemoteWebDriver; | |
| use Facebook\WebDriver\Remote\DesiredCapabilities; | |
| use Facebook\WebDriver\WebDriverExpectedCondition; |
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
| host github.com | |
| user git | |
| hostname ssh.github.com | |
| port 443 | |
| proxycommand socat - PROXY:<hostname>:%h:%p,proxyport=<port> |
点击()
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
| <?php | |
| use Faker\Generator as Faker; | |
| // start 和 end 请设置为相同月份的起止时间,并相应修改 App\Models\LogsLogin 的 $table 属性 | |
| $start = strtotime('2019-10-01 00:00:00'); | |
| $end = strtotime('2019-10-31 23:59:59'); | |
| // $start = strtotime('2019-11-01 00:00:00'); | |
| // $end = strtotime('2019-11-07 23:59:59'); |