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 / evento.html
Created August 16, 2023 12:11
Tag Instituto VS
<!-- Event snippet for Whatsapp conversion page
In your html page, add the snippet and call gtag_report_conversion when someone clicks on the chosen link or button. -->
<script>
function gtag_report_conversion(url) {
var callback = function () {
if (typeof(url) != 'undefined') {
window.location = url;
}
};
gtag('event', 'conversion', {
@morcegon
morcegon / theme.css
Created April 27, 2021 13:22
JSON Viewer - Nord Theme
.CodeMirror {
font-family: "Fira Code", monaco, Consolas, Menlo, Courier, monospace;
font-size: 12px;
line-height: 1.5em;
}
.CodeMirror pre {
color: #ECEFF4;
}
@morcegon
morcegon / .zshrc
Created August 21, 2020 15:38
My .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/semantix/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@morcegon
morcegon / eslintrc.json
Created July 20, 2020 14:09
Bootstrap eslint
{
"env": {
"browser": true,
"es6": true
},
"plugins": [
"react",
"react-hooks",
"@typescript-eslint",
"prettier",
@morcegon
morcegon / .tmux.conf
Created March 6, 2020 17:46
Tmux config
set -g default-terminal "screen-256color"
set -g mouse on
set-window-option -g xterm-keys on
@morcegon
morcegon / gulpfile.js
Created October 15, 2019 14:40
wp gulp
const {
src,
dest,
parallel,
watch
} = require('gulp')
const sass = require('gulp-sass')
const autoprefixer = require('gulp-autoprefixer')
const browserify = require('gulp-browserify')
@morcegon
morcegon / .gitignore
Created October 15, 2019 12:39
wordpress .gitignore
# Created by https://www.gitignore.io/api/osx,node,sass,code,grunt,linux,bower,windows,dropbox,laravel,phpstorm,wordpress,codeigniter,sublimetext
# Edit at https://www.gitignore.io/?templates=osx,node,sass,code,grunt,linux,bower,windows,dropbox,laravel,phpstorm,wordpress,codeigniter,sublimetext
### Bower ###
bower_components
.bower-cache
.bower-registry
.bower-tmp
@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
@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 / .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