Skip to content

Instantly share code, notes, and snippets.

View descention's full-sized avatar

Scott Mundorff descention

View GitHub Profile
@ammuench
ammuench / 8BitDoUltimateWifi_Linux.MD
Last active April 30, 2025 05:21
8BitDo Ultimate 2.4GHz wifi working in linux
@GaiaB0t
GaiaB0t / MEWarehouse.lua
Last active April 11, 2025 16:08 — forked from adkinss/RSWarehouse.lua
Minecolonies + ComputerCraft (CC:Tweaked) + Refined Storage/Applied Energistics 2 + Advanced Peripherals script to automatically fulfill open work requests, now with applied energistics 2 support(in the MEWarehouse.lua file)
-- MEWarehouse.lua
-- Author: Scott Adkins <[email protected]> (Zucanthor)
-- Edited by Gaiabot(in progress)
-- Published: 2021-09-21
--
-- currently changing stuff over to ME bridge for me and my friends
-- This program monitors work requests for the Minecolonies Warehouse and
-- tries to fulfill requests from the Refined Storage network. If the
@dj-mcculloch
dj-mcculloch / auto_wol.nfs
Last active March 24, 2025 19:36
autofs NFS Mount Executable Map with Wake-On-LAN and Path Validation
#!/bin/bash
# Author: dj-mcculloch
# Documentation: https://dj-does.medium.com/nfs-mounts-and-wake-on-lan-25c0c1d55c90
# Adaptation of rufflove's comment solution (https://www.blogger.com/profile/01096649615527099308) via tech-bodges'
# blog post from 2010 http://tech-bodges.blogspot.com/2010/06/linux-autofs-and-wake-on-lan-bodge.html as well as
# bryanchicken's post (https://forum.kodi.tv/showthread.php?tid=118164)
# {NFS_IP} is where you would put in your NFS' IPv4 address, e.g. the IP
@snwfdhmp
snwfdhmp / excavate+useallfuel.lua
Created April 4, 2020 10:58
Minecraft/Buildcraft Mining Turtle: 'excavate' program except it uses all fuel it collects
local tArgs = { ... }
if #tArgs ~= 1 then
print( "Usage: excavate <diameter>" )
return
end
-- Mine in a quarry pattern until we hit something we can't dig
local size = tonumber( tArgs[1] )
if size < 1 then
print( "Excavate diameter must be positive" )
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Reporting.WinForms;
using System.Reflection;
using System.Drawing.Printing;
using System.IO;
using System.Drawing.Imaging;
using System.Drawing;
@steinwaywhw
steinwaywhw / One Liner to Download the Latest Release from Github Repo.md
Last active April 24, 2025 03:09
One Liner to Download the Latest Release from Github Repo
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \