This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this script is a simple sequence of commands that I ran to create a boinc server, it may not work | |
# by: https://github.com/BOINC/boinc/wiki/Create-a-BOINC-server-(cookbook) | |
# prereq: | |
# docker run -d --name=boinc -p 80:80 ubuntu tail -f /dev/null | |
# docker exec -it boinc bash | |
apt update && apt upgrade -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#FIRST, this script is only for Linux, download, run something like this: `./dsLinkCorrector.sh`, required clipnotify(https://github.com/cdown/clipnotify) | |
#How it works: when copying (primary/clipboard), it corrects the link and places it in the primary buffer (pasting on the mouse wheel or ctrl+v) | |
#what is he doing: | |
##checks that this is really a cdn discord link | |
##removes everything after the `?` sign (cdn parameters) | |
##changes media.discordapp.net to cdn.discordapp.com and removes sizing overrides | |
cdnCheck="https\S+(cdn|media)\.discord" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: https://cwelth.com/manuals.php?mid=2 | |
Руководство по аргументам запуска Java | |
Руководство, которое поможет вам попробовать оптимизировать мои (и не только мои) сборки для запуска на слабых компьютерах путем использования аргументов запуска java для minecraft. Однако, владельцы мощных компьютеров тоже смогут почерпнуть для себя что-нибудь полезное. Например, некоторые флаги потенциально помогут избавиться от мелких неприятных пролагиваний. | |
Отказ от ответственности: | |
Это руководство является переводом алгоритма оптимизации Java "Paul's Reborn Neonate" и поможет оптимизировать работу майнкрафта как для ваниллы, так и для модпаков. | |
Все потенциальные ухудшения в производительности остаются на совести автора оригинального алгоритма. Я не несу ответственность за корректную работоспособность перечисленных ниже параметров запуска. Все флаги, описанные в данном руководстве, читатель использует на свой страх и риск. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--This file is parts of different codes for different tasks | |
local cmp = require("component") | |
--get information from gt_batterybuffer | |
local current, total = 0, 0 | |
local bb = cmp.proxy(--[[bbaddr]]) | |
local current = current + string.gsub(bb.getSensorInformation()[3], "([^0-9]+)", "") | |
local total = total + string.gsub(bb.getSensorInformation()[4], "([^0-9]+)", "") | |
--get information from multiple gt_batterybuffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
moved to https://github.com/asvdvl/asvlibs/blob/master/asv/dbg.lua |