Follow the steps below to install Team City 10.0.2 on Debian/Ubuntu with Nginx as the proxy for port 80.
Requirements:
- curl
- configure utf-8 locale of your choice (recommended)
Install Team City:
| http { | |
| [...] | |
| # webp support | |
| # see: https://docs.ewww.io/article/16-ewww-io-and-webp-images | |
| map $http_accept $webp_suffix { | |
| default ""; | |
| "~*webp" ".webp"; | |
| } | |
| server { |
| <!-- wp:heading --> | |
| <h2>Heading Block (H2)</h2> | |
| <!-- /wp:heading --> | |
| <!-- wp:heading --> | |
| <h3>You are looking at one. (H3)</h3> | |
| <!-- /wp:heading --> | |
| <!-- wp:heading --> | |
| <h2>Subhead Block</h2> |
| <!-- wp:paragraph {"align":"center","customTextColor":"#000000","backgroundColor":"very-light-gray","fontSize":"small"} --> | |
| <p style="color:#000000;text-align:center" class="has-background has-small-font-size has-very-light-gray-background-color">Gutenberg Sample Content.<br/>Put together with ❤️ by <a href="https://artisanthemes.io/">Artisan Themes</a>.</p> | |
| <!-- /wp:paragraph --> | |
| <!-- wp:heading {"level":1} --> | |
| <h1>This is a heading (H1)</h1> | |
| <!-- /wp:heading --> | |
| <!-- wp:heading --> | |
| <h2>This is a heading (H2)</h2> |
| <?php | |
| class MyTheme | |
| { | |
| private function actionAfterSetup($function) | |
| { | |
| add_action('after_setup_theme', function() use ($function) { | |
| $function(); | |
| }); | |
| } |
| /** | |
| * Prevent update notification for plugin | |
| * http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
| * Place in theme functions.php or at bottom of wp-config.php | |
| */ | |
| function disable_plugin_updates( $value ) { | |
| if ( isset($value) && is_object($value) ) { | |
| if ( isset( $value->response['plugin-folder/plugin.php'] ) ) { | |
| unset( $value->response['plugin-folder/plugin.php'] ); | |
| } |
| sed -i '/ufw-before-input.*icmp/s/ACCEPT/DROP/g' /etc/ufw/before.rules | |
| sed -i '/ufw6-before-input.*icmp/s/ACCEPT/DROP/g' /etc/ufw/before6.rules |
| #!/bin/bash | |
| ########## Install Shadowsocks ########## | |
| # <https://github.com/shadowsocks/shadowsocks/blob/master/README.md> | |
| apt-get update | |
| apt-get install python-pip -y | |
| pip install shadowsocks |
| <?php | |
| // have to add that opening tag to get syntax highlighting... ¯\_(ツ)_/¯ | |
| /** | |
| * Prevent update notification for plugin | |
| * http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
| * Place in theme functions.php or at bottom of wp-config.php | |
| */ | |
| function disable_plugin_updates( $value ) { |
reatlat-shortcode-plugin.php file to the /wp-content/plugins/ directory[bartag foo="Some new Foo variable"] to content editor.