Skip to content

Instantly share code, notes, and snippets.

View antedeguemon's full-sized avatar
🇦🇷
¿que pasa por la calle?

Vicente Merlo antedeguemon

🇦🇷
¿que pasa por la calle?
View GitHub Profile
#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", [email protected]
https://youtube.com/@ManoDT?si=rOj9AqlQZ7So4ovx
@Nezteb
Nezteb / elixir-language-server-comparison.md
Last active June 7, 2025 12:23
Elixir Language Server Comparisons
@Kenny-MWI
Kenny-MWI / slack_tweaks.md
Last active April 30, 2025 06:34
Slack Tweaks

Slack Tweaks

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.

(Cross Platform) Open Dev Tools [Preferred Option]

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.

(Mac OS) Enable Dev Mode

@mcrumm
mcrumm / component_under_test.ex
Last active July 1, 2025 04:27
Testing Phoenix.LiveComponent in Isolation
# 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>
@Ghostbird
Ghostbird / _obsolete.md
Last active May 7, 2025 15:25
Build FFMPEG with NVIDIA hardware accelleration libraries on Debian 12. Includes non-free libnpp!

Obsolete

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

Elixir Logo DB (script)

Esse é um script para rodar alguns comandos do postgres + ecto :thumbsup-parrot:

Requisitos

Esse script requer 🎀 gum!

Scripts

Você deve colocar as funções abaixo no seu .zshrc ou em um arquivo separado para usar o db:

function ecto() {
@Ghostbird
Ghostbird / build-ffmpeg-nvenc.sh
Last active April 29, 2025 23:30
Automatically compile and install FFMPEG with NVIDIA hardware acceleration on Debian 10+
#!/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
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active July 12, 2025 00:11
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@tobiaslins
tobiaslins / worker.js
Last active July 30, 2024 20:11
Notion Custom Domain using Cloudflare Workers + Splitbee Analytics
const MY_DOMAIN = "help.splitbee.io"
const START_PAGE = "https://www.notion.so/splitbee/Help-Center-bbf26e2b70574901b9c98e5d11e449de"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
@0xjac
0xjac / private_fork.md
Last active July 11, 2025 09:07
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git