Skip to content

Instantly share code, notes, and snippets.

@willccbb
willccbb / grpo_demo.py
Last active August 16, 2025 20:47
GRPO Llama-1B
# train_grpo.py
#
# See https://github.com/willccbb/verifiers for ongoing developments
#
"""
citation:
@misc{brown2025grpodemo,
title={Granular Format Rewards for Eliciting Mathematical Reasoning Capabilities in Small Language Models},
author={Brown, William},

awesome-homelab

Dell

iDRAC

  • Set iDrac settings using System Boot Menu
    • Set Static IP: F2 > iDrac settings > Network
    • Set Username / Password: F2 > iDrac settings > Access
  • Flash iDRAC7_LocalLicense_Installation_Tool_A00_1.0.iso using dd to USB
  • 30 day evaluation license and enabled dedicated iDrac NIC
@lambdaknight
lambdaknight / kill_sponsored_facebook.user.js
Created December 28, 2020 14:29
Remove Sponsored Facebook Elements
// ==UserScript==
// @name Remove Sponsored Facebook Elements
// @description Remove sponsored items from feed.
// @author Turing Eret
// @namespace us.lambdacalcul
// @version 0.1
// @copyright Copyright © 2020 Turing Eret
// @license MIT
// @match https://*.facebook.com/*
// @grant none
@Mordo95
Mordo95 / userscript.js
Last active February 20, 2024 23:39
Tampermonkey script to add a download button to facebook, reddit and youtube videos
// ==UserScript==
// @name Video Downloader for Tampermonkey
// @version 0.4
// @description Will add a download button to Reddit, Facebook and Youtube videos
// @author Github/Mordo95
// @match *://*/*
// @grant GM_xmlhttpRequest
// @run-at document-start
// ==/UserScript==
@w00tc
w00tc / 1) Active Directory One Liners
Last active August 19, 2024 22:56
Some Pentesting Notes
Retrieves all of the trust relationships for this domain - Does not Grab Forest Trusts
([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).GetAllTrustRelationships()
Grab Forest Trusts.
([System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()).GetAllTrustRelationships()
@geerlingguy
geerlingguy / pi-cpu-stress.sh
Last active August 19, 2025 02:23
Raspberry Pi CPU temperature and throttling test script
#!/bin/bash
# Raspberry Pi stress CPU temperature measurement script.
#
# Download this script (e.g. with wget) and give it execute permissions (chmod +x).
# Then run it with ./pi-cpu-stress.sh
#
# NOTE: In recent years, I've switched to using s-tui. See:
# https://github.com/amanusk/s-tui?tab=readme-ov-file#options
# Variables.
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active August 18, 2025 14:10
set -e, -u, -o, -x pipefail explanation
@markofu
markofu / Security_Tools_for_AWS.MD
Last active October 2, 2023 15:30
Security Tools for AWS

Security Tools for AWS

I often get asked which tools are good to use for securing your AWS infrastructure so I figured I'd write a short listof some useful Security Tools for the AWS Cloud Infrastructure.

This list is not intended be something completely exhaustive, more so provide a good launching pad for someone as they dig into AWS and want to make it secure from the start.

Open Source

This section focuses on tools and services provided by the community and released as open-source.

@pryorda
pryorda / gist:c68b69b95244afc3c5487a047a2efa8a
Last active December 3, 2024 22:08
Creating KeyBoard Shortcuts that work on MAC
We couldn’t find that file to show.
@hkamran80
hkamran80 / SmartTV2.txt
Last active July 23, 2025 14:47
Pi-hole Blocklist for Smart TVs
# THIS FILE IS NO LONGER BEING MAINTAINED. FOR A MAINTAINED VERSION, PLEASE USE THE VERSION IN THE NEW REPOSITORY.
# Repository: https://github.com/hkamran80/blocklists
# New link for this file: https://raw.githubusercontent.com/hkamran80/blocklists/main/smart-tv
# ------
# This is a blocklist to block Smart TVs sending data home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.