Skip to content

Instantly share code, notes, and snippets.

View danilogco's full-sized avatar

Danilo Carolino danilogco

View GitHub Profile
@danilogco
danilogco / readme.md
Created February 24, 2022 20:20 — forked from ChriRas/readme.md
Set up default audio device on Ubuntu 20.04 LTS

Problem

I have a notebook connected to a port replicator. I want to use the build-in speakers and microfone and not the external ones. If I boot my notebook in my port replicator Ubuntu changes the devices to external.

Solution

  1. Find your internal speaker
pactl list short sinks
@danilogco
danilogco / main.py
Created May 2, 2022 22:51 — forked from philippegirard/main.py
fastAPI sentry middleware
import sentry_sdk
from fastapi import FastAPI
sentry_sdk.init(
dsn="your_dns",
)
app = FastAPI()
@danilogco
danilogco / test-doc-see-as-virus-by-clamav.txt
Created June 14, 2024 15:28 — forked from mikecastrodemaria/test-doc-see-as-virus-by-clamav.txt
A simple text file to be used as positive test for ClamAv virus scanner
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*