{"batchcomplete":"","continue":{"lecontinue":"20240914025421|28","continue":"-||"},"query":{"logevents":[{"logid":38,"ns":0,"title":"Salads","pageid":29,"logpage":29,"revid":91,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2025-07-25T04:12:43Z","comment":"Created page with \"Salads are good\""},{"logid":37,"ns":0,"title":"pistuff.service","pageid":28,"logpage":28,"revid":86,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-26T14:22:35Z","comment":"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...\""},{"logid":36,"ns":0,"title":"Systemd service config options","pageid":27,"logpage":27,"revid":85,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-26T12:00:50Z","comment":"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...\""},{"logid":35,"ns":0,"title":"ensure services.sh","pageid":26,"logpage":26,"revid":84,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-21T15:47:06Z","comment":"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>\""},{"logid":34,"ns":0,"title":"clipthing.html","pageid":25,"logpage":25,"revid":82,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-18T01:31:16Z","comment":"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...\""},{"logid":33,"ns":0,"title":"splitsql.py","pageid":24,"logpage":24,"revid":81,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-17T06:26:07Z","comment":"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')...\""},{"logid":32,"ns":0,"title":"openfolderoffilenewwindow.reg","pageid":23,"logpage":23,"revid":80,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-17T06:02:48Z","comment":"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>\""},{"logid":31,"ns":0,"title":"egloreset.yaml","pageid":22,"logpage":22,"revid":77,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-15T04:50:20Z","comment":"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...\""},{"logid":30,"ns":0,"title":"homo.cpp","pageid":21,"logpage":21,"revid":76,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-15T04:35:40Z","comment":"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...\""},{"logid":29,"ns":0,"title":".htaccess","pageid":20,"logpage":20,"revid":75,"params":{},"type":"create","action":"create","user":"Derg","timestamp":"2024-09-15T04:18:42Z","comment":"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]...\""}]}}