More actions
Combined display of all available logs of Randomness wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 15:22, 26 September 2024 Derg talk contribs created page pistuff.service (Created page with " <syntaxhighlight lang="ini"> [Unit] Description=Meta service for all pi stuff OnFailure=servicefailure@%n.service Requires=iotreact.service Requires=znc.service Requires=toirc.service Requires=socketrelay.service Requires=websred_gamepad.service Requires=websred_imgsec.service Requires=websred_img.service Requires=zigbee2mqtt.service Requires=homeassistant.service Requires=tunneler.service Requires=jupyter.service [Service] Type=oneshot ExecStart=/bin/true RemainAfte...")
- 13:00, 26 September 2024 Derg talk contribs created page Systemd service config options (Created page with " <syntaxhighlight lang="ini"> [Unit] Description= Documentation= Wants= Requires= Requisite= BindsTo= Upholds= Conflicts= Before= After= OnFailure= OnSuccess= PropagateReloadTo= ReloadPropagatedFrom= PropagatesStopTo= StopPropagatedFrom= JoinsNamespaceOf= RequiresMountsFor= WantsMountsFor= OnSuccessJobMode= OnFailureJobMode= IgnoreOnIsolate= StopWhenUnneeded= RefuseManualStart= RefuseManualStop= AllowIsolate= DefaultDependencies= SurviveFinalKillSignal= CollectMode= Fail...")
- 16:47, 21 September 2024 Derg talk contribs created page ensure services.sh (Created page with " <syntaxhighlight lang="shell"> #!/bin/sh if [ $(id -u) -ne 0 ]; then echo Must be run as root >&2 exit 1 fi service cron start service atd start service apache2 start #service ssh start </syntaxhighlight>")
- 02:31, 18 September 2024 Derg talk contribs created page clipthing.html (Created page with "To try this thing out go to https://kserver.nu/tools/clipthing.php <syntaxhighlight lang="html"> <!DOCTYPE html> <html> <head> <title>ClipThing</title> <style> html { color: #ffffff; background-color: #000000; } #stuff { width: 100%; } .item { background-color: #111111; margin-bottom: 10px; padding: 5px; width: 100%; } .c...")
- 07:26, 17 September 2024 Derg talk contribs created page splitsql.py (Created page with " <syntaxhighlight lang="python"> cur = 'beginning' fi = open(cur + '.sql', 'wb') starts = b'CREATE DATABASE !32312 IF NOT EXISTS: `' ends = b'` !40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: ;' with open('beforereinstallalldbs.sql', 'rb') as f: for l in f: l = l.strip() if l.startswith(starts) and l.endswith(ends): cur = l[len(starts):-len(ends)].decode('utf-8') print(cur) fi.close() fi = open(cur + '.sql', 'wb')...")
- 07:02, 17 September 2024 Derg talk contribs created page openfolderoffilenewwindow.reg (Created page with " <syntaxhighlight lang="reg"> Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\openfolderoffileinnewwindow] @="Open folder of file in new window" [HKEY_CLASSES_ROOT\*\shell\openfolderoffileinnewwindow\command] @="explorer.exe /select,\"%1\"" </syntaxhighlight>")
- 05:50, 15 September 2024 Derg talk contribs created page egloreset.yaml (Created page with " <syntaxhighlight lang="yaml"> - id: '1725756517456' alias: EGLO reset device description: '' trigger: [] condition: [] action: - service: switch.turn_on metadata: {} data: {} target: device_id: 600ff73a7ec019441ee0c81accd1f8f8 - wait_template: '' continue_on_timeout: true timeout: '1' - service: switch.turn_off metadata: {} data: {} target: device_id: 600ff73a7ec019441ee0c81accd1f8f8 - wait_template: '' c...")
- 05:35, 15 September 2024 Derg talk contribs created page homo.cpp (Created page with " <syntaxhighlight lang="C++"> #include <iostream> #include <string> class Homo { private: public: std::string key; void operator= (std::string index) { std::cout << this->key << " is " << index << std::endl; } }; class Gay { private: public: Homo operator[] (std::string index) { Homo h; h.key = index; return h; } }; int main() { Gay gay; gay["your mom"] = "gay"; return 0; } </syntaxhig...")
- 05:18, 15 September 2024 Derg talk contribs created page .htaccess (Created page with " <syntaxhighlight lang="Apache"> RewriteEngine On RewriteBase / # Ignore if file exists RewriteCond %{REQUEST_FILENAME} !-f # Ignore if directory exists RewriteCond %{REQUEST_FILENAME} !-d # Redirect if old w short path RewriteRule ^w/(.*)$ /$1 [R=301,L] # Redirect if old wiki path RewriteRule ^wiki/(.*)$ /$1 [R=301,L] # Sitemap moved fix RewriteRule ^sitemap.xml*$ mediawiki/sitemap.xml [L,QSA] # Root path rewrite to main page RewriteRule ^$ mediawiki/index.php [L,QSA]...")
- 03:54, 14 September 2024 Derg talk contribs created page Test (Created page with " This is a text article <syntaxhighlight lang="python"> # You can syntax highlight code def compacttrace(exc: Exception, maxamount: int = 100): out = [] for a in range(maxamount): line = exc.__traceback__.tb_lineno file = exc.__traceback__.tb_frame.f_code.co_filename out.append(f"{exc!a} # line {line} file {file}") if exc.__cause__: out.append("# Caused") elif exc.__context__: out.append("# Happened...")
- 03:45, 14 September 2024 Derg talk contribs created page Gnolls (Created page with "Gnolls are anthro yeens and very good creatures and I am one at times")
- 13:51, 12 September 2024 Derg talk contribs moved page Conky.service to conky.service without leaving a redirect
- 13:50, 12 September 2024 Derg talk contribs moved page Displaytoggle.py to displaytoggle.py without leaving a redirect
- 13:50, 12 September 2024 Derg talk contribs moved page Bridge.py to bridge.py without leaving a redirect
- 13:50, 12 September 2024 Derg talk contribs moved page Websred.py to websred.py without leaving a redirect
- 13:50, 12 September 2024 Derg talk contribs moved page Vnc.service to vnc.service without leaving a redirect
- 13:49, 12 September 2024 Derg talk contribs moved page Slisten.py to slisten.py without leaving a redirect (Misspelled title)
- 13:49, 12 September 2024 Derg talk contribs moved page Servicefailure@.service to servicefailure@.service without leaving a redirect (Misspelled title)
- 13:49, 12 September 2024 Derg talk contribs moved page Servicefailure.py to servicefailure.py without leaving a redirect (Misspelled title)
- 13:48, 12 September 2024 Derg talk contribs moved page Justfail.service to justfail.service without leaving a redirect (Misspelled title)
- 04:18, 10 September 2024 Derg talk contribs created page User:Derg (Created page with "A derg named Delilah that is incredibly soft")
- 01:43, 10 September 2024 Derg talk contribs created page Template:RecentChanges (Created page with "{{#invoke:RecentChanges|recentChanges}}")
- 00:08, 10 September 2024 Derg talk contribs created page Special:Badtitle/NS828:RecentChanges (Created page with "local p = {} function p.recentChanges(frame) local changes = mw.site.recentChanges{ limit = 5, -- Limit to the number of changes you want to display namespaces = {0}, -- Limit to namespace 0 (articles), you can modify it for other namespaces } local result = "<ul>\n" for _, change in ipairs(changes) do local title = change.title or "Unknown" local user = change.user or "Unknown" local timestamp = change.timestamp...")
- 22:11, 9 September 2024 Derg talk contribs created page Cursed thoughts (Created page with "Why are good night stories interesting. Wouldn't it be more efficient to tell a extremely boring story that causes someone to fall asleep like the entire manual to UNIX Have you ever thought like Deidara from Naruto like if he was forced to unclog a toilet with his hands how he would taste it all? A FIFO buffer is like all the way through where the first part is the part that comes out first while a LIFO buffer is like shoving items up your ass and pooping them out whe...")
- 22:10, 9 September 2024 Derg talk contribs created page Puns (Created page with "If you eat something real good, is it pheNOMenal? If you have a fact about art, is it then an artifact? If you sing a song in a maze, does it make your song aMAZEing? If you have a staircase covered in eyes, is it a starecase? If you murder a mushroom, is it fungicide? Did you know that when you are programming you are always having fun since you are writing FUNctions If you steal a clock, do you take time? If you set up a camera and you are a girl, are you a camg...")
- 20:51, 9 September 2024 Derg talk contribs created page Slisten.py (Created page with "<syntaxhighlight lang="python"> #!/usr/bin/python3 import argparse import json import sys import redis a = argparse.ArgumentParser() a.add_argument('-s', dest='subscribe', action='append') a.add_argument('-p', dest='psubscribe', action='append') a.add_argument('-r', dest='raw', action='store_true') a.add_argument('-n', dest='nochannel', action='store_true') a.add_argument('-f', dest='prettyprint', action='store_true') a.add_argument('-c', dest='contains', action='store...")
- 20:45, 9 September 2024 Derg talk contribs created page Websred.py (Created page with "<syntaxhighlight lang="python"> !/usr/bin/python import argparse parser = argparse.ArgumentParser() parser.add_argument('-d', '--daemonize', dest='daemon', action='store_true') parser.add_argument('-p', '--port', dest='port', type=int, default=8079) parser.add_argument('-i', '--subscribe', dest='subscribe') parser.add_argument('-o', '--publish', dest='publish') parser.add_argument('-v', '--debug', dest='debug', action='store_true') parser.add_argument('-l',...")
- 20:43, 9 September 2024 Derg talk contribs created page Bridge.py (Created page with "<syntaxhighlight lang="python"> #!/usr/bin/python3 from twisted.internet import reactor, protocol import sys class Client(protocol.Protocol): def __init__(self, s): self.server = s self.connected = 0 self.data = [] def connectionMade(self): self.connected = 1 for a in self.data: self.transport.write(a) self.data = [] def write(self, a): if self.connected: self.transport.write(...")
- 20:42, 9 September 2024 Derg talk contribs created page Displaytoggle.py (Created page with "<syntaxhighlight lang="python"> #!/usr/bin/python3 import win32api, win32con, argparse screenid = 1 a = argparse.ArgumentParser() a.add_argument('on', nargs="?", default=False, type=lambda x: x.lower() not in ("false", "0", "off")) b = a.parse_args() screenstring = f"\\\\.\\DISPLAY{screenid:d}" if b.on: win32api.ChangeDisplaySettingsEx(screenstring, None) else: s = win32api.EnumDisplaySettings(screenstring, win32con.ENUM_CURRENT_SETTINGS) s.PelsWidth = 0...")
- 20:37, 9 September 2024 Derg talk contribs created page Justfail.service (Created page with "<syntaxhighlight lang="INI"> [Unit] Description=This will just fail OnFailure=servicefailure@%n.service [Service] Type=oneshot ExecStart=sh -c 'echo fail; exit 1' </syntaxhighlight>")
- 20:35, 9 September 2024 Derg talk contribs created page Servicefailure@.service (Created page with "<syntaxhighlight lang="INI"> [Unit] Description=Failure handler for %i [Service] Type=oneshot ExecStart=/home/pi/.cron/servicefailure/servicefailure.py %i </syntaxhighlight>")
- 20:34, 9 September 2024 Derg talk contribs created page Servicefailure.py (Created page with "<syntaxhighlight lang="python"> #!/usr/bin/python3 import subprocess import requests import sys import os service = sys.argv[1] proc = subprocess.Popen("hostname", stdout=subprocess.PIPE, shell=True) hostname = proc.communicate()[0].decode("utf-8").strip() status = f"Service {service} failed on {hostname}" print(status) try: import redis r = redis.Redis() r.publish("boterrorlocal", status) except Exception as e: print(e) proc = subprocess.Popen(...")
- 19:37, 9 September 2024 Derg talk contribs created page .conkyrc (Created page with "<syntaxhighlight lang="lua"> conky.config = { own_window = true, own_window_type = 'normal', own_window_transparent = true, own_window_argb_visual = true, own_window_class = 'conky-semi', own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager', background = false, use_xft = true, update_interval = 15, total_run_times = 0, double_buffer = true, minimum_height = 5, minimum_width = 5, maximum_width = 400,...")
- 19:21, 9 September 2024 Derg talk contribs created page Conky.service (Created page with "[Unit] Description=Conky [Service] Type=simple ExecStart=/usr/bin/conky -c /home/derg/.conkyrc Restart=always RestartSec=60 [Install] WantedBy=default.target")
- 19:20, 9 September 2024 Derg talk contribs created page Vnc.service (Created page with "<code> [Unit] Description=VNC server [Service] ExecStart=/usr/bin/x11vnc -forever -display $DISPLAY -rfbauth /home/derg/.vnc/passwd [Install] WantedBy=default.target </code>") Tag: visualeditor-switched
- 01:18, 9 September 2024 MediaWiki default talk contribs created page Main Page
- 23:22, 8 September 2024 Derg talk contribs created page Mew (Created page with "Mew is a very cute sound that yeens, cats and foxes make") Tag: visualeditor-switched