Subtle pill background + hover/active states for the Zen Browser Workspaces button.
A simple one-line script that retrieves all stored WiFi network names and their passwords from a Windows system.
for /f "tokens=2 delims=:" %i in ('netsh wlan show profiles^|findstr "All User Profile"') do @for /f "tokens=* delims= " %j in ("%i") do @(echo. & echo %j & for /f "tokens=2 delims=:" %k in ('netsh wlan show profile name^="%j" key^=clear^|findstr /C:"Key Content"') do @for /f "tokens=* delims= " %l in ("%k") do @echo %l)A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
TLDR: JWTs should not be used for keeping your user logged in. They are not designed for this purpose, they are not secure, and there is a much better tool which is designed for it: regular cookie sessions.
If you've got a bit of time to watch a presentation on it, I highly recommend this talk: https://www.youtube.com/watch?v=pYeekwv3vC4 (Note that other topics are largely skimmed over, such as CSRF protection. You should learn about other topics from other sources. Also note that "valid" usecases for JWTs at the end of the video can also be easily handled by other, better, and more secure tools. Specifically, PASETO.)
A related topic: Don't use localStorage (or sessionStorage) for authentication credentials, including JWT tokens: https://www.rdegges.com/2018/please-stop-using-local-storage/
The reason to avoid JWTs comes down to a couple different points:
| #EXTM3U | |
| #EXTINF:-1 tvg-ID="espn.us" tvg-name="ESPN" tvg-logo="http://primestreamstv.com/logos/ESPN.png" group-title="SPORTS NETWORKS",ESPN | |
| http://themyst.icu:826/SourPatchKid/nlnE4DVQUs/102011 | |
| #EXTINF:-1 tvg-ID="espn.us" tvg-name="ESPN (W)" tvg-logo="http://primestreamstv.com/logos/ESPN.png" group-title="SPORTS NETWORKS",ESPN (W) | |
| http://themyst.icu:826/SourPatchKid/nlnE4DVQUs/102012 | |
| #EXTINF:-1 tvg-ID="espn2.us" tvg-name="ESPN2" tvg-logo="http://primestreamstv.com/logos/ESPN%202.png" group-title="SPORTS NETWORKS",ESPN2 | |
| http://themyst.icu:826/SourPatchKid/nlnE4DVQUs/95868 | |
| #EXTINF:-1 tvg-ID="espnnews.us" tvg-name="ESPN NEWS" tvg-logo="http://primestreamstv.com/logos/ESPN%20NEWS.png" group-title="SPORTS NETWORKS",ESPN NEWS | |
| http://themyst.icu:826/SourPatchKid/nlnE4DVQUs/102017 | |
| #EXTINF:-1 tvg-ID="espnu.us" tvg-name="ESPN U" tvg-logo="http://primestreamstv.com/logos/ESPN%20U.png" group-title="SPORTS NETWORKS",ESPN U |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using System.IO; | |
| using System.Xml; | |
| using System.Xml.Serialization; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Newtonsoft.Json.Linq; | |
| using dvcsharp_core_api.Models; |
Warning
I see many people proposing solutions for other platforms (such as Windows or macOS). I cannot verify the authenticity of those methods, and you should not copy, paste, and run code from random people on the internet without first understanding what it does. Ideally, review every line carefully and, even then, run it with caution in a sandboxed environment.
I personally experienced slowdowns and issues while using the ja-netfilter agent.
I decided to investigate how JetBrains checks license validity, because despite explicitly configuring JetBrains to work offline, it still attempts to validate licenses.
Here are my findings: