Skip to content

Instantly share code, notes, and snippets.

View ryanlong1004's full-sized avatar
💭
Around here somewhere...

Ryan Long ryanlong1004

💭
Around here somewhere...
View GitHub Profile
@ryanlong1004
ryanlong1004 / raspberrypi_hostapd_network_setup.md
Created March 9, 2025 23:38 — forked from Cdaprod/raspberrypi_hostapd_network_setup.md
To make your Raspberry Pi Zero 2 W broadcast a `hostapd` network upon powering on, you'll need to install and configure `hostapd` and `dnsmasq`, and set up a static IP for the wireless interface. Here's a detailed guide on how to achieve this:

To make your Raspberry Pi Zero 2 W broadcast a hostapd network upon powering on, you'll need to install and configure hostapd and dnsmasq, and set up a static IP for the wireless interface. Here's a detailed guide on how to achieve this:

Task Creation Chain

  1. Install Necessary Packages: Install hostapd and dnsmasq.
  2. Configure Static IP for WLAN: Set a static IP for the wireless interface.
  3. Configure Hostapd: Set up the access point details.
  4. Configure Dnsmasq: Set up the DHCP server.
  5. Enable Services on Boot: Ensure hostapd and dnsmasq start on boot.
@ryanlong1004
ryanlong1004 / remove_empty_folders.py
Last active January 18, 2022 02:31 — forked from jacobtomlinson/remove_empty_folders.py
Python Recursively Remove Empty Directories
#! /usr/bin/env python
"""
Module to remove empty folders recursively. Can be used as standalone script or be imported into existing script.
"""
import os
import argparse
import pathlib
import asyncio
import logging
@ryanlong1004
ryanlong1004 / gist:2389143582d2584fc1ebc8198cad0795
Created October 19, 2021 16:01 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch
@ryanlong1004
ryanlong1004 / pip.md
Created October 1, 2021 18:12 — forked from saurabhshri/pip.md
Install and use pip in a local directory without root/sudo access.

Install and use pip in a local directory without root/sudo access.

Why?

Many users when are given server access, do not have root (or sudo) privileges and can not simply do sudo apt-get install python-pip . Here's an easy way you can install and use pip without root (or sudo) access in a local directory. Note : This works without easy_install too.

How?