Skip to content

Instantly share code, notes, and snippets.

View nethershaw's full-sized avatar

Archer nethershaw

View GitHub Profile
@russdill
russdill / addssh.sh
Last active May 8, 2025 07:14
Airvisual Pro Outdoor Samba Support
#!/bin/sh
BASENAME="$(dirname $0)"
pw="EDIT_ME"
# Instructions:
# * Edit the samba pw (pw=) field
# * Place this script (addssh.sh) in the avossh/ directory of a VFAT formatted
# microsd card.
# * Place the microsd card into a powered Airvisual Pro outdoor unit.
@andypiper
andypiper / set-transparency.md
Created October 20, 2024 18:05
Set transparency in Ptyxis (GNOME Terminal) in Fedora 41

Get the UUID of the default profile

Substitute that value in to the second command to enable transparency level

$ dconf read /org/gnome/Ptyxis/default-profile-uuid
'3aae5a177777aa966b1fd63467153e2d'
$ dconf write /org/gnome/Ptyxis/Profiles/3aae5a177777aa966b1fd63467153e2d/opacity 0.85
@mariadanieldeepak
mariadanieldeepak / checkout-submodule-tags.sh
Created November 20, 2019 02:24
Checkout Tag On Git Submodules
# List available Tags
git tag
# Checkout a tag in the main repo.
git checkout <tagname>
# Initialize any uninitialized submodule and recursivesly update the Submodules.
git submodule update --init --recursive
@ryanj
ryanj / ATO2017-Introduction-to-Kubernetes.html
Last active December 16, 2024 17:55
Introduction to Kubernetes at All Things Open 2017 - http://bit.ly/ato-k8s
<section data-transition='concave'>
<section id="extended-session">
<a href="http://kubernetes.io/"><img src="https://cdn.rawgit.com/ryanj/1aed9676c69ab0073be0beb60ca77a9c/raw/74f82bdfb47f1addaca529e8ee63ed678356a62f/kubernetes-blueprint-logo.svg" alt="kubernetes" style='width:30%;'></a>
<h2>Introduction to Kubernetes</h2>
<h4 class='fragment roll-in'><i>EXTENDED SESSION</i></h4>
<p><a href="https://allthingsopen.org/talk/introduction-to-kubernetes-extended-session/">Monday, October 23rd 1:30pm–3:15pm</a><br/>
<a href="https://allthingsopen.org/talk/introduction-to-kubernetes-extended-session/">Ballroom A #ATO2017</a></p>
<br/>
<h4 class='fragment grow'><a href="http://bit.ly/ato-k8s">bit.ly/ato-k8s</a></h4>
</section>
@psyke83
psyke83 / restart.sh
Last active January 14, 2017 00:21
openwrt wl-842n ag71xx workaround
#!/bin/sh
trigger="eth1: tx timeout"
if [ "$1" = "force" ]; then
lastbuffer=""
else
lastbuffer=$(dmesg | grep "$trigger" | tail -n1)
fi
while true; do
@P7h
P7h / jdk_download.sh
Last active May 5, 2025 10:36
Script to download JDK / JRE / Java binaries from Oracle website from terminal / shell / command line / command prompt
##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### ##### #####
### Shell script to download Oracle JDK / JRE / Java binaries from Oracle website using terminal / command / shell prompt using wget.
### You can download all the binaries one-shot by just giving the BASE_URL.
### Script might be useful if you need Oracle JDK on Amazon EC2 env.
### Script is updated for every JDK release.
### Features:-
# 1. Resumes a broken / interrupted [previous] download, if any.
# 2. Renames the file to a proper name with including platform info.