The Official Power User Tips, Tricks & Productivity Thread

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,103
Reputation
1,272
Daps
19,577
If yall are like me, you probably aren't taking advantage of LLMs nearly as much as you could, and frankly, you should be force yourself to actively utilize LLMs more.

It needs to be said that as much as power users have curated and refined personal workflows for resolving work/life problems, that skillset has become damn-near obsolete overnight.

LLMs such mastery of large amounts of data, that it's inefficient and a disservice to your time to continue to do things the old way. It's akin to deciding to manually complete the same daily tasks instead of utilizing an already-written script/macro that does the same thing more efficiently. You are doing a disservice to your own time by continuing your old workflows simply because you personally created them.

From there, the only issue that remains is that a lot of the world is still wrapping our heads around the power of LLMs and don't utilize them as much as we could. For example, I realized today that I could be better served if I started my shopping first through an LLM, troubleshoot technical/code issues initially through LLMs and even tried to understand new concepts first via LLMs. Collectively, these three questions combined would've taken at least 30 minutes via browsing reddit threads, watching a YT explainer and sorting product types on Amazon.

Moving forward, I will try to resolve every issue via LLMs and then double back to regular search as a backup. here, I have to acknowledge how inefficient my old workflow used to be.
 
Last edited:

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016
If yall are like me, you probably aren't taking advantage of LLMs nearly as much as you could, and frankly, you should be force yourself to actively utilize LLMs more.

It needs to be said that as much as power users have curated and refined personal workflows for resolving work/life problems, that skillset has become damn-near obsolete overnight.

LLMs such mastery of large amounts of data, that it's inefficient and a disservice to your time to continue to do things the old way. It's akin to deciding to manually complete the same daily tasks instead of utilizing an already-written script/macro that does the same thing more efficiently. You are doing a disservice to your own time by continuing your old workflows simply because you personally created them.

From there, the only issue that remains is that a lot of the world is still wrapping our heads around the power of LLMs and don't utilize them as much as we could. For example, I realized today that I could be better served if I started my shopping first through an LLM, troubleshoot technical/code issues initially through LLMs and even tried to understand new concepts first via LLMs. Collectively, these three questions combined would've taken at least 30 minutes via browsing reddit threads, watching a YT explainer and sorting product types on Amazon.

Moving forward, I will try to resolve every issue via LLMs and then double back to regular search as a backup. here, I have to acknowledge how inefficient my old workflow used to be.

whenever you experience buffer delays, use a different instance of piped youtube.

1gLRaVp.png

Code:
Sure, here is a list of bookmarklets from the mirrors below using the bookmarklet format you provided:
JavaScript
javascript:location.assign('https://cf.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://vc.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://re.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://fl.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://do.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://nf.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://az.piped.video'+location.pathname+location.search+location.hash);
To use these bookmarklets, simply drag and drop them into your browser's bookmarks bar. When you click on a bookmarklet, the video will switch to a new instance on the corresponding mirror.
Here are some additional tips for using these bookmarklets:
[LIST]
[*]You can also use these bookmarklets to switch instances of piped.video videos that are already playing.
[*]If you are experiencing buffer delays on all of your piped.video videos, you may want to try clearing your browser's cache and cookies.
[*]If you are still experiencing buffer delays, you may want to try using a different web browser.
[/LIST]

edit: i leveled up:

UzOJiYx.png


Code:
Sure, here is a single bookmarklet that randomly chooses from the mirror URLs in the list above:


```javascript
javascript:(function() {
  var mirrors = ["https://cf.piped.video", "https://vc.piped.video", "https://re.piped.video", "https://fl.piped.video", "https://do.piped.video", "https://nf.piped.video", "https://az.piped.video"];
  var randomMirror = mirrors[Math.floor(Math.random() * mirrors.length)];
  location.assign(randomMirror + location.pathname + location.search + location.hash);
})();
```

To use this bookmarklet, simply drag and drop it into your browser's bookmarks bar. When you click on the bookmarklet, the video will switch to a new instance on a random mirror.

