Skip to content

Instantly share code, notes, and snippets.

View filipiz's full-sized avatar

Filipi Zimermann filipiz

  • Nextt
  • Florianópolis / SC / Brazil
View GitHub Profile
@filipiz
filipiz / wordpress.plugin.zsh
Last active December 12, 2015 02:29
oh-my-zsh plugin to download wordpress core files on the current directory
getwp() {
echo -n "This will overwrite any wordpress file in the current directory [ $PWD ]\nDo you want to continue? [y/n]: "; read REPLY
if [[ $REPLY =~ ^[Yy]$ ]]
then
if [[ -z "$1" ]]; then
echo "\nFetching latest version number..."
# Get last tag
read tag < <( git ls-remote git://github.com/WordPress/WordPress.git | tail -n 1 | cut -d / -f 3- )
@filipiz
filipiz / gist:2892906
Created June 8, 2012 01:43
RD Station - Notificação (Webhook) genérico
{
"1": {
"email":"suporte@resultadosdigitais.com.br",
"name":"Bruno Ghisi",
"company":"Resultados Digitais",
"job_title":"IT",
"bio":"This is my bio",
"created_at":"2012-06-04T15:31:35-03:00",
"opportunity":"false",
"number_conversions":"3",