Skip to content

Instantly share code, notes, and snippets.

View bulletproof2k's full-sized avatar
💻
Working...

Виктор Минин bulletproof2k

💻
Working...
View GitHub Profile
@Aldaviva
Aldaviva / wmp_h.265_hevc.md
Last active June 19, 2024 04:50
Play H.265/HEVC videos in Windows Media Player (Classic) without a third-party codec pack or media player. Tested using Microsoft.HEVCVideoExtension_2.0.60091.0_x64__8wekyb3d8bbwe with WMP 12.0.20348.1311 on Windows Server 2022 21H2 and 12.0.22621.1105 on Windows 11 22H2.

Download

  1. Go to https://store.rg-adguard.net.
  2. Search for the HEVC Video Extensions from Device Manufacturer (Microsoft.HEVCVideoExtension) app by entering the following store URL.
    https://www.microsoft.com/en-us/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq
    
    • Do not use the normal HEVC Video Extensions app URL, because that can't play HEVC videos in Windows Media Player for some inscrutable reason.
  3. Download the x64 appx file, or whatever your Windows architecture is.
    • You may have to right click › Save Link As because the URL scheme is http, not https, if your browser is set to enforce HTTPS-only mode.
  • If it tries to save as a filename that's just a GUID, you may copy the correct .appx filename and save it as that instead.
@taskylizard
taskylizard / fmhy.md
Last active June 22, 2024 16:41
/r/freemediaheckyeah, in one single file (view raw)
@spencerwooo
spencerwooo / termiWidget.js
Last active June 22, 2024 22:11
🍋 TermiWidget - Terminal-like Widget for iOS 14, made with Scriptable.
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: orange; icon-glyph: quote-right;
// Change these to your usernames!
const user = "spencer"
const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E"
const telegram = "realSpencerWoo"
const github = "spencerwooo"
@anadius
anadius / _ srrDB .sfv downloader.md
Last active June 16, 2023 12:46
srrDB download .sfv for files inside the archive

Drag the bookmarklet to your bookmarks. Open release page on srrDB and click the bookmarklet.
Bookmarklet:

javascript:(()=>{a=b=>b.textContent.trim();d=document;w=window;l=[];for(e of d.querySelectorAll('.box-content-inner>table>tbody>tr')){f=e.children;if(f[0].textContent.trim().replace(/\s+/g,'')!=='Archivedfiles')continue;for(g of f[1].querySelectorAll('tr')){[t,s,c]=g.querySelectorAll('td');if(typeof s==='undefined')break;if(a(s)==='0')continue;l.push(a(t)+' '+a(c));}}l.push('');b=new Blob([l.join('\n')],{type:'octet/stream'});h=d.createElement('a');u=w.URL.createObjectURL(b);h.href=u;h.download=d.querySelector('#release-name').value+'.sfv';d.body.appendChild(h);h.click();w.URL.revokeObjectURL(u);h.remove()})()
@tomasevich
tomasevich / remove-all-from-docker.md
Last active June 18, 2024 07:18 — forked from beeman/remove-all-from-docker.sh
Удалить/очистить все данные Докера (контейнеры, образы, тома и сети)

Удалить/очистить все данные Докера (контейнеры, образы, тома и сети)

Одной строкой

docker stop $(docker ps -qa) && docker rm $(docker ps -qa) && docker rmi -f $(docker images -qa) && docker volume rm $(docker volume ls -q) && docker network rm $(docker network ls -q)

Описание команд

@marcosvpj
marcosvpj / vscode-remove-duplicate-lines.md
Last active March 22, 2024 13:41
How to remove duplicate lines in Visual Studio Code?

If the order of lines is not important##

Sort lines alphabetically, if they aren't already, and perform these steps:
(based on this related question: https://stackoverflow.com/q/1573361/3258851)

  1. Control+F

  2. Toggle "Replace mode"

  3. Toggle "Use Regular Expression" (the icon with the .* symbol)

@ityouknow
ityouknow / LICENCE SUBLIME TEXT
Created June 24, 2018 08:36
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
@thocell
thocell / Video_Audio_Downloader.js
Last active February 4, 2024 05:35
The Tampermonkey userscript to download video and audio from Youtube, Twitter, Vimeo, Facebook, Dailymotion, 1tv, VK, youku, bilibili and 5000 more sites for free. Fast and easy to use.
// ==UserScript==
// @name Distill Video & Audio Downloader from 5000+ sites including Youtube, Support 1080P, 2K, 4k & 8K
// @namespace https://distillvideo.com/
// @version 2.1.1
// @date 2018-06-17
// @description Browser extension to download video and audio from Youtube, Twitter, Vimeo, Facebook, Dailymotion, 1tv, VK, youku, bilibili and 5000 more sites for free. Fast and easy to use.
// @author DistillVideo.com
// @copyright 2018, DistillVideo.com
// @homepage https://distillvideo.com/page/extensions
// @downloadURL https://distillvideo.com/js/ditillvideo.user.js
@JonnyWong16
JonnyWong16 / update_plex_movie_ratings.py
Last active December 17, 2022 17:32
Update Plex movie ratings from IMDB or Rotten Tomatoes
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
#
# Plex movie ratings script by /u/SwiftPanda16
#
# *** Use at your own risk! ***
# *** I am not responsible for damages to your Plex server or libraries. ***
#
#------------------------------------------------------------------------------
@ikenfin
ikenfin / gismeteo-city-codes.md
Created October 27, 2016 07:59
Список кодов городов XML API Gismeteo
Код Название
27611 Москва
26062 С.-Петербург
29865 Абакан
22550 Архангельск
34880 Астрахань
29838 Барнаул
34214 Белгород
31510 Благовещенск