Skip to content

Instantly share code, notes, and snippets.

View kvantor's full-sized avatar
🤔
Out sick

Kvantor kvantor

🤔
Out sick
View GitHub Profile
@kvantor
kvantor / md5
Created November 19, 2019 19:52
77da7e5fc401568ac4c3b37b09f918d2
@kvantor
kvantor / 3494
Created September 9, 2019 15:49
[Device Install Log]
OS Version = 10.0.17763
Service Pack = 0.0
Suite = 0x0190
ProductType = 3
Architecture = amd64
[BeginLog]
[Boot Session: 2019/08/30 15:04:59.305]
2606:2800:50a6::/48
2606:2800:4262::/48
152.195.16.0/24
2606:2800:420::/48
152.199.17.0/24
192.16.9.0/24
192.16.36.0/24
2606:2800:4242::/48
2606:2800:4002::/47
192.229.145.0/24
1,2.16.106.51-2.16.106.51
2,2.16.106.91-2.16.106.91
3,111.221.29.177-111.221.29.177
4,111.221.29.253-111.221.29.253
5,131.253.40.37-131.253.40.37
6,134.170.30.202-134.170.30.202
7,134.170.115.60-134.170.115.60
8,134.170.165.248-134.170.165.248
9,134.170.165.253-134.170.165.253
10,134.170.185.70-134.170.185.70
@kvantor
kvantor / openpgp.txt
Created May 14, 2018 20:04
Связанный идентификатор OpenKeychain
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:92ae72916c184bb80b87f129f3c865a005cb56e9]

Исходные данные: роутер имеет адрес 192.168.1.1, tor и i2pd подняты на 192.168.1.10 (если роутер достаточно мощный, можно поднять их прямо на нём, соответственно скорректировав адреса)

В LEDE для загрузки списка заблокированных доменов проще всего использовать поставляемую по умолчанию утилиту uclient-fetch. Необходимо лишь добавить ей поддержку SSL:

opkg update
opkg install libustream-mbedtls

Впрочем, вы можете использовать wget или curl, если предпочитаете. Особенности wget см. ниже.

@kvantor
kvantor / outlook_ADsign.vbs
Created June 1, 2017 13:23
Скрипт создания корпоративной подписи и наведения порядка в MS Outlook
' Скрипт создания корпоративной подписи и наведения порядка в MS Outlook
' Работает в Outlook 2000 - 2010.
' Делает очень полезные вещи:
' - Выставляет имя отправителя почты из поля DisplayName в домене
' - Отключает HTML-просмотр писем и отправку писем в HTML.
' - Создаёт простую текстовую подпись и выставляет её для всех учеток.
' Если есть вопросы или жгучее желание дать мне денег\набить морду -
' моя электропочта [email protected] .
' Конфигурационные параметры:
Verifying that "kvantor.id" is my Blockstack ID. https://onename.com/kvantor
@kvantor
kvantor / rmprepusb.bat
Last active August 29, 2015 14:13
DELETE SYSTEM FILES AND FOLDERS FROM A DRIVE
@echo off
:: SteveSi (c)2014 www.rmprepusb.com www.easy2boot.com
cls
color 1f
echo.
echo DELETE SYSTEM FILES AND FOLDERS FROM A DRIVE
echo ============================================
echo.
echo THIS COMMAND: %0 %1
echo.
@kvantor
kvantor / javascript_resources.md
Last active August 29, 2015 14:13 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage