Based on: https://gist.github.com/kevin-smets/8568070
This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme on Ubuntu, available for anyone to follow.
-
Setup required dependencies
# update packages sudo apt update
| /** | |
| * Hide shipping rates and methods when free shipping is available. | |
| * Updated to support WooCommerce 2.6+ Shipping Zones. | |
| * | |
| * Author: Fabio Tielen / Code Agency | |
| * URL: https://codeagency.be | |
| * | |
| * @param array $rates Array of rates found for the package. | |
| * @return array | |
| */ |
| [options] | |
| # | |
| # WARNING: | |
| # If you use the Odoo Database utility to change the master password be aware | |
| # that the formatting of this file WILL be LOST! A copy of this file named | |
| # /etc/odoo/openerp-server.conf.template has been made in case this happens | |
| # Note that the copy does not have any first boot changes | |
| #----------------------------------------------------------------------------- | |
| # Odoo Server Config File - TurnKey Linux |
| #cloud-config | |
| # Option 1 - Full installation using cURL | |
| package_update: true | |
| package_upgrade: true | |
| groups: | |
| - docker | |
| system_info: |
| #!/usr/bin/env bash | |
| # Installs NixOS on a Hetzner Cloud CX51 server, wiping the server. | |
| # | |
| # This is for a specific server configuration; adjust where needed. | |
| # | |
| # Prerequisites: | |
| # * Update the script to adjust SSH pubkeys, hostname, NixOS version etc. | |
| # | |
| # Usage: |
| version: "3.3" | |
| services: | |
| ################################################ | |
| #### Traefik Proxy Setup ##### | |
| ############################################### | |
| traefik: | |
| image: traefik:v2.0 | |
| restart: always |
| ## Setting up the middleware for redirect to https ## | |
| http: | |
| middlewares: | |
| redirect: | |
| redirectScheme: | |
| scheme: https |
Based on: https://gist.github.com/kevin-smets/8568070
This gist outlines the steps needed to setup zsh, ohmyzsh and the powerlevel10k theme on Ubuntu, available for anyone to follow.
Setup required dependencies
# update packages
sudo apt update
| #cloud-config | |
| package_update: true | |
| package_upgrade: true | |
| package_reboot_if_required: true | |
| manage-resolv-conf: true | |
| resolv_conf: | |
| nameservers: | |
| - '8.8.8.8' |
| <?php | |
| /* | |
| * Code snippet to make login form with Fluent Forms WordPress Plugins | |
| * Steps: | |
| * 1. make a form with email and password (Make sure the name attribute is 'email' and 'password' for corresponding field) | |
| * 2. Paste the shorcode in a page | |
| * 3. Change the form id in the bellow code (23) with your created fluentform's form id and paste in your theme's functions.php file | |
| * 4. That's it | |
| * |
I run several K8S cluster on EKS and by default do not setup inbound SSH to the nodes. Sometimes I need to get into each node to check things or run a one-off tool.
Rather than update my terraform, rebuild the launch templates and redeploy brand new nodes, I decided to use kubernetes to access each node directly.