Skip to content

Instantly share code, notes, and snippets.

View mateusfg7's full-sized avatar
:shipit:
learning...

Mateus Felipe Gonçalves mateusfg7

:shipit:
learning...
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mateusfg7 on github.
  • I am mateusfg7 (https://keybase.io/mateusfg7) on keybase.
  • I have a public key ASAYF1crfwX0EZZ4GhBG6aS9A745T5OQt0pP8PPeQvIGhQo

To claim this, I am signing this object:

@mateusfg7
mateusfg7 / russia-ddos.md
Created March 3, 2022 12:56 — forked from sergeyzenchenko/russia-ddos.md
Russia DDOS list
@mateusfg7
mateusfg7 / loudness.rb
Created April 1, 2022 13:21 — forked from kylophone/loudness.rb
FFmpeg loudnorm filter - dual pass loudness normalization example - http://k.ylo.ph/2016/04/04/loudnorm.html
#!/usr/bin/env ruby
require 'open3'
require 'json'
ffmpeg_bin = '/usr/local/bin/ffmpeg'
target_il = -24.0
target_lra = +11.0
target_tp = -2.0
samplerate = '48k'
@mateusfg7
mateusfg7 / sleep.ts
Created September 1, 2022 18:16
sleep function for javascrpt
const sleep = (ms: number) => new Promise(resolve => setTimeout(resolve, ms))
await sleep(300) // will pause program for 3 seconds

Keybase proof

I hereby claim:

  • I am mateusfg7 on github.
  • I am mateusfg7 (https://keybase.io/mateusfg7) on keybase.
  • I have a public key ASDFxX9KLMm04nfXYjkhdrHQLCzy2ZGr3LBSpbQIUyy6Rwo

To claim this, I am signing this object:

Política de Privacidade
Na Formatch, privacidade e segurança são prioridades e nos comprometemos com a transparência do tratamento de dados pessoais dos nossos usuários/clientes. Por isso, esta presente Política de Privacidade estabelece como é feita a coleta, uso e transferência de informações de clientes ou outras pessoas que acessam ou usam nosso aplicativo ou site.
Ao utilizar nossos serviços, você entende que coletaremos e usaremos suas informações pessoais nas formas descritas nesta Política, sob as normas da Constituição Federal de 1988 (art. 5º, LXXIX; e o art. 22º, XXX – incluídos pela EC 115/2022), das normas de Proteção de Dados (LGPD, Lei Federal 13.709/2018), das disposições consumeristas da Lei Federal 8078/1990 e as demais normas do ordenamento jurídico brasileiro aplicáveis.
Dessa forma, a Formatch, no papel de Controladora de Dados, obriga-se ao disposto na presente Política de Privacidade.
1. Quais dados coletamos sobre você e para qual finalidade?
Nosso site coleta e utiliza alguns dado
@mateusfg7
mateusfg7 / docker_wordpress.md
Created April 26, 2023 11:54 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@mateusfg7
mateusfg7 / last.log
Created June 5, 2023 22:11
~/.local/share/ulauncher/last.log
2023-06-05 19:07:07,089 | INFO | ulauncher: main() | Ulauncher version 5.15.2
2023-06-05 19:07:07,089 | INFO | ulauncher: main() | Extension API version 2.0.0
2023-06-05 19:07:07,089 | INFO | ulauncher: main() | GTK+ 3.24.38
2023-06-05 19:07:07,089 | INFO | ulauncher: main() | Is Wayland: False
2023-06-05 19:07:07,090 | INFO | ulauncher: main() | Wayland compatibility: off
2023-06-05 19:07:07,119 | DEBUG | ulauncher.ui.windows.Builder: __init__() | consider using a pythonic name instead of design name 'input-box'
2023-06-05 19:07:07,122 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'ulauncher_window','destroy', 'on_destroy'
2023-06-05 19:07:07,122 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'ulauncher_window','focus_in_event', 'on_focus_in_event'
2023-06-05 19:07:07,122 | DEBUG | ulauncher.ui.windows.Builder: do_connect() | connect builder by name 'ulauncher_window','focus_out_event', 'on_focus_out_event'
2023-06-05 19:07:07,123 | DEBUG | ula
@mateusfg7
mateusfg7 / fade.ts
Created September 29, 2023 23:57
Fade sound with React.js
const sleep = (timeInMs: number) =>
new Promise(resolve => setTimeout(resolve, timeInMs))
interface FadeSoundProps {
from: number
to: number
step?: number
totalFadeTimeMs: number
soundRef: React.RefObject<HTMLAudioElement>
beforeFade?: () => void | undefined