Skip to content

Instantly share code, notes, and snippets.

View mateusreis's full-sized avatar

Mateus Reis mateusreis

View GitHub Profile
@mateusreis
mateusreis / gist:2022140
Last active October 1, 2015 16:17
select de estados em formatos variados
<select name="" id="">
<option selected="selected" value=""></option>
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AP">Amapá</option>
<option value="AM">Amazonas</option>
<option value="BA">Bahia</option>
<option value="CE">Ceará</option>
<option value="DF">Distrito Federal</option>
<option value="ES">Espirito Santo</option>
@mateusreis
mateusreis / gist:4494227
Last active December 10, 2015 21:18
Default form.
<form action="">
<!-- Label and text input -->
<label for="regularInput">Regular Input</label>
<input type="text" id="regularInput" required />
<!-- Label and Email input -->
<label for="emailInput">Email Input</label>
<input type="email" id="emailInput" />
@mateusreis
mateusreis / gist:4494511
Last active December 10, 2015 21:18
.bashrc alias
alias la='ls -lha'
alias ls='ls -hF'
alias ll='ls -lhF'
alias l='ls -lAhF'
alias cd..="cd .."
alias ssh="ssh -X"
alias gk='gitk --all 2> /dev/null &'
alias mv="mv -i"
alias cp="cp -i"
@mateusreis
mateusreis / gist:4495565
Created January 9, 2013 18:27
Padrão de html5 Titans
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<title>Page Title</title>
</head>
<body>
<header id="page-header"></header>
@mateusreis
mateusreis / modifyheaders.json
Last active December 10, 2015 22:28
Mobile headers for Modify Headers extension: https://addons.mozilla.org/en-us/firefox/addon/modify-headers/ Rename to modififyheaders.json and import.
[{"action":"Modify","name":"User-Agent","value":"Nokia3350/1.0 (05.01)","comment":"Nokia Lowend","enabled":false},{"action":"Modify","name":"Accept","value":"application/vnd.wap.xhtml+xml","comment":""},{"action":"Modify","name":"User-Agent","value":"Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3","comment":"IPHONE ios5","enabled":false},{"action":"Modify","name":"User-Agent","value":"NokiaE5-00/SymbianOS/9.1 Series60/3.0 3gpp-gba","comment":"Nokia Featurephone","enabled":false},{"action":"Modify","name":"User-Agent","value":"Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaN95/21.0.016; Profile/MIDP-2.0 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413","comment":"N95","enabled":false},{"action":"Modify","name":"User-Agent","value":"Mozilla/5.0 (BlackBerry; U; BlackBerry 9800; en-GB) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.141 Mobile Safari/534.1+","comment":"Blackberry","enabled":false}
// 1. Put yout fonts in the compiled folder of your projec. Ex.: www.yoursite.com/css/fonts/
// 2. To enable relative paths to assets via compass helper functions on config.rb uncomment relative_assets = true
// Import the Compass Font Face module
@import "compass/css3/font-face";
// regular
@include font-face('cabin',
font-files(
'Cabin-Regular-webfont.woff', woff,
@mateusreis
mateusreis / form.css
Created January 14, 2013 12:22
Form css
/*********************************************************************
* forms
*********************************************************************/
form {
/*margin-bottom: 20px;*/
width: 100%;
}
fieldset {
@mateusreis
mateusreis / tssidiomas_guatemala-pricing-table.html
Last active December 11, 2015 03:58
pricing table - tssidiomas_guatemala
<!-- linea movil content -->
<div class="content-tabs-paquetes" id="clientes-movil">
<table class="tbl-paquetes five-paquetes">
<thead>
<tr class="tit-single">
<th colspan="5">
<span>c</span>
</th>
</tr>
</thead>
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.com
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php
*/
$args = array(
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your