Skip to content

Instantly share code, notes, and snippets.

View descention's full-sized avatar

Scott Mundorff descention

View GitHub Profile
@GaiaB0t
GaiaB0t / MEWarehouse.lua
Last active January 25, 2024 15:05 — 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 <adkinss@gmail.com> (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
@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 June 22, 2024 06:15
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 \" \