Skip to content

Instantly share code, notes, and snippets.

View everdaniel's full-sized avatar
🏠
Working from home

Ever Daniel Barreto everdaniel

🏠
Working from home
View GitHub Profile
@jamal919
jamal919 / install_wrf41.sh
Last active December 5, 2024 15:04
WRF 4.1.2 installation with netCDF4, HDF5 in ubuntu 18.04 LTS
#!/bin/bash
## WRF installation with parallel process.
# Download and install required library and data files for WRF.
# License: LGPL
# Jamal Khan <[email protected]>
# Tested in Ubuntu 18.04 LTS
# basic package managment
sudo apt update
sudo apt upgrade
@fideloper
fideloper / certbot.sh
Last active April 16, 2025 13:53
Certbot on Ubuntu, wildcard subdomains via CloudFlare DNS challenge
# Used on Ubuntu 18.04 and 20.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Install DNS CloudFlare plugin
sudo snap set certbot trust-plugin-with-root=ok
@kaechele
kaechele / asdm-mac.zsh
Last active October 28, 2024 16:48
Mac Launcher for Cisco ASDM
#!/bin/zsh
# Cisco ASDM Launcher for Mac
# 2023-01-09 Felix Kaechele <[email protected]>
# Note: This method of running ASDM on Mac is not supported by Cisco
local asdm_path=~/.asdm
# ASDM will only work with Java 8 (aka 1.8.0)
local java_version=1.8.0
local java_home=`/usr/libexec/java_home -v $java_version -F`
@everdaniel
everdaniel / certbot.sh
Created January 3, 2024 03:49 — forked from fideloper/certbot.sh
Certbot on Ubuntu, wildcard subdomains via CloudFlare DNS challenge
# Used on Ubuntu 18.04 and 20.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Install DNS CloudFlare plugin
sudo snap set certbot trust-plugin-with-root=ok