- Shall i implement it?
- No ...
Some video streaming site will hide the download link behind a blob format which will get resolved internally. If you inspect the video player in Chrome you can see something like this:
<video class="jw-video jw-reset" tabindex="-1" disableremoteplayback="" webkit-playsinline="" playsinline="" src="blob:https://play.vstreamplay.xyz/1c36398f-c376-4873-a0ac-7fa07c3968f7"></video>
| I was drawn to programming, science, technology and science fiction | |
| ever since I was a little kid. I can't say it's because I wanted to | |
| make the world a better place. Not really. I was simply drawn to it | |
| because I was drawn to it. Writing programs was fun. Figuring out how | |
| nature works was fascinating. Science fiction felt like a grand | |
| adventure. | |
| Then I started a software company and poured every ounce of energy | |
| into it. It failed. That hurt, but that part is ok. I made a lot of | |
| mistakes and learned from them. This experience made me much, much |
When the question of “automation caused job losses” comes up, most people think of industry jobs where production-line or humanoid robots take over jobs whole or at most talk about virtual assistants or other entry level knowledge-worker positions getting replaced by Artificial Intelligence or how Neural Networks can compose news articles from a set of facts; the common theme here is bots taking over jobs whole; while ‘bots taking over jobs at the production-line is old news and vending machines that replace pizza restaurants from the cashier to chef is no longer something to speculate, I think a much more deadly and silent job killer is often overlooked: tools that makes workers more efficient.
As a general rule, efficiencies that reduces work-hours by any given percentage, it also reduces the overall number of position by the same percentage.
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
- Go to: https://twitter.com/{username}/likes
- Open the console and run the following JavaScript code:
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}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:
- The JWT specification is specifically designed only for very short-live tokens (~5 minute or less). Sessions
| # How to git add, commit, and push using one function in friendly interactive shell (Fish Shell). | |
| # Save this file within '~/.config/fish/functions' as 'quickgit.fish'. Create the directory if it does not exist. | |
| # '--git-dir=$PWD/.git' Ensures that we run the git commands against the git project where we called the function | |
| function quickgit # This is the function name and command we call | |
| git --git-dir=$PWD/.git add . # Stage all unstaged files | |
| git --git-dir=$PWD/.git commit -a -m $argv # Commit files with the given argument as the commit message | |
| git --git-dir=$PWD/.git push # Push to remote | |
| end |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name