Skip to content

Instantly share code, notes, and snippets.

View kant's full-sized avatar
🎹
🎼🎶

Darío Hereñú kant

🎹
🎼🎶
  • Planet Earth...
  • X @kant
View GitHub Profile
@andrewfulton
andrewfulton / minimalist_plus_disqus
Created December 13, 2011 12:13
Tumblr's minimalist theme WITH a disqus block
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Theme: The Minimalist v1.
Design: The Minimalist (http://minimalist.co)
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
@jonathanmoore
jonathanmoore / gist:1473089
Created December 13, 2011 17:45
Tumblr <embed> striping
<!-- Embed code for Mixcloud -->
<object width="480" height="480">
<param name="movie" value="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?feed=http%3A%2F%2Fwww.mixcloud.com%2Fvlekrecords%2Fssaliva-lrzpm%2F&embed_uuid=ae879085-19b7-4e66-86b0-9e2e50835c9d&stylecolor=&embed_type=widget_standard"></param>
<param name="allowFullScreen" value="true"></param>
<param name="wmode" value="opaque"></param>
<param name="allowscriptaccess" value="always"></param>
<embed src="http://www.mixcloud.com/media/swf/player/mixcloudLoader.swf?feed=http%3A%2F%2Fwww.mixcloud.com%2Fvlekrecords%2Fssaliva-lrzpm%2F&embed_uuid=ae879085-19b7-4e66-86b0-9e2e50835c9d&stylecolor=&embed_type=widget_standard" type="application/x-shockwave-flash" wmode="opaque" allowscriptaccess="always" allowfullscreen="true" width="480" height="480"></embed>
</object>
<!-- Embed code after Tumblr strips the <embed> tag -->
@matthewhudson
matthewhudson / gist:1603502
Created January 12, 2012 22:21
Integrate Open Graph with Tumblr
<!-- Open Graph tags for your home page (index). -->
<meta property="og:site_name" content="{Title}" />
<meta property="fb:app_id" content="FACEBOOK_APPID"/>
<meta property="fb:admins" content="FACEBOOK_USERID" />
<meta property="og:description" content="{MetaDescription}" />
<meta property="og:locale" content="en_US" />
{block:IndexPage}
<meta property="og:image" content="{PortraitURL-128}" />
<meta property="og:title" content="{Title}" />
@eduardodx
eduardodx / gist:1618807
Created January 16, 2012 02:59 — forked from stammy/gist:1610222
some startups on tumblr (that should probably move off tumblr)
http://tumblr.everlane.com/
http://blog.hipmunk.com/
http://blog.shoplrapp.com/
http://blog.mailgun.net/
http://blog.grooveshark.com/
http://blog.path.com/
http://blog.instagram.com/
http://blog.oink.com/
http://blog.shelby.tv/
http://blog.roamz.com/
* {
-moz-perspective: 80px;
-moz-transform-style: preserve-3d;
-moz-transform: rotateX(0) rotateY(0) rotateZ(360);
-moz-animation: upyourscache1331120766243 5s infinite linear;
-webkit-perspective: 80px;
-webkit-transform-style: preserve-3d;
-webkit-transform: rotateX(0) rotateY(0) rotateZ(360);
-webkit-animation: upyourscache1331120766243 5s infinite linear;
@gnippy
gnippy / gist:2008385
Created March 9, 2012 20:08
Tumblr Posts Sample Payload (Activity Streams)
{
"id":"tag:gnip.tumblr.com:2012:post/19013144124/post",
"tumblrRebloggedRoot":{
"author":{
"link":"http://askmollytheredsolly.tumblr.com/",
"displayName":"Hey! How ya doin'?"
},
"link":"http://askmollytheredsolly.tumblr.com/post/18973845645/scarlet-i-like-you-teal-id-date-you-red"
},
"verb":"post",
@kant
kant / makemyvideobigger.js
Created March 17, 2012 01:46 — forked from OscarGodson/makemyvideobigger.js
Tumblr + Vimeo Mod To Make Videos Larger Than 500
/**
* Makes Vimeo videos on Tumblr larger than the max of 500px that Tumblr forces
* Change the 650 to whatever you want, but do NOT add px or %
* The height, by default, is set to auto which will calculate the 16:9 video size.
* You can set the height to a static number as well if you want.
* If you have any questions feel free to ask me: @oscargodson | oscargodson.com
*/
(function(){
var iframes = document.body.getElementsByTagName('iframe')
, newVimeoWidth = 650