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
| #!/usr/bin/env python3 | |
| import code | |
| import datetime | |
| import enum | |
| import logging | |
| import pathlib | |
| import readline | |
| import rlcompleter | |
| import time |
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 spess.client | |
| import spess.models | |
| def extract_cycle(c, ship): | |
| ext = ship.extract_resources().extraction.yield_ | |
| print(f'got {ext.units} units of {ext.symbol}') | |
| ship.wait() | |
| if ext.symbol != 'IRON_ORE': | |
| ship.jettison_cargo(ext.symbol, ext.units) | |
| print(ship.cargo) |
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
| #!/usr/bin/env python3 | |
| from collections import Counter | |
| from dataclasses import dataclass | |
| from functools import cached_property | |
| import math | |
| import sys | |
| import numpy | |
| import numpy.fft |
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
| #!/usr/bin/env python3 | |
| # usage: ./wordlyzer.py [guess ...] answer | |
| import enum | |
| import math | |
| import pathlib | |
| import sys | |
| import urllib.request | |
| import numpy |
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
| <command names="help">http://overviewer.org/irc/bot</command> | |
| <command names="hesperus">https://github.com/agrif/hesperus</command> | |
| <command names="dtt,dttguide"> | |
| https://github.com/overviewer/Minecraft-Overviewer/wiki/DTT-Upgrade-Guide | |
| </command> | |
| <command names="quickstart,quickstartguide,guide"> | |
| https://github.com/overviewer/Minecraft-Overviewer/wiki/Quick-Start-Guide | |
| </command> | |
| <command names="rmo,rmoguide"> | |
| https://github.com/overviewer/Minecraft-Overviewer/wiki/Rendermode-Options-Guide |
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
| diff -ur -x build -x prefix binutils-with-gold-2.44/bfd/opncls.c binutils-wasi/bfd/opncls.c | |
| --- binutils-with-gold-2.44/bfd/opncls.c 2025-02-01 19:00:00.000000000 -0500 | |
| +++ binutils-wasi/bfd/opncls.c 2025-05-15 08:13:04.975771488 -0400 | |
| @@ -870,9 +870,9 @@ | |
| which run tests with "ld [...] -o /dev/null". */ | |
| && S_ISREG(buf.st_mode)) | |
| { | |
| - unsigned int mask = umask (0); | |
| + unsigned int mask = 022;/*umask (0);*/ | |
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
| list(LENGTH SOURCES SOURCES_LENGTH) | |
| math(EXPR SOURCES_LENGTH "${SOURCES_LENGTH} - 1") | |
| foreach(I RANGE ${SOURCES_LENGTH}) | |
| ... | |
| endforeach() |
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
| def _calculate_params(self, platform): | |
| key = (platform.family, platform.speed) | |
| try: | |
| info = self.PLL_INFO[key] | |
| except KeyError: | |
| raise NotImplementedError('PLL not implemented for {!r}'.format(key)) | |
| fclkin = self.in_period.megahertz | |
| params = None | |
| diff = None |
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
| 00 <<< rx 1741722232.601 | |
| 1741722235.198 tx >>> 00 20 | |
| 1741722235.293 tx >>> 16 0b 0b 2c | |
| 1741722235.405 tx >>> 11 08 | |
| 01 <<< rx 1741722235.410 | |
| 1741722235.501 tx >>> 11 31 | |
| 31 31 <<< rx 1741722235.509 | |
| 1741722235.597 tx >>> 11 0a | |
| 00 00 <<< rx 1741722235.609 | |
| 1741722235.693 tx >>> 11 11 |
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
| static DISPLAY_STATIC: StaticCell< | |
| ssd1306::Ssd1306Async< | |
| ssd1306::prelude::I2CInterface< | |
| I2cDeviceWithConfig<NoopRawMutex, hal::i2c::I2c<'static, hal::mode::Async>>, | |
| >, | |
| ssd1306::size::DisplaySize128x64, | |
| ssd1306::mode::BufferedGraphicsModeAsync<ssd1306::size::DisplaySize128x64>, | |
| >, | |
| > = StaticCell::new(); |