Skip to content

Instantly share code, notes, and snippets.

View kvnol's full-sized avatar

Kevin Oliveira kvnol

View GitHub Profile
@rafabarbosa
rafabarbosa / index.markdown
Created March 4, 2020 20:11
Integrações RD Station - PHP

Integrações RD Station

PHP

Muitos sites em PHP possuem uma página que é um script para enviar o email de contato ou tratar o preenchimento de algum formulário.

Para fazer com que essa página envie os dados para o CRM do RD Station, é só inserir nosso script de integração em seu código e fazer a chamada quando for controlar a submissão dos dados.

Script para integração

@diego3g
diego3g / .zshrc
Last active September 3, 2025 00:32
SPACESHIP_PROMPT_ORDER=(
user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
vi_mode # Vi-mode indicator
@eduardojmatos
eduardojmatos / frontendbr-forum-top-activity-users.md
Last active May 20, 2020 21:11
List of all users by activities on FrontendBR#forum
@michelmany
michelmany / app.js
Last active April 22, 2023 00:42
Vue.js 2 Vee-validate (pt-br) CPF Validation
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VeeValidator, { Validator } from 'vee-validate'
import CpfValidator from './components/validators/cpf.validator'
import Dictionary from './components/validators/dictionary'
import Produto from './components/produtos.vue'
Validator.extend('cpf', CpfValidator)
@jaredatch
jaredatch / functions.php
Last active March 11, 2026 17:52
WordPress Search Autocomplete using admin-ajax.php
<?php
/**
* Enqueue scripts and styles.
*
* @since 1.0.0
*/
function ja_global_enqueues() {
wp_enqueue_style(
'jquery-auto-complete',
@jeffmcneill
jeffmcneill / alo-easymail_cf7-integration.php
Last active February 22, 2019 16:38
ALO EasyMail - Contact Form 7 Integration PHP file
<?php
/*******************************************************************************
*
* Enable ALO EasyMail Subscription checkboxes in Contact Form 7 forms - by ALO
*
* Step 1. Copy this file (alo-easymail_cf7-integration.php) into the
* /wp-content/mu-plugins/ directory (create if it does not exist) or
* copy the contents of this file into a theme's functions.php file.
*
@lukecathie
lukecathie / jekyll-sort-collection-desc
Created December 18, 2014 09:36
Jekyll sort collections by date desc
{% assign work_items = site.work_items | sort: 'date' | reverse %}
{% for work_item in work_items limit:4 %}
<div>
<a href="{{ work_item.url | prepend: site.baseurl }}">{{ work_item.title }}</a>
</div>
{% endfor %}
@fdaciuk
fdaciuk / 01 - Sublime Configurations.md
Last active March 11, 2021 00:56
Sublime Configurations
@patriciogonzalezvivo
patriciogonzalezvivo / PythonSetup.md
Created October 7, 2014 23:17
How to install Python correctly on Mac OSX

Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Add PATH to ~/.bash_profile and ~/.zshrc

export PATH=/usr/local/bin:$PATH
@rxaviers
rxaviers / gist:7360908
Last active September 22, 2026 15:35
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: