Skip to content

Instantly share code, notes, and snippets.

View Gesugao-san's full-sized avatar
💭
⌈Wired Sound for Wired People⌋

Gesugao-san

💭
⌈Wired Sound for Wired People⌋
View GitHub Profile
// for https://store.steampowered.com/app/602960/Barotrauma/
// Modlist order saved as in Steam Collection.
var modpack_title = document.getElementsByClassName("workshopItemTitle")[0].textContent;
var output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<mods name=\"" + modpack_title + "\">\n <Vanilla />\n";
var htmlCollection = document.getElementsByClassName("collectionItemDetails");
for (var i = 0; i < htmlCollection.length; i++) {
var mod = htmlCollection[i].children[0];
var title = mod.innerText;
var id = parseInt(mod.href.split('?id=')[1]);
output += " <Workshop name=\"" + title + "\" id=\"" + id + "\" />\n";
// ==UserScript==
// @name steam_workshop_subscribe_page_v1.js
// @namespace Violentmonkey Scripts
// @match https://steamcommunity.com/workshop/browse/*
// @grant none
// @version 1.0
// @author Gesugao-san
// @description huh
// ==/UserScript==
// For https://topersoft.com/
function randomIntFromInterval(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function likeAllComment() {
var messages = document.querySelectorAll('.vote-good');
for (var i = 0; i < messages.length; i++) {
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
User = 'ChangeMe'
WalkthroughNumber = 1
WordMetaMain = r'.\world_meta.xml'
WorldFileNamePrefab = '.%s.%s' % (User, WalkthroughNumber)
import os
;Abiotic_Factor_share_all.au3 by
;Создан при помощи ISN AutoIt Studio v. 1.16
;*****************************************
;Make this script high DPI aware
;AutoIt3Wrapper directive for exe files, DllCall for au3/a3x files
#AutoIt3Wrapper_Res_HiDpi=y
If not @Compiled then DllCall("User32.dll", "bool", "SetProcessDPIAware")
Opt("GUIOnEventMode", 1)
@Gesugao-san
Gesugao-san / Top_Public_Time_Servers.md
Created January 1, 2024 12:59 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@Gesugao-san
Gesugao-san / index.mediawiki
Last active December 4, 2024 08:50
War Thunder Store+ ru post source
@Gesugao-san
Gesugao-san / winsock_smb12_reset.cmd
Last active December 4, 2024 08:50
Reset winsock and smb v1 and v2
@REM Microsoft Windows [Version 10.0.19045.2546]
@CD /d C:\
@SETLOCAL ENABLEDELAYEDEXPANSION
@ECHO OFF
Dism /online /Get-Features /format:table | find "SMB1Protocol"
SET Arr[0]=SMB1Protocol
SET Arr[1]=SMB1Protocol-Client
SET Arr[2]=SMB1Protocol-Server
SET Arr[3]=SMB1Protocol-Deprecation
@Gesugao-san
Gesugao-san / The Imperial Gatekeeper.ct.xml
Last active December 4, 2024 08:50
The Imperial Gatekeeper (v1.75) CE (v7.3) Table. Save as "Game.ct" to associate with game.
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="38">
<CheatEntries>
<CheatEntry>
<ID>116</ID>
<Description>"&gt; Игрок (обновляется постоянно)"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="00000000"/>
<GroupHeader>1</GroupHeader>
<CheatEntries>
@Gesugao-san
Gesugao-san / dump.js
Last active December 4, 2024 08:50
Dump table content from website to local machine (csv).
(() => {
return console.log("Moved to https://github.com/GesuDatasGContactsProject/dump_html_table");
})();