Skip to content

Instantly share code, notes, and snippets.

@bessangel
bessangel / html-video-rateX.js
Created Jul 23, 2021
html5 video rateX (by Tampermonkey )
View html-video-rateX.js
// ==UserScript==
// @name video rateX
// @namespace http://tampermonkey.net/
// @version 0.1
// @description vdeio rateX
// @author You
// @match https://*/*
// @match http://*/*
// @match https://*.youtube.com/watch?v=*
// @match https://*.instagram.com/*
@bessangel
bessangel / vimeo-downloader.js
Created Mar 27, 2021 — forked from mistic100/vimeo-downloader.js
Download video from Vimeo (chopped m4s files)
View vimeo-downloader.js
// 1. Open the browser developper console on the network tab
// 2. Start the video
// 3. In the dev tab, locate the load of the "master.json" file, copy its full URL
// 4. Run: node vimeo-downloader.js "<URL>"
// 5. Combine the m4v and m4a files with mkvmerge
const fs = require('fs');
const url = require('url');
const https = require('https');
@bessangel
bessangel / vk.txt
Created Mar 2, 2021
Вконтакте подробности
View vk.txt
view-source:https://vk.com/foaf.php?id=398599674
@bessangel
bessangel / instagram-controls.js
Created Mar 2, 2021
UserScript instagram controls
View instagram-controls.js
// ==UserScript==
// @name instagram controls
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.instagram.com/*
// @grant none
// ==/UserScript==
View userscript-tiktok-controls.js
// ==UserScript==
// @name tiktok controls
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.tiktok.com/*
// @grant none
// ==/UserScript==
@bessangel
bessangel / vncxfer.pl
Created Mar 9, 2018
vncxfer: A CGI script to set up TCP redirection between a VNC Viewer # and VNC Server using the Web Server as a relay point.
View vncxfer.pl
#!/usr/bin/perl
#!/usr/local/bin/perl
#
# vncxfer: A CGI script to set up TCP redirection between a VNC Viewer
# and VNC Server using the Web Server as a relay point.
#
# Copy this to a place on a website where CGI scripts will be run.
# e.g. http://somesite.com/cgi-bin/vncxfer
#
# One user goes to the the above URL and chooses a session name and then
View pFSENSE disable referer
pfSsh.php playback disablereferercheck
#disable ipfw
pfctl -d
@bessangel
bessangel / rules
Last active Oct 13, 2017
shorewall zimbra
View rules
#
# Shorewall version 4 - Rules File
#
# For information on the settings in this file, type "man shorewall-rules"
#
# The manpage is also online at
# http://www.shorewall.net/manpages/shorewall-rules.html
#
######################################################################################################################################################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME HEADERS SWITCH HELPER
@bessangel
bessangel / GET-VERSION.bat
Created Sep 11, 2017
GET-VERSION.bat - windows system information
View GET-VERSION.bat
@echo on
call :sub > VERSION.log
exit /b
:sub
date /T
set
ver
java -version