Primeiramente, lembremos que as formas nominais do verbo servem para formar tempos compostos (vou fazer, estou fazendo, tenho feito).
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
find . -iname "*.mp3" -maxdepth 1 | ag -o "audio.*.mp3" | xargs -I{} ffmpeg -ss 00:00:08 -i {} -c copy cut/{} |
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
module REST | |
def self.OAuth(client) | |
REST::OAuth.new(client) | |
end | |
class OAuth < Module | |
def initialize(client) | |
@client = client | |
freeze | |
end |
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
require 'json' | |
@acordes ||= Hash.new {|h,k| h[k] = [] } | |
def lambda_handler(event:, context:) | |
@acordes ||= Hash.new {|h,k| h[k] = [] } | |
params = JSON.parse(event["body"]) | |
puts "[LOGGER] #{params}" | |
session = params["session"] | |
acorde = params["queryResult"]["parameters"]["acorde"] |
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
require 'hanami/validations/form' | |
class SearchForm | |
include Hanami::Validations::Form | |
validations do | |
optional(:filter).maybe do | |
schema do | |
optional(:category).each do | |
schema do |
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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'Xuyuanp/nerdtree-git-plugin' | |
Plugin 'jistr/vim-nerdtree-tabs' |
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
var gulp = require("gulp"); | |
var sass = require("gulp-sass"); | |
var useref = require("gulp-useref"); | |
var uglify = require("gulp-uglify"); | |
var gulpIf = require("gulp-if"); | |
var cssnano = require("gulp-cssnano"); | |
var imagemin = require("gulp-imagemin"); | |
var cache = require("gulp-cache"); | |
var del = require("del"); | |
var browserSync = require("browser-sync").create(); |