Skip to content

Instantly share code, notes, and snippets.

View dimoreira's full-sized avatar
🏠
Working from home

Diego Moreira dimoreira

🏠
Working from home
View GitHub Profile
@dimoreira
dimoreira / cotacao-component (QuestionItem Autocomplete).html
Last active March 14, 2019 19:51
Correção Materialize Auto Init
<!-- START: QuestionItem -->
<li class="question-item card-panel">
<h2 class="intro-title">Vamos lá!</h2>
<div class="form-field standard">
<div class="field-control secondary autocomplete"> <!-- ADICIONADA A CLASSE AUTOCOMPLETE PARA DAR ESCOPO AO ESTILO -->
<input type="text" class="field-input destinationAutocomplete" name="destination"
placeholder="Pesquise seu destino" [(ngModel)]="selectedCountry" [ngbTypeahead]="search"
[resultTemplate]="rt" [inputFormatter]="formatter"/>
<label for="destination" class="field-label">Qual o seu destino?</label>
</div>
@dimoreira
dimoreira / OSX-Convert-MOV-GIF.md
Created May 19, 2021 20:32 — forked from tskaggs/OSX-Convert-MOV-GIF.md
Creating GIFs from .MOV files in OSX using FFmpeg and ImageMagick

Convert MOV to GIF using FFmpeg and ImageMagick

I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!

Preparation

Install FFmpeg

  • $ brew install ffmpeg [all your options]
    • Example: $ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

Install ImageMagick