Skip to content

Instantly share code, notes, and snippets.

View DarkPointer's full-sized avatar

DarkPointer DarkPointer

View GitHub Profile
@ph33nx
ph33nx / WinMasterBlocker.bat
Last active October 28, 2025 14:08
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@Goon3r
Goon3r / inotify-without-root.sh
Last active April 2, 2023 15:50
Installs inotifytools without the need to go through package managers thus removing the need for root access. Useful for shared seeboxes.
# Download inotifytools
# - Version, url's, directory names could change, use your brain.
$ wget https://github.com/inotify-tools/inotify-tools/releases/download/3.20.2.2/inotify-tools-3.20.2.2.tar.gz
$ tar -xvf inotify-tools-3.20.2.2.tar.gz
$ cd inotify-tools-3.20.2.2
# Install inotifytools
# - Configure it to use directories under non root user home dir
# - Imporant, absolute paths required for configure commands
$ ./configure --prefix=/home/user/.local --libdir=/home/user/.local/lib
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active October 30, 2025 09:59
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@LazieKat
LazieKat / reddit-video-parser.py
Last active October 31, 2019 17:07 — forked from DarkPointer/app.py
Parse, download and merge reddit video and audio
#!/usr/bin/python3
############ Imports
import re, requests, tempfile, argparse, ffmpy
import urllib.request
############ Parser function
def parseRedditVideo(link: str, outPath: str):
@wybiral
wybiral / noscript-tracking.go
Last active October 28, 2024 23:01
Tracking cursor position in real-time with remote monitoring (without JavaScript)
// Tracking cursor position in real-time without JavaScript
// Demo: https://twitter.com/davywtf/status/1124146339259002881
package main
import (
"fmt"
"net/http"
"strings"
)
@MattNer0
MattNer0 / CN-cloud-disk-providers.md
Last active October 2, 2019 13:53 — forked from weakish/backup-providers.md
reviews of vps, storage, mail forward

Cloud disks in China

Cloud disks with API in China

  • space: 100GB+
  • file limit: 100MB (web) 1GB(client)
@swyngaard
swyngaard / readme
Last active June 26, 2024 17:10
FFMPEG record desktop at 60 frames per second
Install ffmpeg or libav-tools.
Change -video_size to match your desktop resolution.
Record your desktop by executing the script:
./record.sh
Record without audio as follows:
./record_no_audio.sh
@thebugcatcher
thebugcatcher / n_primes.ex
Last active February 1, 2021 09:48
Find if a number is prime in elixir and get a list of primes.
# Given an input, this program returns a list of all primes numbers less than the input.
defmodule NPrimes do
def get_primes(n) when n < 2, do: []
def get_primes(n), do: Enum.filter(2..n, &is_prime?(&1))
defp is_prime?(n) when n in [2, 3], do: true
defp is_prime?(x) do
start_lim = div(x, 2)
Enum.reduce(2..start_lim, {true, start_lim}, fn(fac, {is_prime, upper_limit}) ->
@jherax
jherax / is-private-mode.js
Last active September 24, 2025 18:38
Detect if the browser is running in Private mode - Promise based (last update: Feb 2020)
/**
* Lightweight script to detect whether the browser is running in Private mode.
* @returns {Promise<boolean>}
*
* Live demo:
* @see https://output.jsbin.com/tazuwif
*
* This snippet uses Promises. If you want to run it in old browsers, polyfill it:
* @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js
*
@LeonardoCardoso
LeonardoCardoso / gitzip.sh
Last active December 22, 2024 21:31
Zip folder ignoring files listed on .gitignore
#...
function gitzip() {
git archive -o $@.zip HEAD
}
#... gitzip ZIPPED_FILE_NAME