This is carried out with two shell scripts: One responsible for gathering the wiki contents in various formats as single files, and one responsible for uploading to a git repository.
This file contains 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/bash | |
# This script can run on GRML and allows the installation of the HP Integrated Lights Out (ILo) | |
# managament utility to reset the tools password. | |
wget http://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/hponcfg-5.6.0-0_amd64.deb | |
apt-get update | |
apt-get install xsltproc | |
apt-get install ./hponcfg-5.6.0-0_amd64.deb |
This file contains 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
#!/usr/bin/env python3 | |
# somewhat related to https://github.com/openapi-generators/openapi-python-client/issues/466 | |
from openapi3 import OpenAPI | |
import yaml | |
import posixpath, re | |
import requests | |
from pathlib import Path |
This file contains 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
# First, open https://anabrid.com/background/ | |
# second, run this in terminal | |
# change sleep 10 to sleep 1 for more movement or the other way around. | |
while sleep 10; do xdotool mousemove $(shuf -i 1-3000 -n1) $(shuf -i 1-3000 -n1); done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
#!/usr/bin/env python | |
import os, re, sys | |
from os import path | |
from pathlib import Path | |
from datetime import datetime, timedelta | |
from prompt_toolkit import prompt # bundled with iPython | |
from prompt_toolkit.completion import WordCompleter |
This file contains 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
<html> | |
<meta charset="utf-8"> | |
<title>Genie in a Bottle</title> | |
<meta author="SvenK"> | |
<meta date="31.12.2020"> | |
<?php | |
# First of all, this is supposed only to work for a specific | |
# room. Fix the room id here: |
This file contains 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
<?php | |
// Enforce HTTPS | |
if($_SERVER["HTTPS"] != "on") { header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); exit(); } | |
?> | |
<!doctype html> | |
<html> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<body style="padding:5%; font-family: sans-serif"> | |
<h1>Some secret</h1> |
This file contains 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
#!/usr/bin/env python3 | |
# Scraping non-downloadable books/documents | |
# by downloading them as JPG files | |
# Public Domain. | |
import requests, json, sys | |
# Attention, token changes regularly... You should copy all ~10 minutes from Firebug |
This file contains 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
(* Allow for nicer print output *) | |
SetOptions[SelectedNotebook[], | |
PrintingStyleEnvironment -> "Printout", ShowSyntaxStyles -> True] |
NewerOlder