Here are some additional tips for using this bookmarklet:

* You can also use this bookmarklet to switch instances of piped.video videos that are already playing.
* If you are experiencing buffer delays on all of your piped.video videos, you may want to try clearing your browser's cache and cookies.
* If you are still experiencing buffer delays, you may want to try using a different web browser.


Piped is another mirror you can add to the list
 
Last edited:

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,103
Reputation
1,272
Daps
19,577
whenever you experience buffer delays, use a different instance of piped youtube.

1gLRaVp.png

Code:
Sure, here is a list of bookmarklets from the mirrors below using the bookmarklet format you provided:
JavaScript
javascript:location.assign('https://cf.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://vc.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://re.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://fl.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://do.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://nf.piped.video'+location.pathname+location.search+location.hash);
javascript:location.assign('https://az.piped.video'+location.pathname+location.search+location.hash);
To use these bookmarklets, simply drag and drop them into your browser's bookmarks bar. When you click on a bookmarklet, the video will switch to a new instance on the corresponding mirror.
Here are some additional tips for using these bookmarklets:
[LIST]
[*]You can also use these bookmarklets to switch instances of piped.video videos that are already playing.
[*]If you are experiencing buffer delays on all of your piped.video videos, you may want to try clearing your browser's cache and cookies.
[*]If you are still experiencing buffer delays, you may want to try using a different web browser.
[/LIST]

edit: i leveled up:

UzOJiYx.png


Code:
Sure, here is a single bookmarklet that randomly chooses from the mirror URLs in the list above:


```javascript
javascript:(function() {
  var mirrors = ["https://cf.piped.video", "https://vc.piped.video", "https://re.piped.video", "https://fl.piped.video", "https://do.piped.video", "https://nf.piped.video", "https://az.piped.video"];
  var randomMirror = mirrors[Math.floor(Math.random() * mirrors.length)];
  location.assign(randomMirror + location.pathname + location.search + location.hash);
})();
```

To use this bookmarklet, simply drag and drop it into your browser's bookmarks bar. When you click on the bookmarklet, the video will switch to a new instance on a random mirror.

Here are some additional tips for using this bookmarklet:

* You can also use this bookmarklet to switch instances of piped.video videos that are already playing.
* If you are experiencing buffer delays on all of your piped.video videos, you may want to try clearing your browser's cache and cookies.
* If you are still experiencing buffer delays, you may want to try using a different web browser.


Piped is another mirror you can add to the list
Appreciate it as always @bnew 🙏🏾

I use libredirector, so they actually have a list of instances on the backend, along w/ the ability to ping all instances and hand-select the instances w/ the best connection. They also have a keyboard shortcut (Alt+Shift+L) to instantly switch between instances so I have been using that daily.

Standard playback is generally smooth, but I actually use a combination of 2.2x playback speed along w/ frequently fast-forwarding 10 seconds to skip redundant aspects of videos. This isn't the average user setup clearly, but based on how I try efficiently consume content, I think I likely need a wider buffer/heavier ask on servers to accommodate my viewing patterns. OG YT was able to handle it but I have experienced a lot more buffering through the other instances. I'm glad that Bard was able to quickly identify what was happening tho and from there, I can figure out next steps 💪🏾
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016

Textocry - Copy Text from Images​



Textocry is a chrome extension to copy text from images using the best open source OCR engine Tesseract.js.

As a developer you don't always find the code in text format, quite often it's another one:

  • Video format - youtube / pluralsight tutorial.
  • Image format - from lazy friends or lazy bloggers.
In every instance you need to write it down character by character. Using Textocry you can just select the area with the text and let Tesseract extract the text, as shown below.


textocry-demo.gif


 

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016


How to Copy Text from Images ? Answer is TextSnatcher !. Perform OCR operations in seconds on Linux Desktop.

TextSnatcher​

Copy Text from Images with ease, Perform OCR operations in seconds.


 

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016
an alternative to printfriendly.com which I've used heavily to save guides & articles online as PDF files.


