Skip to content

Instantly share code, notes, and snippets.

View ribeiroevandro's full-sized avatar
🏠
Working from home

Evandro Ribeiro ribeiroevandro

🏠
Working from home
View GitHub Profile
//
// Default
// Usage: $triangle(width, height, direction, color)
// ------------------------------------------------------------
$triangle($width = 10px, $height = 10px, $direction = 'bottom', $color = $gray-darker)
background none
border-style solid
height 0
width 0

Keybase proof

I hereby claim:

  • I am ribeiroevandro on github.
  • I am ribeiroevandro (https://keybase.io/ribeiroevandro) on keybase.
  • I have a public key whose fingerprint is FF9F F8BF BC40 42F9 8DE3 C1E7 E300 833E E9FB 41A7

To claim this, I am signing this object:

<div>
<h2>Categorias do site</h2>
<ul>
<li><a href="#">Início</a></li>
<li><a href="#">Quem Somos</a></li>
<?php
$args = array(
'orderby' => 'name',
'order' => 'ASC',
'title_li' => 'Departamentos',
@ribeiroevandro
ribeiroevandro / setup-linux-for-web-developers.sh
Last active August 29, 2015 12:38 — forked from andrewslince/setup linux for web developers
This script installs the softwares: Skype, JDK (Java Development Kit), Google Chrome, Google Talk Plugin (It' s necessary for hangouts use), Sublime Text 3, Terminator, Git, GitK, PHP5, cURL (PHP extension), PHPUnit (For create/running unit tests with PHP), Apache Server, enable mod_rewrite for Apache (For clean url use), MySql Server, PHPMyAdmi…
#!/bin/bash
clear
echo "Please enter your e-mail:"
read email
# install google chrome
sudo apt-get install libcurl3 libnspr4-0d libxss1 -y
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*; rm google-chrome*
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\ )-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs s udo apt-get -y purge
@ribeiroevandro
ribeiroevandro / html.html
Created October 29, 2013 02:42
HTML: Teste Gist
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Teste Gist</title>
</head>
<body>
<p>Estrutura básica de html enviada ao Gist direto do sublime.</p>
<p>Isso é muito foda...</p>
</body>
[
// Comando para abrir o console usando Ctrl+'
{ "keys": ["ctrl+'"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
// Comando para comentar e descomentar código usando Ctrl+;
{ "keys": ["ctrl+;"], "command": "toggle_comment", "args": { "block": false } }
]
{
// Oculta a exibição do caminho absoluto do arquivo.
"show_full_path": false,
// Mostra que o arquivo foi alterado e não foi salvo ainda.
"highlight_modified_tabs": true,
// Remover espaços em branco na hora de salvar o arquivo.
"trim_trailing_white_space_on_save": true,
<?php
/*
Template Name: Print Processing Orders :)
*/
if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.');
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />