Skip to content

Instantly share code, notes, and snippets.

@naodesu
naodesu / README.md
Last active June 23, 2017 21:14 — forked from kawashirov/README.md
Кавашировские расширения для Google+

Кавашировские расширения для Google+

Скриншот

Распространяется по лицензии WTFPL.

Внимание! Chromium-подобные браузеры (Chrome, Vivaldi, Opera, ...) на 2016.12.22 не поддерживают необходимые для работы скрипта HTML5 контекстные меню. Для включения эксперементальной поддержки необходимо включить ContextMenu в Blink. Это можно сделать флагом запуска --enable-blink-features=ContextMenu. При этом возможны проблемы.

Для нового интерфейса. Добавляет контекстные меню:

  • (На youtube-видео) "Открыть видео на YouTube", т.к. на данный невозможно открыть видео в отдельном окне не открыв видео в текущем.
  • (На youtube-видео) ... или скопировать ☝️ ссылку
@naodesu
naodesu / resumedat_2015.rb
Last active May 23, 2022 09:53 — forked from stu43005/resumedat_2015.rb
Convert added torrents data from uTorrent (resume.dat) to qBittorrent (*.fastresume) format
# encoding: utf-8
# USE AT OWN RISK
#
# Follow this guide to install Ruby on Windows (step 1 and 2): https://forwardhq.com/support/installing-ruby-windows
# Install gems (with admin cmd prompt):
# https://rubygems.org/gems/bencode
# https://rubygems.org/gems/rest_client
#
# Edit datpath below to point to your utorrent resume.dat file
@naodesu
naodesu / gist:205689f9edad6485dca33c29c6d012ad
Created August 9, 2017 06:47
Fast youtube with external player
OS: Debian Jessie
apt-get install firefox-esr gecko-mediaplayer xul-ext-greasemonkey
Install userscript from: https://github.com/sebaro/ViewTube
@naodesu
naodesu / getcode.ps1
Last active October 20, 2017 11:24
Get MS SQL product key
function Get-SQLserverKey {
## function to retrieve the license key of a SQL 2008 Server.
## by Jakob Bindslet ([email protected])
param ($targets = ".")
$hklm = 2147483650
$regPath = "SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\Setup"
$regValue1 = "DigitalProductId"
$regValue2 = "PatchLevel"
$regValue3 = "Edition"
Foreach ($target in $targets) {
@naodesu
naodesu / image-search-options.json
Created January 10, 2019 21:43
Setting for "image search options" browser addon.
{
"ISOFormat": 3,
"Options": [
[
1,
"SauceNAO",
"icons/saucenao.ico",
true,
true,
"https://saucenao.com/search.php",