Skip to content

Instantly share code, notes, and snippets.


Tal Safran talsafran

View GitHub Profile
View Podia Product Survey Summer

Podia Product Survey Summer 2019

  • What’s the single MOST important thing for us to add to Podia? “If Podia had [ BLANK ], I would be the happiest person in the world”.

  • What else can we do better? I wish Podia would improve:

  • What do you find difficult or confusing in Podia?

  • What is the primary benefit that you have received from Podia?

talsafran /
Created Nov 3, 2012
Email from Louis CK

Hello. Its louis here. I'm clacking this to you on my phone in my dressing room here at studio 8H, right in 30 rockefeller center, in Manhattan, new york city, new york, america, world, current snapshot of all existence everywhere.

Tonight I'm hosting Saturday Night Live, something I zero ever in my life saw happening to me. And yet here it is completely most probably happening (I mean, ANYTHING could NOT happen. So we'll see).

I've been working here all week with the cast, crew, producers and writers of SNL, and with Lorne Michaels. Such a great and talented group of people.

And here we are in the middle of New York City, which was just slammed by a hurricane, leaving behind so much trouble, so much difficulty and trauma, which everyone here is still dealing with every day.

Last night we shot some pre-tape segments in greenwich Village, which was pitch black dark for blocks and blocks, as it has been for a week now.

talsafran / application.html.erb
Created Sep 24, 2012
jQuery selector scoping technique using currying
View application.html.erb
<body class="<%= "#{params[:controller]} #{params[:action]}" %>">
View regular rake routes
tal:~/Projects/pierre $ rake routes
:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /Users/tal/.rvm/gems/ruby-1.9.2-p290@pierre/gems/resque-1.19.0/lib/resque/server.rb:12:in `<class:Server>'
WARNING: Possible conflict with Rake extension: String#ext already exists
WARNING: Possible conflict with Rake extension: String#pathmap already exists
rake aborted!
stack level too deep
Tasks: TOP => routes => environment
(See full trace by running task with --trace)
talsafran / index.html
Created Dec 9, 2011
HTML code from Hursh and Tal's Skillshare Class
View index.html
<link rel="stylesheet" type="text/css" href="index.css" />
<div id="container">
<img src="" />
talsafran / index.css
Created Dec 9, 2011
CSS code from Hursh and Tal
View index.css
body {
text-align: center;
#container {
font-family: arial;
margin-top: 200px;
#search-text {
View 6-track-asynchronously.rb
class ApplicationController < ActionController::Base
def track_event
mixpanel.track(event_user, event_name, event_properties)
handle_asynchronously :track_event
View breadth-first-analytics.rb
# Read about this technique here:
class ApplicationController < ActionController::Base
after_filter :track_event
'users#create' => 'User Created',
View 4-sending-custom-properties.rb
class ApplicationController < ActionController::Base
def track_event
mixpanel.track(event_user, event_name, event_properties)
def event_properties