Skip to content

Instantly share code, notes, and snippets.

View pedromarins's full-sized avatar

Pedro Marins pedromarins

  • Conquiste Sua Vaga
  • Brasil
View GitHub Profile
@pedromarins
pedromarins / Hammer New Page
Last active December 17, 2015 18:19
Sublime Snippet to create a new page on Hammer
This snippet was created to improve my speed working with Hammer.
On a new file I just type hammer and hit tab to create a new file with all the stuff I need to start coding a new page.
This works fine for both the Standard Hammer Tamplate and the HTML5 Boilerplate Template.
To install it:
1. On your Sublime menu go to: Tools > New Snippet...
2. Paste the below code into the file.
3. Save as "hammer-new-page.sublime-snippet"
*{ -moz-box-sizing:border-box;- webkit-box-sizing:border-box; box-sizing:border-box; }
https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing?redirectlocale=en-US&redirectslug=CSS%2Fbox-sizing
@pedromarins
pedromarins / .bash_profile
Last active December 10, 2015 19:48
Meus atalhos e configurações do .bash_profile
#----------#
# shell alias #
#----------#
alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
alias ......='cd ../../../../../'
alias c="clear"
@pedromarins
pedromarins / Treehouse
Created November 26, 2012 01:30
Treehouse membership verification!
Pedro Marins is Treehouse member at http://teamtreehouse.com/pedromarins
Nov 25, 2012
@pedromarins
pedromarins / css3-buttom.css
Created October 5, 2011 19:31
Pure CSS3 button
.user-register input[type="submit"] {
border: none;
color: #FFFFFF;
float: right;
font-size: 15px;
height: 35px;
margin: 0 0 20px;
width: 150px;
-webkit-border-radius: 5px 5px 5px 5px; /* Chrome,Safari4+ */