- Um estilo é uma maneira de categorizar uma cerveja dentro de certas diretrizes com o objetivo de poder avaliar e enquadrá-la dentro do mesmo.
- Estilos não são só para julgamento
- Já imaginou o quão difícil era a 30 anos conseguir uma Bohemian Pilsner no Brasil?
- Como que alguém conseguiria fazer uma cerveja que nunca bebeu ?
- As diretrizes de estilo nos ajudam exatamente neste ponto, mesmo sem nunca termos provado um estilo, podemos (tentar) replicá-lo segundo as características informadas.
- Nos ajudam a saber o que esperar de um estilo quando estamos tomando
This file contains 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
url="https://gist.githubusercontent.com/cfreshman/a03ef2cba789d8cf00c08f767e0fad7b/raw/5d752e5f0702da315298a6bb5a771586d6ff445c/wordle-answers-alphabetical.txt" | |
words=($(curl -s $url | grep '^\w\w\w\w\w$' | tr '[a-z]' '[A-Z]')) | |
actual=${words[$[$RANDOM % ${#words[@]}]]} | |
end=false | |
guess_count=0 | |
max_guess=6 | |
left=ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
if [[ $1 == "unlimit" ]]; then | |
max_guess=999999 | |
fi |
This file contains 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
ababa | |
abaci | |
abada | |
abade | |
abafe | |
abafo | |
abaix | |
abaju | |
abala | |
abale |
This file contains 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
Thu Jan 30 14:59:39 UTC 2020 |
This file contains 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
<?php | |
$signalId = rand(1,5823); | |
$content = json_decode(file_get_contents('http://www.acessibilidadebrasil.org.br/libras_3/ajax/getWordById/' . $signalId)); | |
?> | |
<!DOCTYPE HTML> | |
<html> | |
<head> |
This file contains 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
<?php | |
//set POST variables | |
$url = 'http://api.convertio.co/convert'; | |
$fields = array( | |
'apikey' => urlencode('5ec45248e15564f823de2b4c9be34214'), | |
'file' => urlencode("http://zaxy.com.br/public/upload/exports/gif.gif"), | |
'outputformat' => urlencode('mp4'), | |
); | |
//url-ify the data for the POST |
This file contains 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
<?php | |
//use o seguinte comando :D | |
//ffmpeg -f gif -i teste.gif teste.mp4 | |
$app_id = "125178627581346"; | |
$app_secret = "9fcc6b62c0f23c337d8ecb9aec27d155"; | |
$my_url = "http://hml27.com/video"; | |
$video_title = "YOUR_VIDEO_TITLE"; | |
$video_desc = "YOUR_VIDEO_DESCRIPTION"; |
This file contains 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
<?php | |
/** | |
* trims text to a space then adds ellipses if desired | |
* @param string $input text to trim | |
* @param int $length in characters to trim to | |
* @param bool $ellipses if ellipses (...) are to be added | |
* @param bool $strip_html if html tags are to be stripped | |
* @return string | |
*/ | |
function trim_text($input, $length, $ellipses = true, $strip_html = true) { |
This file contains 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
<?php defined('SYSPATH') or die('No direct script access.'); | |
class Controller_Instagram extends Controller { | |
public $instagram_config = null; | |
public function before() | |
{ | |
parent::before(); | |
$this->instagram_config = Kohana::$config->load('instagram'); |
This file contains 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
<?php | |
function excerpt($text, $query) | |
{ | |
//words | |
$words = join('|', explode(' ', preg_quote($query))); | |
//lookahead/behind assertions ensures cut between words | |
$s = '\s\x00-/:-@\[-`{-~'; //character set for start/end of words | |
preg_match_all('#(?<=['.$s.']).{1,50}(('.$words.').{1,50})+(?=['.$s.'])#uis', $text, $matches, PREG_SET_ORDER); |
NewerOlder