Skip to content

Instantly share code, notes, and snippets.

View Krutoy242's full-sized avatar

Krutoy242

View GitHub Profile
@Krutoy242
Krutoy242 / chest-info.lua
Last active March 5, 2023 07:25
colossal-chest-info
--[[
Menu drawn with https://kirilllive.github.io/ASCII_Art_Paint/ascii_paint.html
installation:
wget https://gist.githubusercontent.com/Krutoy242/780b54c0602d633b57c9532668a1150a/raw/3b7903d09b572e8c495841c730933705602c1d4e/chest-info.lua -f && chest-info.lua
]]
@Krutoy242
Krutoy242 / items.csv
Created October 28, 2022 08:56
E2E-E items for craft tree
We can't make this file beautiful and searchable because it's too large.
display,tooltips,purity,complexity,cost,processing,steps,imgsrc,labels,recipeIndexes,depIndexes,id
Decuple Compressed Mossy Cobblestone,,1,19371266587864.5,19371266587805.5,59,10,additionalcompression/cobblestonemossy_compressed__9,🍾,86289,86290,additionalcompression:cobblestonemossy_compressed:9
Decuple Compressed Soul Sand,,1,4303488903116.7456,4303488820764.8154,82351.9299649956,18,additionalcompression/soulsand_compressed__9,🍾,86320,86319,additionalcompression:soulsand_compressed:9
Decuple Compressed Sand,,1,4300002037111.968,4300002036363.8154,748.1523038731902,16,additionalcompression/blocksand_compressed__9,🍾,86240,86239,additionalcompression:blocksand_compressed:9
Nonuple Compressed Mossy Cobblestone,,1,2152362954258.5,2152362954200.5,58,9,additionalcompression/cobblestonemossy_compressed__8,,86287 86290,86288 86289,additionalcompression:cobblestonemossy_compressed:8
Decuple Compressed Dust,,1,764916008034.2697,764916005672.2839,2361.985731177481,28,additionalcompression/dust_compressed__9,🍾,86521,865
@Krutoy242
Krutoy242 / lostuser.lua
Last active January 6, 2023 11:07
Lost User 2 - EEPROM for simpliest robot
--[[
Lost User - simpliest robot
Author: Krutoy242
Source and readme:
https://gist.githubusercontent.com/Krutoy242/1f18eaf6b262fb7ffb83c4666a93cbcc
]]
@Krutoy242
Krutoy242 / lostuser.lua
Last active September 6, 2022 16:37
LostUser - template robot BIOS for multiuse
--[[
Lost User - EEPROM for simpliest robot usage
]]
local initProgram = [[
'Constants'
-n([r.iSz]*)
@Krutoy242
Krutoy242 / settings.json
Created December 26, 2021 12:32
VSCode "Highlight" extension settings for Minecraft Color Codes for `.lang` and `.zs` files
{
"highlight.regexes": {
// For .lang files
"(§0)(.+?)(§[^lmno0]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#000000"}, {}]},
"(§1)(.+?)(§[^lmno1]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#0000AA"}, {}]},
"(§2)(.+?)(§[^lmno2]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#00AA00"}, {}]},
"(§3)(.+?)(§[^lmno3]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#00AAAA"}, {}]},
"(§4)(.+?)(§[^lmno4]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#AA0000"}, {}]},
"(§5)(.+?)(§[^lmno5]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#AA00AA"}, {}]},
"(§6)(.+?)(§[^lmno6]|\n|$)": { "filterFileRegex": ".*\\.lang", "decorations": [{}, {"color": "#FFAA00"}, {}]},
@Krutoy242
Krutoy242 / settings.json
Last active December 26, 2021 12:15
VSCode Surround Extension settings for Minecraft Color Codes
{
"surround.custom": {
"mc_Bold" : {"label": "𝐁 Bold" ,"description" : "Change style to Bold" ,"snippet" : "§l$TM_SELECTED_TEXT§r"},
"mc_Strikethrough": {"label": "s Strikethrough" ,"description" : "Change style to Strikethrough","snippet" : "§m$TM_SELECTED_TEXT§r"},
"mc_Underline" : {"label": "u Underline" ,"description" : "Change style to Underline" ,"snippet" : "§n$TM_SELECTED_TEXT§r"},
"mc_Italic" : {"label": "i Italic" ,"description" : "Change color to Italic" ,"snippet" : "§o$TM_SELECTED_TEXT§r"},
"mc_white" : {"label": "⚪ White" ,"description" : "Change color to white" ,"snippet" : "§f$TM_SELECTED_TEXT§r"},
"mc_black" : {"label": "⚫ Black" ,"description" : "Change color to black" ,"snippet" : "§0$TM_SELECTED_TEXT§r"},
"mc_dark_gray" : {"label": "🌚 Dark_gray" ,"description" : "Change color to dark_gray" ,"snippet" : "§8$TM_SELECTED_TEXT§r"},
"mc_gray" : {"lab
@Krutoy242
Krutoy242 / e2ee-v0.35.0-jaopca-extra-list.md
Last active October 10, 2021 11:38
E2E-E JAOPCA extra output list
@Krutoy242
Krutoy242 / autoTrader.lua
Created May 19, 2021 12:50
Auto Trader - OpenComputers Robot Program for Villagers
--[[
Auto Trader
Robot program to trade with villagers
Setup:
- Robot on top of inventory (i use Storage Drawers)
- External power source for Robot
- Villagers around it (<6 blocks as default)
@Krutoy242
Krutoy242 / NeuralNetwork.lua
Last active June 5, 2019 10:25 — forked from cassiozen/NeuralNetwork.lua
Lua Neural Network
--********************************************************
-- By Krutoy242
--
-- Based on
-- https://gist.github.com/cassiozen/de0dff87eb7ed599b5d0
--********************************************************
-- Redefine globals to locals for perfomance
local exp = math.exp
local ceil = math.ceil