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 / 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 / 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 / .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 / 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 / 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 / .gitignore
Created March 12, 2018 18:50
default .gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #