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
| [gcode_macro HEATSOAK_TEST] | |
| gcode: | |
| #HEATSOAK_TEST INTERVAL=1 MAX_TIME=60 BED_TARGET_TEMP=65 EXTRUDER_TARGET_TEMP=210 | |
| {% set interval = params.INTERVAL|int %} | |
| {% set max_time = params.MAX_TIME|int %} | |
| {% set num_repeats = (max_time // interval)|int %} | |
| {% set bed_target_temp = params.BED_TARGET_TEMP|default(65)|int %} | |
| {% set extruder_target_temp = params.EXTRUDER_TARGET_TEMP|default(210)|int %} | |
| {% if printer.toolhead.homed_axes|lower != "xyz" %} |
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
| #!/bin/sh | |
| set -e | |
| # Dall-e mini/mega Easy Install Script by manatails | |
| # Install prerequisites | |
| sudo apt update && sudo apt install -y apt-transport-https ca-certificates curl software-properties-common git | |
| # Install Docker | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
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
| // ==UserScript== | |
| // @name hidereplayUI | |
| // @namespace https://manatails.net/ | |
| // @version 0.1 | |
| // @description Mahjong Soul Replay UI Toggle | |
| // @author manatails | |
| // @include https://mahjongsoul.game.yo-star.com/* | |
| // @include https://game.mahjongsoul.com/* | |
| // @include https://majsoul.union-game.com/0/* | |
| // @icon https://game.mahjongsoul.com/favicon.ico |
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 void __init ap136_common_setup(void) | |
| { | |
| u8 *art = (u8 *) KSEG1ADDR(0x1fff0000); | |
| ath79_register_m25p80(NULL); | |
| ath79_register_leds_gpio(-1, ARRAY_SIZE(ap136_leds_gpio), | |
| ap136_leds_gpio); | |
| ath79_register_gpio_keys_polled(-1, AP136_KEYS_POLL_INTERVAL, | |
| ARRAY_SIZE(ap136_gpio_keys), |