The Printliminator​

The Printliminator (repo) is a bookmarklet with some simple tools you can use to makes websites print better. One click to activate, and then click to remove elements from the page, remove graphics, and apply better print styling.




The Printliminator is a simple tool you can use to make websites print better. One click to activate, and then click to remove elements from the page, remove graphics, and apply better print styling.

screenshot

Limitations​

  • Bookmarklet: due to Content Security Policy directives on some sites, the Printliminator bookmarklet script is not able to load on some sites (e.g. GitHub). To get around this problem, use the Chrome or Opera extension. Hopefully, Firefox & Safari extensions/addons will quickly follow.
  • Chrome/Opera extension: if a popup window is opened for printing, like Yahoo mail does, then the extension will not work in the popup. An issue was submitted and it sounds like they will be providing a fix.



bookmarklet is available on the website.
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016
VyRhrlh.png


||accounts.google.com/gsi/client$script

Are you fed up of the "Sign in with Google" popup that's infesting more and more sites, and requires you to accept a persistent cookie from Google to disable? Add this #uBlockOrigin filter to get rid of it:

||accounts.google.com/gsi/client$script

#Google #SignIn #enshyttification #tracking #privacy
 
Last edited:

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016

About​

A cross platform (macOS, Linux & Windows) unofficial "offline" version of the regex101.com website. Uses the users own database (any qt supported backend - sqlite, mysql, postgresql etc) to store expressions.

Regular Expressions 101 (Desktop Edition)​

Regular Expressions 101

About​

This project is a desktop version of the regex101.com site. It embeds a copy of the site inside the application so that no internet connection is required to work on regular expressions. The motivation behind this was that when developing regular expressions for use in products, I often find myself opening the website again and again, resulting in many tabs in various states swamped in the sea of web pages.

By embedding the website in an application, regex101 can be accessed immediately from your task bar, no more searching through tabs to find the right one!

In addition, the software redirects the regex101.com online database to a local SQLite database, so you can store your own personal library of regular expressions inside the application.

This is not an official regex101 product, but the author of the site gave his permission for me to release this application, so please support his hard work by making a donation if you find this application useful.

Installation​

Binary distributions can be found under the assets on the github releases page.

  • Windows. The application is supplied as an installer executable, download and run the installer to install the application, this will create a shortcut which can be used to launch the software.
  • macOS. The application is supplied as a dmg disk image. Download and open the disk image and drag the Regular Expressions 101 icon into the Applications folder, the application can then be launched by double clicking on the Regular Expressions 101 icon in Applications.
  • Linux. The application is supplied as an AppImage. Download the application and then from the terminal run the command:

{uses about 450MB of diskspace }
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016
just created a bookmarklet that will extract tiktok.com embed urls on thecoli, convert to proper url format and archive them on tik.fail website so that if tiktok video later gets deleted it might be recoverable.
Code:
javascript: (function() {
    var tiktokUrls = [];
    var spans = document.querySelectorAll('span[data-s9e-mediaembed-iframe]');
    for (var i = 0; i < spans.length; i++) {
        var span = spans[i];
        var data = JSON.parse(span.getAttribute('data-s9e-mediaembed-iframe'));
        if (data[5].indexOf('\/\/www.tiktok.com\/embed\/') === 0) {
            var url = 'https:' + data[5];
            if (tiktokUrls.indexOf(url) === -1) {
                tiktokUrls.push(url);
            }
        }
    }
    for (var i = 0; i < tiktokUrls.length; i++) {
        window.open('https://tik.fail/?url=' + tiktokUrls[i]);
    }
})();


or

javascript: (function() { var tiktokUrls = []; var spans = document.querySelectorAll('span[data-s9e-mediaembed-iframe]'); for (var i = 0; i < spans.length; i++) { var span = spans[i]; var data = JSON.parse(span.getAttribute('data-s9e-mediaembed-iframe')); if (data[5].indexOf('\/\/www.tiktok.com\/embed\/') === 0) { var url = 'https:' + data[5]; if (tiktokUrls.indexOf(url) === -1) { tiktokUrls.push(url); } } } for (var i = 0; i < tiktokUrls.length; i++) { window.open('https://tik.fail/?url=' + tiktokUrls[i]); }})();

