Skip to content

Instantly share code, notes, and snippets.

Avatar

Fabiano fabianoone

  • Cajamar, São Paulo
View GitHub Profile
@fabianoone
fabianoone / wp-query-ref.php
Last active Mar 25, 2021
WordPress Query Comprehensive Reference
View wp-query-ref.php
# WordPress Query Comprehensive Reference
```php
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
@fabianoone
fabianoone / index.markdown
Created Feb 19, 2021
Integrações RD Station - HTML e Ajax com jQuery
View index.markdown

Integrações RD Station

HTML e Ajax com jQuery

Formulário HTML

Crie normalmente um formulário com os campos que desejar, mas tendo sempre o campo email ou email_lead que é obrigatório.

É necessário também que o formulário tenha o atributo id como conversion-form.

É possível utilizar uma lista de outros campos já cadastrados na ferramenta de CRM do RD Station. Segue uma breve lista de opções:

  • nome
  • telefone
  • empresa
  • cargo
  • twitter
  • etc

@fabianoone
fabianoone / Install Composer using MAMP's PHP.md
Created Jan 15, 2021 — forked from irazasyed/Install Composer using MAMP's PHP.md
Instructions on how to change preinstalled Mac OS X PHP to MAMP's PHP Installation and then install Composer Package Management
View Install Composer using MAMP's PHP.md

Change default Mac OS X PHP to MAMP's PHP Installation and Install Composer Package Management


Instructions to Change PHP Installation


First, Lets find out what version of PHP we're running (To find out if it's the default version).

To do that, Within the terminal, Fire this command:

which php
View .gitconfig
[alias]
ci = commit
co = checkout
cm = checkout master
cb = checkout -b
st = status -sb
sf = show --name-only
lg = log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u})
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..)
View .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ANDROID_HOME=~/Android/Sdk
export PATH="$PATH:$ANDROID_HOME/tools"
export PATH="$PATH:$ANDROID_HOME/platform-tools"
# Path to your oh-my-zsh installation.
export ZSH="/Users/diegofernandes/.oh-my-zsh"
export PATH="$PATH:/usr/local/bin"
View Diego's settings.json
{
// Define o tema que eu utilizo no VSCode 😉
"workbench.colorTheme": "Dracula Soft",
// Configura tamanho e família da fonte
"editor.fontSize": 13, // fontSize que utilizo para melhor visualização no macbook 😌
"editor.lineHeight": 24,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"explorer.compactFolders": false,
View css-only-order-process-steps.markdown

CSS only order process steps

It's been a while. Just a nice process bar here where you can click on the different steps and be presented with information. The box at the top will also animate depending on the steps.

A Pen by Jamie Coulter on CodePen.

License.

View new_gist_file.php
echo date(DATE_ATOM, mktime(0, 0, 0, 7, 1, 2000));