Note: You may have to go into Preferences (⌘,) -> Profiles -> Keys and enable Left option (⌥) key acts as: +Esc for the option commands to work.
| Modifier | Symbol |
|---|---|
| Option | ⌥ |
| Command | ⌘ |
| Control | ⌃ |
| Caps Lock | ⇪ |
| Shift | ⇧ |
| // Go to Radarr and click 'settings' => 'general'. | |
| // Open the JavaScript Console in Google Chrome (View => Developer => Javascript Console) | |
| // Past the following in. Hit enter and away you go. | |
| const key = document.getElementsByClassName('x-api-key')[0].value; | |
| if (!key) { | |
| alert('Navigate to /settings/general and run again'); | |
| } |
Note: You may have to go into Preferences (⌘,) -> Profiles -> Keys and enable Left option (⌥) key acts as: +Esc for the option commands to work.
| Modifier | Symbol |
|---|---|
| Option | ⌥ |
| Command | ⌘ |
| Control | ⌃ |
| Caps Lock | ⇪ |
| Shift | ⇧ |
| # Ansible EC2 external inventory script settings | |
| # | |
| [ec2] | |
| # to talk to a private eucalyptus instance uncomment these lines | |
| # and edit edit eucalyptus_host to be the host name of your cloud controller | |
| #eucalyptus = True | |
| #eucalyptus_host = clc.cloud.domain.org |
| # Install dependencies that nginx was originally compiled with | |
| sudo apt install libperl-dev libgeoip-dev libgd-dev | |
| # Get the nginx source | |
| wget https://nginx.org/download/nginx-1.14.0.tar.gz | |
| tar zxf nginx-1.14.0.tar.gz | |
| # Get the module source | |
| wget https://github.com/fdintino/nginx-upload-module/archive/master.zip | |
| unzip master.zip |
| sudo apt-get install -y python-dev python-pip | |
| sudo pip install ansible | |
| sudo ansible-galaxy install geerlingguy.apache geerlingguy.mysql geerlingguy.php | |
| wget https://gist.github.com/popstas/61a5ddce08fe1a269f62576808cee54e/raw/de7bceea261f5a76fd88d8673046e5e18be7e35a/lamp.yml | |
| ansible-playbook -i 'localhost,' -c local lamp.yml |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
| #! /bin/bash | |
| # https://nghttp2.org/documentation/h2load-howto.html | |
| sudo apt-get update | |
| sudo apt-get install -y g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libc-ares-dev libjemalloc-dev cython python3-dev python-setuptools libjemalloc-dev libspdylay-dev | |
| git clone https://github.com/nghttp2/nghttp2.git && cd nghttp2 && autoreconf -i && automake && autoconf && ./configure --enable-app && make && make install | |
| ./src/h2load --help |
| global | |
| log /dev/log local0 | |
| log /dev/log local1 notice | |
| chroot /var/lib/haproxy | |
| stats socket /run/haproxy/admin.sock mode 660 level admin | |
| stats timeout 30s | |
| user haproxy | |
| group haproxy | |
| daemon | |
| maxconn 2048 |
| #!/bin/bash | |
| # Source: http://vmhacks.com/freeipa-password-expiry-notification-script-for-red-hat-identity-management/ | |
| # notifies people a set number of days before expiry, once via email | |
| # open a kerberos ticket using keytab authentication | |
| # the following keytab file was made using ktutil with rc4-hmac | |
| /usr/bin/kinit [email protected] -k -t /sextoys/admin.keytab |