Skip to content

Instantly share code, notes, and snippets.

@adkinss
adkinss / RSWarehouse.lua
Last active October 23, 2026 16:19
Minecolonies + ComputerCraft (CC:Tweaked) + Refined Storage + Advanced Peripherals script to automatically fulfill open work requests
-- RSWarehouse.lua
-- Author: Scott Adkins <adkinss@gmail.com> (Zucanthor)
-- Published: 2021-09-21
--
-- This program monitors work requests for the Minecolonies Warehouse and
-- tries to fulfill requests from the Refined Storage network. If the
-- RS network doesn't have enough items and a crafting pattern exists, a
-- crafting job is scheduled to restock the items in order to fulfill the
-- work request. The script will continuously loop, monitoring for new
-- requests and checking on crafting jobs to fulfill previous requests.
@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@bijij
bijij / viewimage.user.js
Last active August 13, 2026 19:55
Userscript version of the View Image chrome extension
// ==UserScript==
// @name View Image
// @namespace https://github.com/bijij/ViewImage
// @version 4.1.1
// @description This userscript re-implements the "View Image" and "Search by image" buttons into google images.
// @author Joshua B
// @run-at document-end
// @include http*://*.google.tld/search*tbm=isch*
// @include http*://*.google.tld/imgres*
// @updateURL https://gist.githubusercontent.com/bijij/58cc8cfc859331e4cf80210528a7b255/raw/viewimage.user.js
According to all known laws of aviation, there is no way a bee should be able to fly.
Its wings are too small to get its fat little body off the ground.
The bee, of course, flies anyway because bees don't care what humans think is impossible.
Yellow, black. Yellow, black. Yellow, black. Yellow, black.
Ooh, black and yellow!
Let's shake it up a little.
Barry! Breakfast is ready!
Coming!
Hang on a second.
Hello?
@dkneeland
dkneeland / ai-package-detector.yaml
Last active August 20, 2026 14:28
AI Package Detector - Home Assistant Blueprint
blueprint:
name: AI Package Detector
description: >
📦🔍 AI Package Detector: Detects and notifies you when packages appear or disappear at your doorstep using camera snapshots and the Google Generative AI integration.
This automation analyzes images from your cameras and compares them to the previous state, sending notifications when changes in package count are detected. It can be triggered by a
time schedule or by optional motion sensors.
**Version:** 1.2 (2025-03-18)
- Added package status helper to track package presence as an on/off state
@bryanbellato
bryanbellato / pre-calculus-roadmap.txt
Last active October 23, 2026 16:40
ROADMAP de Matemática até Pré-Calculo
ROADMAP de Matemática antes de Cálculo 1:
BÁSICO DO BÁSICO:
- As quatro operações básicas
- Expressões númericas
- Frações
- Operações com números decimais
- Dízimas Periódicas
- Múltiplos e Divisores
- Critérios de Divisibilidade
@soloradish
soloradish / vault_logrotate
Created September 12, 2018 02:25
logrotate setting file for HashiCorp's Vault audit file
# Change the path below to your own audit log path.
/var/log/vault/audit.log {
rotate 30
daily
# Do not execute rotate if the log file is empty.
notifempty
missingok
compress
# Set compress on next rotate cycl to prevent entry loss when performing compression.
delaycompress
@renestalder
renestalder / README.md
Last active October 7, 2026 08:03
Unfollow all on Facebook

Facebook: Unfollow people and pages

See comments section for more up-to-date versions of the script. The original script is from 2014 and will not work as is.

  1. Open news feed preferences on your Facebook menu (browser)
  2. Click people or pages
  3. Scroll down (or click see more) until your full list is loaded
  4. Run the script in your browser console

Facebook will block this feature for you while you use it, depending on how much entities you try to unfollow. It automatically unblocks in a couple of hours and you will be able to continue.

@shurshur
shurshur / Build_instructions.md
Created October 21, 2026 20:05
Build remi-php 8.2.35 for CentOS 7 (el7)

Build remi-php 8.2.35 for CentOS 7 (el7)

DiSCLAIMER! No warranty! Use at your own risk! Remi officially doesn't support el7 distributions now!

  1. Get source RPM:
wget https://rpms.remirepo.net/SRPMS/php82-php-8.2.35-1.remi.src.rpm