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
--[[ | |
So, let's assume the following situation: you have native IPv4 from your provider, | |
but you get IPv6 from a tunnel broker, such as Hurricane Electric (located in another country). | |
After setting things up, you notice that when making DNS requests(ipv6.google.com is good example for me) over IPv4, | |
you receive one answer for an AAAA query, but over IPv6, you get a completely different answer. | |
Most likely, the DNS gave you the server closest to you. This can create problems where traffic crosses the border twice, | |
resulting in poor speed and high latency. | |
To solve this problem, I used `dnsdist`: all AAAA record queries are routed to the IPv6 pool, | |
and all other requests go through IPv4. |
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
apt install unzip | |
unzip BlendFarm.Server-1.1.6-Linux64.zip | |
rm BlendFarm.Server-1.1.6-Linux64.zip | |
adduser blendfarm | |
systemctl edit --full --force blendfarm | |
#paste: | |
[Unit] | |
Description=BlendFarm Service | |
After=network.target |
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 |