cat > /etc/yum.repos.d/prometheus.repo <<-GRAFANA
[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/stable/el/7/\$basearch
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/sh | |
| # Credits to: | |
| # - http://vstone.eu/reducing-vagrant-box-size/ | |
| # - https://github.com/mitchellh/vagrant/issues/343 | |
| # - https://gist.github.com/adrienbrault/3775253 | |
| ## for vagrant related tasks, uncomment vagrant comments | |
| # vagrant: Unmount project |
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
| override_git_prompt_colors() { | |
| # This is the custom theme template for gitprompt.sh | |
| GIT_PROMPT_THEME_NAME="Custom" | |
| GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${ResetColor}[${Cyan}${USER}${ResetColor}@${Green}${HOSTNAME%%.*}:${Yellow}${PathShort}${ResetColor}]" | |
| GIT_PROMPT_START_ROOT="_LAST_COMMAND_INDICATOR_ ${ResetColor}[${BoldRed}${USER}${ResetColor}@${Green}${HOSTNAME%%.*}:${Yellow}${PathShort}${ResetColor}]" | |
| GIT_PROMPT_END_ROOT="${BoldRed}\n\A #${ResetColor} " | |
| GIT_PROMPT_END_USER="${ResetColor}\n\A $ " |
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=FRP Client Daemon | |
| After=network.target | |
| Wants=network.target | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/frpc -c /etc/frpc.ini | |
| Restart=always | |
| RestartSec=20s |
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
| (function($) | |
| { | |
| $.Redactor.prototype.readonly = function() | |
| { | |
| return { | |
| init: function() | |
| { | |
| if (!this.opts.readonly) return; | |
| this.opts.toolbar = false; |
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
| **Axure 8.0及以前** | |
| Licensee:IloveyouAxure | |
| Key:UChpuxwbDW6eAIaAf9UujEFSBwN3vpEz9snHvlCQVJGQy4p7WrCyKLLvV5QLvqva | |
| Licensee:Axure | |
| Key:8t+3Yk/zu4cX601/seX6wBZgYRVj/lkC2PICCdO4+sFKCCLx8mcCnccoylVb40lP | |
| Licensee:axureuser | |
| Key:8wFfIX7a8hHq6yAy6T8zCz5R0NBKeVxo9IKu+kgKh79FL6IyPD6lK7G6+tqEV4LG | |
| Licensee:米 业成 (STUDENT) | |
| Key:nFmqBBvEqdvbiUjy8NZiyWiRSg3yO+PtZ8c9wdwxWse4WprphvSu9sohAdpNnJK5 | |
| **Axure 8.1.0.3366** |
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
| --style=1tbs | |
| indent=spaces=4 | |
| indent-namespaces | |
| indent-classes | |
| indent-modifiers | |
| indent-switches | |
| indent-after-parens | |
| indent-preproc-define | |
| indent-col1-comments |
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
| const vscode = require('vscode'), | |
| childProcess = require('child_process'), | |
| fs = require('fs'); | |
| // Global vars | |
| // Status bar | |
| const statusBar = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left); | |
| // Show message in StatusBar |
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
| { | |
| "editor.renderWhitespace": "all", | |
| "editor.dragAndDrop": false, | |
| "editor.detectIndentation": false, | |
| "editor.fontFamily": "'Noto Sans Mono', Consolas, 'Courier New', monospace", | |
| "editor.rulers": [80, 120], | |
| "files.eol": "\n", | |
| "files.encoding": "utf8", | |
| "files.exclude": { |
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
| /* | |
| * This is an implementation of wcwidth() and wcswidth() (defined in | |
| * IEEE Std 1002.1-2001) for Unicode. | |
| * | |
| * http://www.opengroup.org/onlinepubs/007904975/functions/wcwidth.html | |
| * http://www.opengroup.org/onlinepubs/007904975/functions/wcswidth.html | |
| * | |
| * In fixed-width output devices, Latin characters all occupy a single | |
| * "cell" position of equal width, whereas ideographic CJK characters | |
| * occupy two such cells. Interoperability between terminal-line |