Skip to content

Instantly share code, notes, and snippets.

View chestozo's full-sized avatar

chestozo

  • Portugal
  • 04:48 (UTC +01:00)
View GitHub Profile
@chestozo
chestozo / dabblet.css
Created August 14, 2012 10:05
Untitled
.ya {
position: absolute;
background-image: linear-gradient(#E55, #F00);
width: 55px;
height: 32px;
right: 10px;
border-radius: 3px;
box-shadow: 1px 1px 2px #CCC;
}
@chestozo
chestozo / dabblet.css
Created August 14, 2012 10:09
Untitled
.ya {
position: absolute;
background-image: linear-gradient(#CCC, #AAA);
width: 25px;
height: 32px;
right: 10px;
border-radius: 3px;
box-shadow: 1px 1px 2px #CCC;
}
@chestozo
chestozo / dabblet.css
Created August 14, 2012 10:51
Untitled
body {
margin: 0;
padding: 0;
}
.ya {
position: absolute;
background-image: linear-gradient(#EAA, #D22);
width: 55px;
height: 32px;
@chestozo
chestozo / dabblet.css
Created August 14, 2012 10:52
Untitled
body {
margin: 0;
padding: 0;
}
.ya {
position: absolute;
background-image: linear-gradient(#EAA, #D22);
width: 55px;
height: 32px;
@chestozo
chestozo / dabblet.css
Created August 21, 2012 08:48
Untitled
div {
display: inline-block;
width: 200px;
height: 200px;
background: red;
}
@chestozo
chestozo / dabblet.css
Created August 23, 2012 11:49
Real styles go here
html {
background: #CCC;
}
body {
position: absolute;
margin: 0;
padding: 0;
left: 50%;
top: 50%;
@chestozo
chestozo / dabblet.css
Created August 31, 2012 15:40
Untitled
body {
margin: 0;
font: 10pt arial;
}
.grey {
width: 0px;
margin: 0 auto;
height: 500px;
}
@chestozo
chestozo / dabblet.css
Created August 31, 2012 15:40
Untitled
body {
margin: 0;
font: 10pt arial;
}
.grey {
width: 0px;
margin: 0 auto;
height: 500px;
}
@chestozo
chestozo / dabblet.css
Created August 31, 2012 20:58
Untitled
.slide {
width: 100%;
height: 100%;
position: absolute;
background: #FFF;
}
.old {
animation: spin 3s infinite ease-in-out;
transform-origin: 0 50%;
@chestozo
chestozo / tumblr.api.post.text.js
Created September 2, 2012 08:25
Tumblr API usage with OAuth: creating a text post
var oauth = ChromeExOAuth.initBackgroundPage({
'request_url': 'http://www.tumblr.com/oauth/request_token',
'authorize_url': 'http://www.tumblr.com/oauth/authorize',
'access_url': 'http://www.tumblr.com/oauth/access_token',
'consumer_key': 'vGKikr2uBRsWoDZ947UjvSzA58HYEXDNjAer7VEXnLXlQt4Ozi',
'consumer_secret': 'JvofKKxQ2QSiVXVaWMBZQRzC5cI86YpJzAoouIkUdlvSeYXN2e',
'app_name': 'Photo post adder'
});
function stringify(parameters) {