Incorporates changes by 0mnius.
The intent is to define terse, standards-supported names for AWS regions.
| # Copy and self modified from ys.zsh-theme, the one of default themes in master repository | |
| # Clean, simple, compatible and meaningful. | |
| # Tested on Linux, Unix and Windows under ANSI colors. | |
| # It is recommended to use with a dark background and the font Inconsolata. | |
| # Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
| # http://xiaofan.at | |
| # 2 Jul 2015 - Xiaofan | |
| # Machine name. | |
| function box_name { |
| #!/bin/bash | |
| #### Default Configuration | |
| CONCURRENCY=4 | |
| REQUESTS=100 | |
| ADDRESS="http://localhost:8080/" | |
| show_help() { | |
| cat << EOF |
Incorporates changes by 0mnius.
The intent is to define terse, standards-supported names for AWS regions.
| #!/bin/bash | |
| # Installation: | |
| # | |
| # 1. vim /etc/ssh/sshd_config | |
| # PrintMotd no | |
| # | |
| # 2. vim /etc/pam.d/login | |
| # # session optional pam_motd.so | |
| # |
requires
jqCLI
oc get namespaces -o json | jq '[.items[] | select((.metadata.name | startswith("openshift") | not) and (.metadata.name | startswith("kube-") | not) and .metadata.name != "default" and (true)) | .metadata.name ]'
| #cd /etc/caddy/Caddyfile | |
| example.com { | |
| root /usr/share/nginx/html | |
| gzip | |
| log /var/log/caddy/access.log | |
| #fastcgi / unix:/var/run/php-fpm/php-fpm.sock php # Fast CGI php interpreter | |
| #fastcgi / fastcgi / 127.0.0.1:9000 php # Fast CGI php interpreter | |
| #using with laravel | |
| fastcgi / unix:/var/run/php-fpm/php-fpm.sock php { | |
| index index.php |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08:
Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:
Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.
Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.
Instructions provided for both Fedora and Ubuntu (including Debian):
Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running:
| [Unit] | |
| Description=Metabase server | |
| After=syslog.target | |
| After=network.target | |
| [Service] | |
| WorkingDirectory=/home/data/tools/metabase | |
| ExecStart=/usr/bin/java -jar /home/data/tools/metabase/metabase.jar | |
| Environment=MB_JETTY_PORT=8080 | |
| User=data |
Create file /etc/systemd/system/[email protected]. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service