Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bessangel
bessangel / .gitignore
Created March 13, 2023 23:08 — forked from jsoma/.gitignore
Tutorial on how to build a most-popular-thing-in-a-grid map in QGIS and pandas
.DS_Store
@bessangel
bessangel / DebianSid_on_LUKS-BTRFS_with_systemd-boot.md
Created July 16, 2022 15:51 — forked from meeas/DebianSid_on_LUKS-BTRFS_with_systemd-boot.md
For installing Debian Sid with LUKS2 encrypted BTRFS filesystem with Systemd-boot and rEFInd bootloaders plus an option for dualboot to Windows

For directly installing Debian Sid not supported by the Debian installer, namely:

  • Single LUKS2 encrypted partition which contains the full installation
  • Single BTRFS filesystem (integrated home partition)
  • Encrypted swapfile in BTRFS subvolume (supports laptop suspend but not hibernate)
  • Uses systemd-boot bootloader (instead of Grub2, also optional rEFInd instructions)
  • Minimal Gnome install (plus instructions for any other DE you wish)
  • Proper user groups for common security tools like sudo-less Wireshark, etc...
  • Optional removal of crypto keys from RAM during laptop suspend
  • Optional configurations for laptops (including fingerprint readers)
@bessangel
bessangel / gpg-git-smudge-clean.md
Created June 22, 2022 07:16 — forked from g-k/gpg-git-smudge-clean.md
test transparent git encryption with smudge clean filters using gpg

Generate a GPG Key and revocation cert per http://www.gnupg.org/gpg/en/manual.html:

gpg --key-gen
gpg --output revoke.asc --gen-revoke <my user ID or email>

Once gpg key in keyring we can encrypt and decrypt files.

@bessangel
bessangel / readme.md
Created October 30, 2021 17:46
download vimeo master.json by yu-dl

you can use one of this options:

use the original URL directly and pass cookies exported from the browser while you're logged in on the original URL to youtube-dl(should if they are directly using one of the supported embeds). use vimeo player url with the original URL as a referer(--referer URL). just replace json extension with mpd in the manifest.json URL.

@bessangel
bessangel / insta download private video.md
Created September 30, 2021 19:37
insta download private video
  1. add to url ?__a=1
  2. find in graphml video_url
  3. replace & to &
  4. open in next tab this url
  5. download
@bessangel
bessangel / html-video-rateX.js
Created July 23, 2021 16:33
html5 video rateX (by Tampermonkey )
// ==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 March 27, 2021 10:36 — forked from mistic100/vimeo-downloader.js
Download video from Vimeo (chopped m4s files)
// 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 March 2, 2021 22:27
Вконтакте подробности
view-source:https://vk.com/foaf.php?id=398599674
@bessangel
bessangel / instagram-controls.tampermonkey.js
Last active September 19, 2021 14:23
UserScript instagram controls
// ==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==