This file contains hidden or 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
| Original exception: [eec9214344cbbaf2b3b48bf5] /%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%A1%D0%BF%D0%B5%D1%86%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%8B Error: Call to undefined method MediaWiki\User\User::getOption() | |
| Backtrace: | |
| from /nix/store/fpg1czlb5pjjl1kq28k852g0ib9sj21y-DFDiagram-b7a3a3f/Diagram.php(352) | |
| #0 /nix/store/2fhk4kkaxx4rcy4xyvs9hn0gk6jgb9jm-dfwk-mediawiki-full-1.43.0/share/mediawiki/includes/HookContainer/HookContainer.php(159): DFDMWHooks::includeModules() | |
| #1 /nix/store/2fhk4kkaxx4rcy4xyvs9hn0gk6jgb9jm-dfwk-mediawiki-full-1.43.0/share/mediawiki/includes/HookContainer/HookRunner.php(982): MediaWiki\HookContainer\HookContainer->run() | |
| #2 /nix/store/2fhk4kkaxx4rcy4xyvs9hn0gk6jgb9jm-dfwk-mediawiki-full-1.43.0/share/mediawiki/includes/Output/OutputPage.php(3186): MediaWiki\HookContainer\HookRunner->onBeforePageDisplay() | |
| #3 /nix/store/2fhk4kkaxx4rcy4xyvs9hn0gk6jgb9jm-dfwk-mediawiki-full-1.43.0/share/mediawiki/includes/actions/ActionEntryPoint.php(163): MediaWiki\Output\Output |
This file contains hidden or 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
| import base64 | |
| from cryptography.hazmat.primitives.asymmetric.x25519 import X25519PrivateKey | |
| private_key = X25519PrivateKey.generate() | |
| public_key = private_key.public_key() | |
| def base64it(the_key): | |
| return base64.urlsafe_b64encode(the_key).decode().rstrip("=") | |
| print("private: ", base64it(private_key.private_bytes_raw())) |
This file contains hidden or 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
| http://dfwk.ru/index.php?title=Astronomer | |
| {| class = "wikitable sortable" style="width: 80%" | |
| ! scope="col" style="width: 16%;" | Тема | |
| ! scope="col" style="width: 16%;" | Перевод | |
| ! scope="col" style="width: 33%;" | Описание | |
| ! scope="col" style="width: 16%;" | Статья в Википедии | |
| ! scope="col" style="width: 9%;" | Категория | |
| ! scope="col" style="width: 9%;" | Навык исследователя | |
| |- | |
| |Empirical observation |
This file contains hidden or 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
| Beer man missed {{Creatures}} template | |
| tml-orig: {{Creaturelookup/0 | |
| |wiki=no | |
| |bone=11 | |
| |meat=13 | |
| |fat=13 | |
| |skull=1 | |
| |skin=hide | |
| |eye=2 | |
| |lung=2 |
This file contains hidden or 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
| comp = require("component") | |
| trans = comp.transposer | |
| function sort_chest(side) | |
| local chest_size = trans.getInventorySize(side) | |
| for i = chest_size, 2, -1 do | |
| local item = trans.getStackInSlot(side,i) | |
| if item ~= nil and item.size < item.maxSize then |
This file contains hidden or 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
| robot = component.proxy(component.list("robot")()) | |
| inv_c = component.proxy(component.list("inventory_controller")()) | |
| crafting = component.proxy(component.list("crafting")()) | |
| bottom = 0 -- направления | |
| top = 1 | |
| back = 2 | |
| front = 3 | |
| right = 4 | |
| left = 5 |
This file contains hidden or 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
| trans = component.proxy(component.list("transposer")()) | |
| --[[ | |
| Bottom (bottom), Number: 0 -z | |
| Top (top), Number: 1 +y | |
| Back (back), Number: 2 -z | |
| Front (front), Number: 3 +z | |
| Right (right), Number: 4 -x | |
| Left (left), Number: 5 +x | |
| ]] | |
| reactor_side, chest_side = 3, 1 |
This file contains hidden or 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
| trans = component.proxy(component.list("transposer")()) | |
| --[[ | |
| Bottom (bottom), Number: 0 -z | |
| Top (top), Number: 1 +y | |
| Back (back), Number: 2 -z | |
| Front (front), Number: 3 +z | |
| Right (right), Number: 4 -x | |
| Left (left), Number: 5 +x | |
| ]] | |
| input, centrifuge, nullifier, pile = 1,0,4,2 --стороны |
This file contains hidden or 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
| local scan = require("scan") | |
| local comp = require("component") | |
| local serialization = require("serialization") | |
| local tun = comp.tunnel | |
| function main() | |
| local scan_array = scan.scan(-8,-8,-8,16,16,16,3,2.5,3.5,false) | |
| local prepared_array = serialization.serialize(scan_array) | |
| if #prepared_array > tun.maxPacketSize() then | |
| print("#prepared_array > tun.maxPacketSize() NIY") |
This file contains hidden or 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
| local event = require("event") | |
| local comp = require("component") | |
| local serialization = require("serialization") | |
| local glasses = comp.glasses | |
| local lastX,lastZ,lastY | |
| local ore_widgets = {} | |
| glasses.removeAll() | |
| function msg_process(_,_,_,_,_, ...) | |
| local type, payload = ... |
NewerOlder