We'll be comparing the following:
#EXTM3U | |
############################################################################ Informações | |
#EXTINF:-1 tvg-logo="https://imgur.com/C09Ybxn.png" group-title="ATUALIZADO",02/11/2023 | |
https://youtube.com/@ManoDT?si=rOj9AqlQZ7So4ovx | |
#EXTINF:-1 tvg-logo="https://imgur.com/YTEjMnl.png" group-title="PIX | PRA UMA AJUDINHA", manotv23@gmail.com | |
https://youtube.com/@ManoDT?si=rOj9AqlQZ7So4ovx |
In Fall 2023, Slack introduced an updated client with some unpopular UI changes. The tweaks in this document can be used to revert to the old client or hide the new side bar. These will reset every time you fully close Slack but they are easy to re-apply once you get the hang of it.
To run any of these scripts, you'll need to open the Dev Tools (or Console). You can do this by typing /slackdevtools
in a Slack channel or direct message. These are the same Dev Tools you'd get in Chrome if you hit F12. Along the top are tabs for Elements, Console, Sources, Network, etc. You'll want to paste these scripts into the Console tab at the >
prompt.
If Slack disables this command, then you can open Dev Tools by setting a system-wide environment variable and using a keyboard shortcut to open the console. If /slackdevtools
worked for you then you can skip these next two sections.
# lib/party_web/components/example_component.ex | |
defmodule PartyWeb.ExampleComponent do | |
@moduledoc """ | |
An example LiveComponent under test. | |
""" | |
use Phoenix.LiveComponent | |
def render(assigns) do | |
~H""" | |
<div> |
It is no longer necessary to use this script to have hardware acceleration in ffmpeg on Debian. The default Debian ffmpeg
and dependencies now support this out of the box.
See: #gistcomment-5095112
Esse é um script para rodar alguns comandos do postgres + ecto
Esse script requer 🎀 gum!
Você deve colocar as funções abaixo no seu .zshrc
ou em um arquivo separado para usar o db
:
function ecto() {
#!/bin/bash | |
# Automatically compile and install FFMPEG with NVIDIA hardware acceleration on Debian | |
# Based on https://www.tal.org/tutorials/ffmpeg_nvidia_encode | |
# Verified working on Debian 10 and 11 | |
# Abort on error | |
set -e | |
suite=stable |
Principles of Adult Behavior
- Be patient. No matter what.
- Don’t badmouth: Assign responsibility, not blame. Say nothing of another you wouldn’t say to him.
- Never assume the motives of others are, to them, less noble than yours are to you.
- Expand your sense of the possible.
- Don’t trouble yourself with matters you truly cannot change.
- Expect no more of anyone than you can deliver yourself.
- Tolerate ambiguity.
- Laugh at yourself frequently.
I've put together these notes as I read about DHT's in depth and then learned how the libtorrent implementation based on the Kademlia paper actually works.
400,000,000,000
(400 billion stars), that's a 4 followed by 11 zeros.
The number of atoms in the universe is estimated to be around 10^82
.
A DHT with keys of 160 bits, can have 2^160
possible numbers, which is around 10^48
I frequently administer remote servers over SSH, and need to copy data to my clipboard. If the text I want to copy all fits on one screen, then I simply select it with my mouse and press CMD-C, which asks relies on m y terminal emulator (xterm2) to throw it to the clipboard.
This isn't practical for larger texts, like when I want to copy the whole contents of a file.
If I had been editing large-file.txt
locally, I could easily copy its contents by using the pbcopy
command: