What Up Derek?

  • Archive
  • RSS
  • Ask me anything
kickstarter:

Thur, 5:31am: Double Fine Adventure reaches its $400,000 goal in just eight hours. It’s the fastest start to any project in Kickstarter history.
Thur, 7:33am: We notice that Double Fine creator Tim Schafer stayed up all night watching it happen (us too!). 
We had a crazy 24 hours over here at Kickstarter HQ. Yancey broke it all down by the minute — check it out.

Gets me pumped about young companies.
Pop-upView Separately

kickstarter:

Thur, 5:31am: Double Fine Adventure reaches its $400,000 goal in just eight hours. It’s the fastest start to any project in Kickstarter history.

Thur, 7:33am: We notice that Double Fine creator Tim Schafer stayed up all night watching it happen (us too!).
We had a crazy 24 hours over here at Kickstarter HQ. Yancey broke it all down by the minute — check it out.

Gets me pumped about young companies.

Source: kickstarter

  • 3 days ago > kickstarter
  • 11
  • Permalink
  • Share
    Tweet
scottlava:

“The Beast got it.”
Pop-upView Separately

scottlava:

“The Beast got it.”

Source: scottlava

  • 3 days ago > scottlava
  • 4459
  • Permalink
  • Share
    Tweet
bashirsultani:


Quit Smoking
View Separately

bashirsultani:

Quit Smoking

(via wizkid)

Source: bashirsultani

  • 1 week ago > bashirsultani
  • 588
  • Permalink
  • Share
    Tweet
'\x3ciframe width=\x22500\x22 height=\x22281\x22 src=\x22http://www.youtube.com/embed/YQIMGV5vtd4?wmode=transparent\x26autohide=1\x26egm=0\x26hd=1\x26iv_load_policy=3\x26modestbranding=1\x26rel=0\x26showinfo=0\x26showsearch=0\x22 frameborder=\x220\x22 allowfullscreen\x3e\x3c/iframe\x3e'

Wow.

  • 1 week ago
  • 3
  • Permalink
  • Share
    Tweet

mynt - Python-powered static site generator

thechangelog:

There’s no shortage of static site generators lately, but most are very blog-focused. Mynt from Andrew Fricke aims to deliver true CMS flexibility in a Python package. Mynt supports custom date and tag-based archives, Jinja templates, Markdown posts, and YAML front matter.

Check out the nicely done docs site for usage and options, or drop into #mynt on IRC.

Source: thechangelog

  • 2 weeks ago > thechangelog
  • 5
  • Permalink
  • Share
    Tweet

New Smarty Plugin - Attr

Hey,

Created a new Smarty plugin that makes it easy to add attributes to html elements based on properties of an object.

attr

This attr function is meant to shorten the syntax used to set various html attributes more specifically the class attribute. It was inspired by the bindAttr helper in ember.js. You provide a target object and that is used to grab properties from. If the value passed in for the attribute is a property on the target the value of that property is returned. If it is not a valid property then the string literal will be used instead.

When dealing with a class attribute it acts a little differently. First of all you can pass in a space delimited list of property names or values. If the property is a boolean it will dashize the property name some_bool => is-some_bool. If you don’t want that you can pass in an alternate value for when the bool is true some_bool:this-was-true => this-was-true. If the bool is false the class won’t be added to the attribute.

# Sample object
$obj->active     = true;
$obj->title      = 'Whaddup';
$obj->status     = 'pending';
$obj->public_url = 'http://example.com';

template file

{attr target=$obj class="active active:this-is-active status crap" href="public_url"}
> class="is-active this-is-active pending" href="http://example.com"

Options

There are a few options you can pass in to customize the output of the generated attributes string.

enclose

default: “

{attr target=$obj class="active" enclose="'"}
> class='is-active'

delimiter

default: ” ” (single space)

{attr target=$obj class="active" href="public_url" delimiter="\n"}
> class="is-active"\nhref="http://example.com"

sort

default: false

{attr target=$obj href="public_url" class="active" sort=true}
> class="is-active" href="http://example.com"

Check out the github repo to download it and provide any feedback. Thanks!

    • #smarty
    • #php
    • #html
    • #templates
    • #frontend
  • 3 weeks ago
  • 1
  • Permalink
  • Share
    Tweet
View Separately

Source: britefutures

  • 1 month ago > britefutures
  • 65
  • Permalink
  • Share
    Tweet
  • damiano.braga: SHIT
  • damiano.braga: they didnt let me close my account
  • damiano.braga: because i use the debit card today
  • damiano.braga: that's bulsshit
  • damiano.braga: bullshit
  • Derek Reynolds: what the fuuuuuck
  • Derek Reynolds: that's dumb
  • Derek Reynolds: did you kill them?
  • damiano.braga: no i was polite
  • damiano.braga: i just spit on the table
  • 1 month ago
  • Permalink
  • Share
    Tweet
View Separately

(via ihatemyparents)

Source: ponycamp

  • 2 months ago > ponycamp
  • 36556
  • Permalink
  • Share
    Tweet
View Separately

(via ihatemyparents)

Source: dayofthedreamweavers

  • 2 months ago > dayofthedreamweavers
  • 1762
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 48

About

Pages

  • Resume
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr