Skip to content

Instantly share code, notes, and snippets.

View elmer's full-sized avatar
:octocat:
exploring

Elmer Rivera elmer

:octocat:
exploring
View GitHub Profile
@elmer
elmer / k3d-install-dashboard.md
Created February 27, 2024 17:17 — forked from smijar/k3d-install-dashboard.md
k3d-install-dashboard

ref

https://rancher.com/docs/k3s/latest/en/installation/kube-dashboard/

install

Deploying the Kubernetes Dashboard

GITHUB_URL=https://github.com/kubernetes/dashboard/releases
VERSION_KUBE_DASHBOARD=$(curl -w '%{url_effective}' -I -L -s -S ${GITHUB_URL}/latest -o /dev/null | sed -e 's|.*/||')
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/${VERSION_KUBE_DASHBOARD}/aio/deploy/recommended.yaml
@elmer
elmer / VMware vSphere 6.x Licence Keys
Created July 25, 2023 07:02 — forked from CHSuworatrai/VMware vSphere 6.x Licence Keys
VMware vSphere 6 and 7 Licence Keys
VMware vSphere 6 Enterprise Plus
1C20K-4Z214-H84U1-T92EP-92838
1A2JU-DEH12-48460-CT956-AC84D
MC28R-4L006-484D1-VV8NK-C7R58
5C6TK-4C39J-48E00-PH0XH-828Q4
4A4X0-69HE3-M8548-6L1QK-1Y240
VMware vSphere with Operations Management 6 Enterprise
4Y2NU-4Z301-085C8-M18EP-2K8M8
1Y48R-0EJEK-084R0-GK9XM-23R52
@elmer
elmer / oauth-client.rb
Created September 14, 2022 00:07 — forked from dagingaa/oauth-client.rb
A minimal Sinatra OAuth 2.0 client and resource server.
require 'sinatra'
require 'open-uri'
require 'json'
# This application is the bare minimum to authorize with OAuth 2.0
# using the authorization grant scheme. No error handling included.
# The application is both a client and a resource server.
# Start it by using 'ruby <file>' and navigate to http://localhost:4567
#
# The application also needs the oauth-server written in Java.
@elmer
elmer / GetNordVPNWireGuardDetails.md
Created March 9, 2022 04:57 — forked from bluewalk/GetNordVPNWireGuardDetails.md
Getting NordVPN WireGuard details
@elmer
elmer / RFC 1925
Created February 22, 2011 03:38
The Twelve Networking Truths
Network Working Group R. Callon, Editor
Request for Comments: 1925 IOOF
Category: Informational 1 April 1996
The Twelve Networking Truths
Status of this Memo
This memo provides information for the Internet community. This memo
does not specify an Internet standard of any kind. Distribution of
forward-addr: 2606:4700:4700::1111@53 # cloudflare
forward-addr: 2606:4700:4700::1001@53 # cloudflare
forward-addr: 2001:470:20::2@53 # he
forward-addr: 2620:fe::9@53 # quad9
forward-addr: 2620:fe::fe@53 # quad9
forward-addr: 91.239.100.100@53 # anycast.censurfridns.dk
forward-addr: 89.233.43.71@53 # unicast.censurfridns.dk
forward-addr: 74.82.42.42@53 # he
forward-addr: 1.1.1.1@53 # one.one.one.one
@elmer
elmer / RESEARCH_NANO_G.md
Created December 11, 2020 10:42 — forked from thomasgroch/RESEARCH_NANO_G.md
UFiber Nano G Research
"https://adaway.org/hosts.txt"
"https://blocklist.site/app/dl/ads"
"https://blocklist.site/app/dl/drugs"
"https://blocklist.site/app/dl/fraud"
"https://blocklist.site/app/dl/gambling"
"https://blocklist.site/app/dl/malware"
"https://blocklist.site/app/dl/phishing"
"https://blocklist.site/app/dl/piracy"
"https://blocklist.site/app/dl/porn"
"https://blocklist.site/app/dl/ransomware"
# rb-check
# Mikrotik RayBill Network Checker
# PPPoE Interface
:local rbInterface pppoe-rb
# Gateway in RB network
:local rbGateway 192.168.1.1
# Ping failure threshold
@elmer
elmer / unmarshal_user.go
Created October 26, 2019 12:15 — forked from lachlan-eagling/unmarshal_user.go
Blog - Anatomy of a Struct (Unmarshaling)
package main
import (
"encoding/json"
"fmt"
)
type User struct {
FirstName string `json:"firstName"`
LastName string `json:"surname"`