Skip to content

Instantly share code, notes, and snippets.

View przemoc's full-sized avatar

Przemysław Pawełczyk przemoc

View GitHub Profile
@przemoc
przemoc / track-shipment-delivery-info.md
Created December 4, 2024 11:52
Track shipment / Delivery info

Track shipment / Delivery info

URLs for tracking shipment of your parcels / obtaining package delivery info from courier companies, where package number is provided explicitly. Copy appropriate address and replace NUMBER with your package number.

Poland

@przemoc
przemoc / 001-hello.md
Last active January 13, 2024 01:10
abyss.przemoc.net / przemoc.tumblr.com
@przemoc
przemoc / import_github_stars_to_linkding.md
Created December 3, 2023 22:02
Import GitHub stars to linkding
@przemoc
przemoc / helmholtz-color-theme.md
Last active November 25, 2024 12:40
Helmholtz color theme

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
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

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
@przemoc
przemoc / youtube-sort-videos-by-length.md
Last active December 11, 2024 21:01
Bookmarklet for YouTube: Sort videos by length in videos tab

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 / yt-sort-videos-by-length.js
Last active December 9, 2024 01:06
Bookmarklet for YouTube: Sort videos by length in videos tab
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)})})()