Skip to content

Instantly share code, notes, and snippets.

View spookyahell's full-sized avatar
🌐
Browsing the WWW (and helping others and myself get through life)

spookyahell

🌐
Browsing the WWW (and helping others and myself get through life)
View GitHub Profile
@spookyahell
spookyahell / amazon_list_fetch.py
Created October 9, 2020 00:12
Amazon.de Items Fetcher (436 0.97€ for Prime customers [DE])
import requests
import json
import sys
from time import sleep
UA = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4284.0 Safari/537.36'
#Variablen initialisieren
index = 0
@spookyahell
spookyahell / PreviousTVSreview.md
Created July 19, 2020 22:23
Ältere TVSMILES Bewertung

Also die App selbst funktioniert bei mir zwar einigermaßen, jedoch gibts aus mehreren Gründen nur 1 Stern für die App: 1. Grund: Immer wieder kommt es zu abstürzen (ja wie gesagt es geht einigermaßen aber schon recht oft stürzt sie ab) 2. Grund: Ich habe bereits öfter mal eine Mail unter anderem auch wegen fehlender SMILES (ja, 30 tage sind schon um) von einem "Deal" und bin deswegen immer noch stinksauer 3. Grund: Ich hörte dass wohl einmal PayPal als Auszahlung möglich war und dass es zu gewinnspielen teilw. noch möglich ist und das finde ich ebenfalls nicht gut, dass es generell nicht möglich ist.. 4. Grund: Man kann sich nicht einmal aus der App ausloggen sondern muss dafür (gott sei dank, android) die App infos aufrufen und dann die Daten löschen, wenn man z.b. nen Kumpel spielen lassen will auf dem eigenen Handy (mit seinem "7Pass Account")

@spookyahell
spookyahell / moonactive-privacy.html
Created June 27, 2020 22:33
Privacy for Coin Master... tracked!
<!DOCTYPE html>
<html>
<head>
<title>Privacy Policy - Moonactive</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" type="text/css" href="https://moonactive.com/wp-content/themes/moonactive/fonts-stylesheet.css"/>
<style type="text/css">
body {direction: ltr;margin: 0;font-family: 'Poppins'; font-size: 16px;line-height: 1.1;}
.row {width: 90%;max-width: 1200px;margin: 0 auto;position: relative;}
.language-switcher {position: absolute;padding: 10px 25px 10px 10px;top: 0;right: 0;z-index: 10;}

1 Line 1 of comments: Brace yourselfs, it's a lot to cover and I've only got 45 lines (in >honor< of the 45th president of the US) | TL;DR: A load of words; Reading time: InvokeMediaInfoOnAudioVersion (mentioned below): 5 minutes
2 Empty lines exist mostlsy so you can take a step back and breath for 2-3 seconds, no more than that, please, let's keep it rolling!
3 Audio version of these comments by the author (not from Audible or some shit like that, no straight from the author): CommentsInAudio.mp3
4
5 @spookyahell (from github.com) is the current legal author/owner of this tool
6 Zero commercial use without prior negotiations with the author is permitted
7 With that being said, any other use is encouraged, also improvements,
8 (but keep reading first, you 🍆, you're not at the end yet, not for a loooong time)
9 just don't be a dick (matching emoji to be seen above) and take ove

@spookyahell
spookyahell / jsonduperemover.py
Created May 14, 2020 16:45
Remove duplicate json files
# You can remove duplicate json files (for example if you created them by accident or if avoiding them is to complex)
import json
from os import listdir, remove
from copy import copy
file_swith = 'ml-winners' # Empty string selects all files, or select only files by matching their starting
endswith = '.json' # or alternatively change the ending and leave file_swith empty
old_content = None
import ctypes
import datetime
import struct
#defines
EVERYTHING_REQUEST_FILE_NAME = 0x00000001
EVERYTHING_REQUEST_PATH = 0x00000002
EVERYTHING_REQUEST_FULL_PATH_AND_FILE_NAME = 0x00000004
EVERYTHING_REQUEST_EXTENSION = 0x00000008
EVERYTHING_REQUEST_SIZE = 0x00000010
url = 'https://www.amazon.com/Dr-Seuss-Hats-Collectors-Blu-ray/dp/B00A44ZJE4/'
offer_listing_url = 'https://www.amazon.com/gp/offer-listing/{asin}/'
import re
import requests
import bs4
def replace(input, to_be_replaced, replace_with):
if type(to_be_replaced) == str:
@spookyahell
spookyahell / ffmpeg_wrapper_custom_stats.example.py
Last active October 17, 2019 23:28
Not perfection but a lot better than anything I saw out there; not using externals
from subprocess import Popen, PIPE
import re
'''ffmpeg python lib with status line access'''
class WeirdestErrorEver(Exception):
pass
command_line = ['ffmpeg','-i','title_t00ü.mkv','-t','20','x.mkv','-y']
@spookyahell
spookyahell / keybase.md
Created September 12, 2019 11:17
I want in on the action: Spamming GH gists with keybase verifications

Keybase proof

I hereby claim:

  • I am spookyahell on github.
  • I am tbbttbbt (https://keybase.io/tbbttbbt) on keybase.
  • I have a public key ASCA-pNXrHuLDigdTrxg1ottTlDmx2rbA3Vz9WFFpZPigwo

To claim this, I am signing this object:

@spookyahell
spookyahell / DNSfind.py
Last active August 19, 2019 19:21
Finds IPs for DNS name if randomly changes - most credit to @nyuszika7h
#!/usr/bin/env python3
import argparse
import logging
import random
import socket
import sys
import _thread
import threading
import time