Skip to content

Instantly share code, notes, and snippets.

@y0k4i-1337
y0k4i-1337 / device_state.sh
Last active October 8, 2021 18:58 — forked from raphaunix/device_state.sh
Quick adjustment
#!/bin/sh
set -u
ECHO=/bin/echo
GREP=/bin/grep
CUT=/usr/bin/cut
CAT=/bin/cat
MOUNTPOINT=/bin/mountpoint
LSBLK=/bin/lsblk
@y0k4i-1337
y0k4i-1337 / server.py
Last active October 23, 2021 19:29
A simple python HTTP Server which will serve files and log requests, optionally sending notifications via webhooks.
#!/usr/bin/env python3
"""
A simple HTTP server for logging requests
Usage::
./server.py [<port>] [<notification webhook>]
"""
import hashlib
import logging
from http.server import SimpleHTTPRequestHandler, HTTPServer
@y0k4i-1337
y0k4i-1337 / vtex-apps.txt
Last active May 28, 2021 15:59
VTEX wordlist
a
A
about
acceptedCnae
access
Access
accessKeySignIn
according
account
Account
@y0k4i-1337
y0k4i-1337 / rmsubmodule.sh
Created April 23, 2020 01:39
A bash script to remove a git submodule
#!/bin/bash
#
# Completely remove a git submodule
#
# @mchoji 2020-04-22
# Based on a discussion at https://stackoverflow.com/a/21211232
#
##############################################################################
usage() {
@y0k4i-1337
y0k4i-1337 / python-scientific-computing.md
Last active April 26, 2020 01:49 — forked from sebp/python-scientific-computing.md
Overview of Python Packages for Scientific Computing
@y0k4i-1337
y0k4i-1337 / Storing-Images-On-Github.md
Last active June 6, 2019 18:40 — forked from joncardasis/Storing-Images-On-Github.md
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

@y0k4i-1337
y0k4i-1337 / p2pblock.dat
Last active October 19, 2020 23:30
A P2P block list compatible with Transmission and Deluge (compilation of Bluetack lists)
This file has been truncated, but you can view the full file.
China Internet Information Center (CNNIC):1.2.4.0-1.2.4.255
China Internet Information Center (CNNIC):1.2.8.0-1.2.8.255
Botnet on Telekom Malaysia:1.9.96.105-1.9.96.105
Botnet on Telekom Malaysia:1.9.102.251-1.9.102.251
Botnet on Telekom Malaysia:1.9.106.186-1.9.106.186
Korea Internet & Security Agency (KISA) - IPv6 Policy:1.16.0.0-1.19.255.255
Botnet on FPT Telecom:1.55.241.140-1.55.241.140
AP2P on China Unicom Heilongjiang proxy:1.58.181.97-1.58.181.97
botnet on China Unicom Heilongjiang:1.62.189.215-1.62.189.222
SMSHoax FakeAV Fraud Trojan:1.63.18.22-1.63.18.22