Skip to content

Instantly share code, notes, and snippets.

@tylergaw
tylergaw / dabblet.css
Created December 6, 2012 16:09
Testing overflow box issue
/**
* Testing overflow box issue
*/
#container {
border: 1px solid black;
height: 250px;
margin: 0 auto;
overflow: auto;
padding: 0;
position: relative;
@tylergaw
tylergaw / dabblet.css
Created April 10, 2013 03:26
Untitled
background: linear-gradient(-12deg, red 10%, yellow 20%, blue 30%, brown 40%, green 50%, pink 60%, orange, hotpink);
@tylergaw
tylergaw / dabblet.css
Created May 2, 2013 14:50
Ice Burn bitch!
/**
* Ice Burn bitch!
*/
background: url(http://media.tumblr.com/tumblr_m87wwuJcMG1qjnpnp.gif);
@tylergaw
tylergaw / dabblet.css
Created May 2, 2013 14:51
Ice Burn bitch!
/**
* Ice Burn bitch!
*/
background: url(http://media.tumblr.com/tumblr_m87wwuJcMG1qjnpnp.gif);
@tylergaw
tylergaw / gist:6539786
Created September 12, 2013 15:51
just playin'

Testing

  • this
  • is
  • a
  • list
  • Fish

@tylergaw
tylergaw / gist:6600302
Last active December 23, 2015 07:19
Django csrf template tag output
Template:
<form>
{% csrf_token %}
</form>
Output:
<form>
<div style="display:none;">
<input type="hidden" name="csrfmiddlewaretoken" value="thetoken666">
</div>
@tylergaw
tylergaw / dabblet.css
Created December 12, 2013 21:58
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: url(http://i.imgur.com/idUVX03.gif);
@tylergaw
tylergaw / dabblet.css
Created January 5, 2014 18:41
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: url(http://i.imgur.com/idUVX03.gif);
@tylergaw
tylergaw / dabblet.css
Created January 5, 2014 18:42
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
h1 {
font-family: 'Josefin Slab', serif;
}
@tylergaw
tylergaw / gist:8694184
Created January 29, 2014 18:41
Updated Pocket RSS loop to display dates
foreach ($sxml->channel->item as $item) {
$formattedDate = date('F d, Y', strtotime($item->pubDate)); // January 02, 2014
// For more format strings check out http://us2.php.net/manual/en/function.date.php
echo "<li class='tweet-item'>";
echo "<h8>" . $item->title . "</h8>";
echo "<br><a href=". $item->link ." target='_blank'>" . $item->link . "</a><br>";
echo $formattedDate;
echo "</li>";
}