it took me about 6-8 minutes and 2 attempts using bing chat which also uses gpt-4


This updated version of the bookmarklet uses the indexOf method to check if a TikTok URL is already in the tiktokUrls array before adding it. This ensures that there are no duplicate TikTok URLs in the array, so only unique TikTok URLs will be opened in new tabs.

You can use this updated bookmarklet in the same way as the previous one: by creating a new bookmark and pasting the above code into the URL field. Then, when you’re on a page with TikTok URLs, you can click the bookmark to run the bookmarklet and open the unique TikTok URLs in new tabs.

you have to allow popups on thecoli.com so that it'll archive more than one url.
PHexNl7.png


my 1st prompt was.


write a bookmarketlet that extracts www.tiktok.com urls from the html source page and looks similar to this "\/\/"\/\/www.tiktok.com\/embed\/7189755478090566917" and convert to a the properly formatted url "https://www.tiktok.com/embed/7189755478090566917" . the tiktok url ID will always be unique digits such as "7189755478090566917" is in the example url i provided. the bookmarklet must should use javascript:void(window.open('https://tik.fail/?url=' + document.location.href));
so that it inserts found tiktok urls like javascript:void(window.open('https://tik.fail/?url=https://www.tiktok.com/embed/7189755478090566917' + document.location.href));

source page examples are below


<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7189755478090566917"]'></span></span></span><br />
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7242633306418728219"]'></span></span></span><br />
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7265074208890228001"]'></span></span></span><br />
<br />
<span data-s9e-mediaembed="tiktok" style="width:340px"><span style="padding-bottom:205.882353%"><span data-s9e-mediaembed-iframe='["allowfullscreen","","scrolling","no","src","\/\/www.tiktok.com\/embed\/7257913645940739355"]'></span></span></span><br />
<br />


and then i just asked it to remove duplicate urls to avoid links that posters Quote.

edit:

more AI help
Prompt: write easy instructions to add a bookmarklet to the browser toolbar.

Sure! Here are the easy instructions to add a bookmarklet to your browser toolbar:

  1. Open your web browser and go to the Bookmarks menu. In most browsers, this can be found by clicking on the Menu button (usually represented by three horizontal lines or dots) in the top-right corner of the window, and then selecting Bookmarks from the drop-down menu.
  2. In the Bookmarks menu, select Bookmark Manager or Show All Bookmarks. This will open a new tab or window with your bookmarks.
  3. In the Bookmark Manager, click on the Organize or Add New Bookmark button, and then select Add Page or New Bookmark from the drop-down menu.
  4. In the New Bookmark dialog box, enter a name for your bookmarklet in the Name field, and paste the bookmarklet code into the URL field.
  5. Click on the Save or Add button to save your new bookmarklet.
  6. Your new bookmarklet should now appear in your bookmarks. To add it to your browser toolbar, simply drag and drop it from the Bookmark Manager onto your toolbar.
That’s it! You can now use your bookmarklet by clicking on it in your browser toolbar whenever you want to run it.
 
Last edited:

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016

How to Change Maximum Number of Items in Jump Lists in Windows 10


Jump Lists are lists of app specific tasks or items you can quickly open or get to for every day usage. Jump Lists can include recently opened items, frequently opened items, tasks, or websites, in addition to any items that you've pinned. You'll always see the same items in the Jump List for a program, regardless of whether you view the list on the Start menu, taskbar, or File Explorer.

By default, Windows 10 will display up to a maximum of eleven items in an app's jump list.

This tutorial will show you how to change the maximum number of items that can display in
jump lists for your account or all users in Windows 10.


EXAMPLE: Maximum Number of Items in Jump Lists

