Root data is the data where all the configs get stored.
It contains 2 keys:
| key | type | description |
|---|
| #!/bin/env python3 | |
| import os | |
| import re | |
| def get_usbdevices(exclude=[]): | |
| usbs = [x for x in os.listdir("/dev/disk/by-path") if "usb" in x] | |
| usbs = sanitize_parts(usbs) | |
| return [x for x in usbs if x not in exclude] | |
| installs=() | |
| configs=() | |
| install_ITGmania () { | |
| if [ -d /mnt/stepmania/itgmania ]; then | |
| echo "Seems like ITGmania is already installed. Do you want to update it to newer version?" | |
| echo "WARNING: This will overwrite the directory with new version!" | |
| read -p "Proceed? (y/n): " -n1 ANSWER | |
| echo |
| import pygame | |
| import time | |
| class SmoothMove: | |
| def __init__(self, surface, orig, dest, duration): | |
| self.surface = surface | |
| self.orig = orig | |
| self.dest = dest |
| import sys | |
| import time | |
| target_str = sys.argv[-1] if len(sys.argv) > 1 else input("target bpm: ") | |
| target = float(target_str) | |
| spb = 1 / target * 60 | |
| input("Waiting for start...") |
| // System.Management.WmiNetUtilsHelper | |
| using System; | |
| using System.Management; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| internal static class WmiNetUtilsHelper | |
| { | |
| internal delegate int ResetSecurity(IntPtr hToken); |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <assert.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <time.h> | |
| int countchr(char *str, char chr) { | |
| int i; | |
| for (i=0; *str != '\0'; *str++ == chr ? i++ : 0); |
| ## Copyright (C) 2022 파이썬 (KokoseiJ) | |
| # | |
| # mungalparser is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
General Proxy using .def:
Example using #pragma:
Microsoft Docs:
| import os | |
| import re | |
| import sys | |
| import time | |
| import threading | |
| import requests | |
| from collections import deque | |
| from bs4 import BeautifulSoup as bs | |