Skip to content

Instantly share code, notes, and snippets.

View morcegon's full-sized avatar
😎
Working at Formstack

Renan Andrade morcegon

😎
Working at Formstack
View GitHub Profile
@morcegon
morcegon / .gitignore
Created March 12, 2018 18:50
default .gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@morcegon
morcegon / arrows.scss
Created March 14, 2018 18:34 — forked from bpainter/arrows.scss
Sass mixin for arrows based on The Shapes of CSS from Chris Coyier http://css-tricks.com/examples/ShapesOfCSS/
// --------------------------------------------------------
// arrows
// --------------------------------------------------------
// $direction: top, left, right, bottom, top-left, top-right, bottom-left, bottom-right
// $color: hex, rgb or rbga
// $size: px or em
// @example
// .element{
// @include arrow(top, #000, 50px);
// }
@morcegon
morcegon / inss.json
Last active March 18, 2018 21:55
tabela de inss para teste
[
{
"month": "1989-5",
"value": "93,60"
},
{
"month": "1989-6",
"value": "93,60"
},
{
@morcegon
morcegon / .htaccess
Created March 21, 2018 13:35
.htaccess optimized for laravel
# Apache configuration file
# httpd.apache.org/docs/2.2/mod/quickreference.html
# Note .htaccess files are an overhead, this logic should be in your Apache
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
# Techniques in here adapted from all over, including:
# Kroc Camen: camendesign.com/.htaccess
# perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/
# Sample .htaccess file of CMS MODx: modxcms.com
@morcegon
morcegon / filters.vue
Created April 13, 2018 21:41
filterbar
<template>
<div class="filter-list">
<div class="filter-title">
<i class="fas fa-search"></i>
<span>
Encontre seu
<span class="big">veículo</span>
</span>
</div>
@morcegon
morcegon / md
Created May 22, 2018 13:35
Resolve Alias on Webpack (Vuejs, React, etc)
you can solve this problem with that
# config
```
alias: {
'vue$': 'vue/dist/vue.common.js',
'assets': path.resolve(__dirname, './src/assets'),
'components': path.resolve(__dirname, './src/components')
@morcegon
morcegon / .gitignore
Last active June 5, 2019 17:29
.gitignore padrão para os projetos que costumo trabalhar
# Created by https://www.gitignore.io/api/osx,node,sass,code,bower,grunt,linux,windows,laravel,dropbox,phpstorm,sublimetext,codeigniter
# Edit at https://www.gitignore.io/?templates=osx,node,sass,code,bower,grunt,linux,windows,laravel,dropbox,phpstorm,sublimetext,codeigniter
### Bower ###
bower_components
.bower-cache
.bower-registry
.bower-tmp
@morcegon
morcegon / botão.html
Created June 6, 2019 17:31
Botão WhatsApp com Animação
<div id="whatsapp" class="whatsapp">
<a
href="https://wa.me/5511999999999?text=Olá, minha mensagem vai aqui&source=site"
target="_blank"
title="Fale conosco pelo Whatsapp"
class="btn btn-whatsapp"
rel="noopener">
<span class="fa fa-whatsapp"></span>
</a>
</div>
@morcegon
morcegon / docker-compose.yml
Created July 11, 2019 14:17
Docker stack com serviços para baixar filmes, séries e disponibiliza-los para o consumo.
version: '2'
services:
plex:
container_name: plex
image: plexinc/pms-docker
restart: unless-stopped
network_mode: host
environment:
- TZ=America/Sao_Paulo