Skip to content

Instantly share code, notes, and snippets.

View mateusreis's full-sized avatar

Mateus Reis mateusreis

View GitHub Profile
@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}
@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 / 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: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: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>