Sunday, May 31, 2015

The Reduce Method of a Javascript Array

  • I've seen alot of confusing Youtube videos on this subject, but
  • but here is an easy way of using the reduce method of a javascript array.  
  • var colors=
  • ["red", "blue", "yellow", "black", "purple", "chartreuse"];
  • var newcolors= colors.reduce(function(k,j){return k+ " and " +j},colors[1]);
  • "blue and red and blue and yellow and black and purple and chartreuse"

Friday, May 8, 2015

List of some of the Podcasts I go in for

Because I don't like listening to music at work its all about the podcasts:

Programming:

Javascript Jabber                                javascriptjabber.com/
Ruby Rouges                                           rubyrogues.com/
Freelancers                                               devchat.tv/freelancers

Sports -

The Dan Lebatard Show                  Get outta here with that!
The BS Report                                    Does Phillip Rivers Stink?
Bill Don't Lie                                          Not totally sure about this one
Jalon and Jacoby                                                A pop the trunk production

"Comedy" -

WTF                                                                Are we good?
You Made It Weird                                         We're workin today!
The Joe Rogan Experience                                Why fuck around?
Kill Tony                                                          Am I right people?
Ice House Chronicles                                      Positive Push!
The Church Of Whats Happening Now             Stay Black
Doug Stanhope Podcast                                    Tin can rehab
Tell Em Steve Dave                                          Your fuckin me bri