I tested with a maximum of 30 jump list items, and get a scroll bar to be able to see them all.
Change Maximum Number of Items in Jump Lists in Windows 10-default_jumplists_maximum.jpg
Change Maximum Number of Items in Jump Lists in Windows 10-30_jumplists_maximum.jpg



Here's How:


1
Press the Win + R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.


2
If prompted by UAC, click/tap on Yes.


3
Browse to the key you want to use below in Registry Editor. (see screenshot below)

(Current user only)

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

OR

(Apply to All users - must be signed in as administrator)

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

Change Maximum Number of Items in Jump Lists in Windows 10-jumplists_maximum_items-1.png



4
In the right pane of the Advanced key, double click/tap on the JumpListItems_Maximum DWORD to modify it. (see screenshot above)

If you don't have the JumpListItems_Maximum DWORD (not there by default), then right click or press and hold on an empty area in the right pane of the Advanced key, click/tap on New and DWORD (32-bit) Value, type JumpListItems_Maximum for the name, and press Enter.



5
Select (dot) Decimal, and type a number (11 or higher) for the maximum items you want in your jump lists, and click/tap on OK. (see screenshot below)

Change Maximum Number of Items in Jump Lists in Windows 10-jumplists_maximum_items-2.png



6
Close Registry Editor.


7
Restart explorer, or sign out and sign in to apply.
 

bnew

Veteran
Joined
Nov 1, 2015
Messages
45,024
Reputation
7,423
Daps
136,016

hotkeyslist_icon.png
HotKeysList v1.05
Copyright (c) 2015 - 2020 Nir Sofer

Description​

HotKeysList is a simple tool for Windows that displays the list of hot keys that are currently registered on your system. You can use this tool to easily determine which hot keys on your system are available to use.
hotkeyslist.png


System Requirements​

This utility works on any version of Windows, starting from Windows 2000 and up to Windows 8. Both 32-bit and 64-bit systems are supported.

3BoQUvO.png



Edit:

i used the .txt file output to ask bing chat for hotkey combinations I could use. I used a regex pattern to clean up the output a bit more.

FIND:
Hot Key : (.*)$(?:\r+\n+.+){6}(\r\n){2}.*=?
REPLACE
\1
REPLACE ALL

sPS81ya.png


Before:
Code:
Hot Key           : Alt+Ctrl+Delete
Alt               : *
Ctrl              : *
Shift             :
Windows Key       :
Key               : Delete
==================================================

==================================================
Hot Key           : Alt+Ctrl+F11
Alt               : *
Ctrl              : *
Shift             :
Windows Key       :
Key               : F11
==================================================

==================================================
Hot Key           : Alt+Ctrl+F12
Alt               : *
Ctrl              : *
Shift             :
Windows Key       :
Key               : F12
==================================================

==================================================
Hot Key           : Alt+Ctrl+F8
Alt               : *
Ctrl              : *
Shift             :
Windows Key       :
Key               : F8
==================================================

==================================================
Hot Key           : Alt+Ctrl+M
Alt               : *
Ctrl              : *
Shift             :
Windows Key       :
Key               : M
==================================================

==================================================

After:

Code:
==================================================
Alt+Ctrl+Delete
Alt+Ctrl+F11
Alt+Ctrl+F12
Alt+Ctrl+F8
Alt+Ctrl+M
Alt+F4
Alt+Print Screen
Alt+Shift+Windows Key+F21
Alt+Windows Key+0

RzPhJXP.jpeg
 
Last edited:

Macallik86

Superstar
Supporter
Joined
Dec 4, 2016
Messages
6,103
Reputation
1,272
Daps
19,577
Started self-hosting teddit (publicly hosted versions are being rate-limited) and I'm using redirector (shout out to @bnew) to redirect all reddit links to my server's IP address:

fe7j4M2.png


EDIT: Went crazy and now I'm self-hosting Invidious (YouTube front-end replacement) and SearXng (Google Search replacement). Programmed some more redirectors for them as well, but my workflow is the same but my privacy just dramatically increased.
 
Last edited:
Top