Skip to content

Instantly share code, notes, and snippets.

View SIRprise's full-sized avatar
🙂
Doin' things

SIRprise

🙂
Doin' things
  • Germany
View GitHub Profile
@SIRprise
SIRprise / wordlist-german.txt
Created February 4, 2024 11:38 — forked from MarvinJWendt/wordlist-german.txt
All german words (german wordlist).
This file has been truncated, but you can view the full file.
AA
AAA
Aachen
Aachener
Aachenerin
Aachenerinnen
Aachenern
Aacheners
Aachens
Aal
@SIRprise
SIRprise / filter.txt
Created December 2, 2022 18:29
AdBlock Filterpatterns
https://golem.de/*/sp_*_rc.jpg
||golem.de/*/sp_*_rc.jpg
https://www.welect.de
*.snapshotAd.*
onvista.de##.snapshotAd.*
netzwelt.de##.as-oil-content-overlay
netzwelt.de##.as-oil__intro-txt
@SIRprise
SIRprise / PureBasicGraphicsTest.pb
Created October 11, 2021 20:56
PureBasicGraphicsTest.pb
#ScreenWidth = 1024 ; Feel free to change this to see the pixel filling speed !
#ScreenHeight = 768
If InitSprite() = 0 Or InitKeyboard() = 0
MessageRequester("Error", "DirectX is needed.",0)
EndIf
Structure Pixel
Pixel.l
@SIRprise
SIRprise / airwolf.bas
Created April 22, 2021 18:35 — forked from jgrahamc/airwolf.bas
AppleSoft BASIC program used in Airwolf S02E03 "Moffett's Ghost"
1 PP=2
10 HOME
12 PRINT
20 A$ = "0123456789ABCDEF"
30 FOR I = 1 TO 19
31 IF I = 9 THEN GOSUB 1000
40 L$ = ""
45 FOR J = 1 TO 9
50 L1 = INT ( RND (1) * 15 ) + 1: L2 = INT ( RND (1) * 15 ) + 1
60 L$ = L$ + MID$ (A$,L1,1) + MID$(A$,L2,1) + ": "
@SIRprise
SIRprise / MouseMover.ahk
Last active March 31, 2021 08:38
MouseMover
; AutoHotKey Script
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#Persistent
Hotkey, #c, CloseThis ; Enable Windows + C Hotkey
SetTimer, Klicker, 2000
return
@SIRprise
SIRprise / powerinvestigation.bat
Created March 1, 2021 13:15
Windows CPU-Load/Noise/Energy investigation
echo run as admin
cd /
powercfg /?
powercfg -energy -output c:\energy.html
@SIRprise
SIRprise / parser.cs
Created May 12, 2020 08:41
Website parser
using System;
using System.Security.Cryptography;
using System.Text;
using RestSharp;
using RestSharp.Authenticators;
namespace httpsPriceParser
{
class Program
{
#!/usr/bin/awk -f
# Authors: @esperlu, @artemyk, @gkuenning, @dumblob
# FIXME detect empty input file and issue a warning
function printerr( s ){ print s | "cat >&2" }
BEGIN {
if( ARGC != 2 ){
@SIRprise
SIRprise / sqlparser.cs
Last active January 17, 2020 14:37
MySQL dump parser (incomplete)
using System;
using System.IO;
using System.Linq;
namespace SQLdumpParser
{
class Program
{
//see https://www.mysqltutorial.org/mysql-sample-database.aspx
@SIRprise
SIRprise / uberspacebackup.sh
Last active January 26, 2020 19:40
Backup script for uberspace
#!/bin/bash
### Uberspace Backup-Script by SIRprise
## merge of
## https://www.gehaxelt.in/blog/ueberspace-backupscript/
## and
## https://sebastian-doering.net/linux/vollstaendiges-uberspace-backup/
## because the first one does not backup home and the second creates an empty www folder
## Version 0.9