Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

Jeff Saracco

Posts By

PIVOTAL LABS
Standup NY 7-19-2012

Interestings

  • automated deploys with jenkins

TL;DR:

exec ssh-agent ./path/to/your/build/script

We setup our ci server to deploy (via capistrano) our app to an "acceptance" environment after a successful build. However, the ssh configuration on the environment we deploy to confuses the ruby net-ssh library, rendering the "forward-agent" option in capistrano useless. Therefore, our build script needed to manually add keys to the ssh-agent.

To make an ssh-agent available to your build script in jenkins, wrap the shell command for your build script in "exec ssh-agent":

exec ssh-agent ./path/to/your/build/script

Your build script will be executed as a subprocess of the agent. When the command finishes, the agent dies with it.

To help DRY up your stylesheets, SCSS allows for inheritance. Take the following example:

.btn-red { height: 20px; width: 20px; border-radius: 5px 5px 5px 5px; background-color: #FF0000; }

.btn-white { height: 20px; width: 20px; border-radius: 5px 5px 5px 5px; background-color: #FFFFFF; }

Notice the similarities between the three classes; copying & pasting style declarations should tickle the same spidey sense that copying & pasting Ruby code does. Fortunately, SCSS offers @extend, which can be used like so:

.btn { height: 20px; width: 20px; border-radius: 5px 5px 5px 5px; }

.btn-red { @extend .btn; background-color: #FF0000; }

.btn-white { @extend .btn; background-color: #FFFFFF; }

Events

  • Machine learning meetup tonight

PIVOTAL LABS
Standup 04/12/2012 –

Interestings

  • Chrome JsonViewer plugin - pretty prints JSON useful for debugging. Also some people use Awesome Print for similar functionality

  • ElementalJS

  • jquery_currency

  • Arel now has distinct, otherwise a work-around like #scope#.clone.tap { |arel| select_value = [ 'DISTINCT users.*'] } is used

  • Amazon released CloudSearch today - an Amazon hosted search service

Helps

  • How to use Twitter Bootstrap SASS semantically?
    • "span3" sucks
    • "@extend span3" breaks

Events

  • Anyone interested in hardware hacking (arduino, etc...) see Fader or Berger

PIVOTAL LABS
Standup 04/10/2011: How to succeed in business like a ninja

Interesting

  • Facebook bought Instagram for $1 billion

Events

Today:

Brownbag Enterprise-Fu or How to succeed in business (like a ninja)

NYC.rb - Lean startup

Wednesday:

Libs@Lunch: book club has been moved to lunch time so more people can come This week they will be finishing smalltalk best practices and will be choosing the next book

Lean UX roundtable - JB will be speaking, see him for more info or if you would like to attend