Skip to content

Instantly share code, notes, and snippets.

View adammelancon's full-sized avatar
🧠
Learnin'

Adam Melancon adammelancon

🧠
Learnin'
View GitHub Profile
@timothyham
timothyham / ipv6guide.md
Last active July 25, 2024 18:49
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@thomasnorris
thomasnorris / Raspberry Pi Kiosk Setup.md
Last active October 22, 2023 03:36
Instructions for installing a fresh image of Raspbian and turning the Pi into a kiosk (for google slides, google photos, etc)

Raspberry Pi Kiosk Setup

  • Install a fresh image of Raspbian and boot the Pi
  • Go through the prompts to finish initial setup
  • Open a Termial window
    • Type sudo apt-get install unclutter
    • Type sudo raspi-config
      • Select Boot Options with Enter
        • Select Wait for Network at Boot with Enter
        • Select Yes with Enter
@rshk
rshk / solardata.py
Created July 27, 2017 15:31
Get solar data from hamqsl.com XML
from collections import namedtuple
import re
import itertools
from datetime import datetime
import lxml.etree
import requests
WIDTH = 40
DATA_URL = 'http://www.hamqsl.com/solarxml.php'
#include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#define WIFI_SSID "yourssid"
#define WIFI_KEY "yourkey"
#define NOTIFY_URL "http://maker.ifttt.com/trigger/<eventname>/with/key/<yourkey>"
#define SECOND 1000
#define QUARTER_SECOND 250
@cmcginty
cmcginty / powershell-non-domain-remoting.md
Last active March 26, 2024 16:16
Windows Powershell Remoting into Non-Domain Joined System

Powershell Remoting to a Non-Domain Host

  1. From an admin shell, enable PS remoting on the machine you wish to access:
New-ItemProperty -Name LocalAccountTokenFilterPolicy `
  -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System `
  -PropertyType DWord -Value 1

Enable-PsRemoting -Force
@y0ug
y0ug / scapycdp.py
Created September 21, 2014 08:35
Scapy show CDP info
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import logging
import re
logging.getLogger("scapy").setLevel(logging.ERROR)
from scapy.all import *