Skip to content

Instantly share code, notes, and snippets.

View gblnovaes's full-sized avatar
🎯
Focusing

Gabriel gblnovaes

🎯
Focusing
View GitHub Profile
@gblnovaes
gblnovaes / IONIC Stuff.md
Last active September 3, 2015 19:13 — forked from nncl/IONIC Stuff.md
Ionic stuff

IONIC Stuff

Some useful codes

  1. To start, run ionic serve
  2. To start and see both iOS and Android screens, run ionic serve -l
#!/bin/bash
# Script for creating Virtual Servers On Apache
# Check for the correct parameters
if [ $# -eq 0 ]; then
echo 'Você precisa passar o domínio a ser criado como parâmetro'
echo 'Uso: create-site your-domain.com'
exit 0
fi
<?php
/**
* Plugin Name: Email Confirmation
* Description: Send an email to the user with confirmation code and store form data in database until user confirms.
* Author: Cedric Ruiz
*/
class EmailConfirmation
{
const PREFIX = 'email-confirmation-';
@gblnovaes
gblnovaes / wp-project-install.sh
Created November 14, 2013 16:55 — forked from betooliveirame-zz/wp-project-install.sh
Este script automatiza o processo de clonar e instalar o tema WP.
#!/bin/bash
git clone [email protected]:betooliveira79/WordPress.git portal-apadep
cd ./portal-apadep
git clone [email protected]:elshamah/portal-apadep.git wp-content
cd ./wp-content
git fetch
git checkout release/v1.0.0
git pull origin
curl -sS https://getcomposer.org/installer | php