Skip to content

Instantly share code, notes, and snippets.

View augustocdias's full-sized avatar

Augusto César Dias augustocdias

View GitHub Profile
[START][2021-11-19 14:59:53] LSP logging initiated
[INFO][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:258 "Starting RPC client" {
args = {},
cmd = "rust-analyzer",
extra = {}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:861 "LSP[rust_analyzer]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
@augustocdias
augustocdias / keybase.md
Created March 2, 2021 08:45
keybase.md

Keybase proof

I hereby claim:

  • I am augustocdias on github.
  • I am augustocdias (https://keybase.io/augustocdias) on keybase.
  • I have a public key whose fingerprint is 5E3B DCAC C511 7EF0 2196 6D02 4CBE 3D4E 4A19 D53E

To claim this, I am signing this object:

@augustocdias
augustocdias / cloudSettings
Last active September 14, 2020 12:52
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-09-14T12:52:39.977Z","extensionVersion":"v3.4.3"}
@augustocdias
augustocdias / README.md
Last active September 17, 2019 21:40
Port forward Mac OS

Port Forwarding on Mac OS

In order to use the 80 or 443 ports on Mac OS without the need to start web server with root:

echo "rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080" | sudo pfctl -ef -

echo "rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443" | sudo pfctl -ef -

@augustocdias
augustocdias / sennheiser.md
Last active October 18, 2021 22:27
Sennheiser GSX 1000/1200 on Linux

UPDATE: this is out of date and although it worked for me at the time, there is a better solution to make it work: https://github.com/evilphish/sennheiser-gsx-1000

In order to make the Sennheiser amplifier GSX 1000/1200 work on Linux as a 7.1 device it is needed to change a configuration file of pulseaudio. Execute this command to identify the output sound cards:

aplay -l

This is a sample output