Não use UUID como PK nas tabelas do seu banco de dados.
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
| <?php declare(strict_types=1); | |
| require_once "✨.🐘"; | |
| ✨($_)->strlen("foo")->var_dump($_); |
Requirements:
- JDK 8/9/11 (oracle or openjdk)
Steps to setup the scripts:
mkdir benches
cd benches
curl https://artifacts.elastic.co/downloads/logstash/logstash-7.6.0.tar.gz | tar -zxf -
cd logstash-7.6.0
by Bjørn Friese
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.
| import cProfile | |
| def fibonacci(n): | |
| if n < 0: | |
| raise ValueError("Negative arguments not implemented") | |
| print _fib(n)[0] | |
| def _fib(n): |
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 | |
| fi | |
| apt-get update | |
| apt-get install -y git-core autoconf bison libxml2-dev libbz2-dev libmcrypt-dev libcurl4-openssl-dev libltdl-dev libpng-dev libpspell-dev libreadline-dev make | |
| mkdir -p /etc/php7/conf.d | |
| mkdir -p /etc/php7/cli/conf.d | |
| mkdir /usr/local/php7 |
| # adicione essa linha no seu /etc/hosts | |
| 127.0.0.1 paywall.folha.uol.com.br |
| #!/bin/perl | |
| use strict; | |
| use warnings; | |
| use JSON qw(decode_json); | |
| use Text::Table; | |
| use LWP::Simple; | |
| my $URL = "http://estaticog1.globo.com/2014/07/Coligacoes/eleicao.json"; |
| # Main file, loads dependencies and holds application code | |
| # Usage: | |
| # $ git clone https://gist.github.com/a22a1373dcee7c175d1e.git | |
| # $ cd a22a1373dcee7c175d1e | |
| # $ chmod +x 00-index.sh | |
| # $ ./00-index.sh | |
| # | |
| # Use sudo if your machine denies an address to netcat | |
| # |