Skip to content

Instantly share code, notes, and snippets.

Avatar

Przemysław Pawełczyk przemoc

View GitHub Profile
@przemoc
przemoc / helmholtz-color-theme.md
Last active March 11, 2023 17:13
Helmholtz color theme
View helmholtz-color-theme.md

Helmholtz color theme

mintty Tips wiki page:

The default theme (since 3.6.0) is [helmholtz][2] which provides a colour scheme of well-balanced appearance and luminance; see the comments in the theme file about its crafting principles.

@przemoc
przemoc / stable-diffusion-webui.html
Created January 5, 2023 18:31
AUTOMATIC1111/stable-diffusion-webui useful-forks output
View stable-diffusion-webui.html
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<!-- saved from url=(0073)https://useful-forks.github.io/?repo=AUTOMATIC1111/stable-diffusion-webui -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="./stable-diffusion-webui_files/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
@przemoc
przemoc / kill-login-wall.md
Created October 23, 2022 22:42
Bookmarklet: Kill login wall
View kill-login-wall.md

Bookmarklet: Kill login wall

Some sites needlessly force you to log in or sign up to continue browsing them. Sometimes it can be bypassed, partially or fully.

I will put down down JavaScript bookmarklets/snippets dealing with these nagging modal dialog boxes to some extent one way or another. No guarantee it will work in the future.

Tested in Chrome (106), Edge (106), Firefox (106).

Installation

@przemoc
przemoc / archive.today-reachability.md
Last active January 30, 2022 13:21
Archive.today reachability
View archive.today-reachability.md
@przemoc
przemoc / youtube-sort-videos-by-length.md
Last active May 14, 2023 15:46
Bookmarklet for YouTube: Sort videos by length in videos tab
View youtube-sort-videos-by-length.md

Bookmarklet for YouTube: Sort videos by length in videos tab

On channels in videos tab you can sort videos by:

  • Most popular
  • Date added (oldest)
  • Date added (newest)

But you cannot sort by length. So I decided to create a bookmarklet to do it in ascending order.

@przemoc
przemoc / hd-sentinel.md
Created May 3, 2019 21:58
Hard Disk Sentinel (standard) 5.30 for Windows for FREE
View hd-sentinel.md

Hard Disk Sentinel is a good tool to check and monitor your disks parameters and health. You should consider having it in your toolbox.

Now you can get Windows version of Hard Disk Sentinel v5.30 (9417) for free at SharewareOnSale. After clicking "Download Hard Disk Sentinel Now" button you'll have to fill a form asking for email (they'll use it to send you news regarding SharewareOnSale offers), country, used platforms, gender, job level, and confirm it by clicking "Give it to me now". You'll get SharewareOnSale_Giveaway_Hard_Disk_Sentinel_hub.exe and also mail titled "Download is ready: Hard Disk Sentinel" starting with:

Hi there. Thank you for downloading from us. Your download details are given below.

Hard Disk Sentinel (100% discount)

YOUR DOWNLOAD(S)

@przemoc
przemoc / yt-sort-videos-by-length.js
Last active September 8, 2019 01:49
Bookmarklet for YouTube: Sort videos by length in videos tab
View yt-sort-videos-by-length.js
javascript:(function(){l=[].map.call(document.querySelectorAll("span.ytd-thumbnail-overlay-time-status-renderer"),function(e){l=e.innerHTML.trim().split(":").map(function(t){return parseInt(t)}).reduce(function(p,c){return p*60+c});return{a:e.parentElement.parentElement.parentElement,l:l}}).sort(function(a,b){return a.l-b.l});i=document.querySelector("#primary #items");l.forEach(function(o){i.appendChild(o.a.parentElement.parentElement.parentElement)})})()
@przemoc
przemoc / plzip-msys2-mingw-w64.patch
Created February 23, 2018 22:45
Make plzip compilable on MSYS2+MinGW-w64
View plzip-msys2-mingw-w64.patch
Make plzip compilable on MSYS2+MinGW-w64.
It's Hannes Domani's plzip.patch taken from:
http://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.1-w.zip
that was applied against plzip 1.7:
http://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.7.tar.gz
changed to not artificially limit number of threads (the limit was 32),
and finally diff has been regenerated using output with unified context.
--- a/decompress.cc 2018-02-07 20:17:00.000000000 +0100
@przemoc
przemoc / abuild.sh
Last active February 6, 2018 14:11
Simplistic abuild wrapper for building packages out-of-the-tree.
View abuild.sh
#!/bin/sh
# SPDX-License-Identifier: MIT
## Copyright (C) 2017 Przemyslaw Pawelczyk <przemoc@gmail.com>
##
## This script is licensed under the terms of the MIT license.
## https://opensource.org/licenses/MIT
#
# abuild.sh
# Simplistic abuild wrapper for building packages out-of-the-tree.