This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| #include <assert.h> | |
| #define SIZE(ARR) (sizeof(ARR)/sizeof(ARR[0])) | |
| #define DEFAULT(STRUC) (STRUC){0} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| De repente pensei: pq não ordenar números usando índices? Nào tornaria mais | |
| rápido se cada numero fosse para sua devida posição? | |
| E então escrevi esse algoritmo que possui complexidade linear O(n) | |
| É ainda mais perfeito para números sequenciais que não possuem repetição, a única | |
| desvantagem é que pra ser mais eficiente você deve saber quantos itens tem | |
| o seu array e qual número entre eles é o menor possível para evitar desperdício de memória. |
Primeiro, verifique se o módulo está presente na sua instalação digitando pacmd em seu terminal, listando todos os módulos presentes pelo comando list-modules e procurando por module-echo-cancel. Não está presente? Você precisa adicionar algumas linhas ao arquivo de texto responsável pela configuração do PulseAudio.
Com o seu editor favorito, abra (com privilégios de administrador) o arquivo /etc/pulse/default.pa e adicione as seguintes linhas ao fim do arquivo:
### Enable Echo/Noise-Cancellation
load-module module-echo-cancel use_master_format=1 aec_method=webrtc aec_args="analog_gain_control=0\ digital_gain_control=1" source_name=echoCancel_source sink_name=echoCancel_sink
set-default-source echoCancel_source
set-default-sink echoCancel_sink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Decompile APK | |
| apktool d path/to/app.apk -o output/directory | |
| # Remove SSL pinning | |
| grep -R "CertificatePinner" . | |
| // remove lines like | |
| invoke-virtual {v2, v3, v4}, Lokhttp3/CertificatePinner$Builder;->add(Ljava/lang/String;[Ljava/lang/String;)Lokhttp3/CertificatePinner$Builder; | |
| move-result-object v2 | |
| # Recompile APK |
- Docker Hub - One private repo/image spot for free
- Three Scale - Very generous free tier 50GB of space, 500 Pulls a month etc..
- Canister - 20 private repos with almost no limits on free tier
- Code Fresh - Free tier for developers
- Setup Private Docker Registry - Digital Ocean hosted Tutorial

