earth2marsh + ruby   49

Introducing Backbone Routes
"At DailyMuses, we depend heavily on Backbone and concurrent routers call for a single page in order to have a better way to organize our codebase. Since I am coming from the Rails background, when I first tried to tackle this problem, I immediately thought of the way how Rails handles multiple routes with config/routes.rb. Hence, I created Backbone Routes.

With Backbone Routes, you will have a central place to control all your routing logic for your Backbone app."
backbone  javascript  plugins  routing  webdev  ruby 
7 weeks ago by earth2marsh
dewski/json_builder · GitHub
"JSON Builder
Rails provides an excellent XML Builder by default to build RSS and ATOM feeds, but nothing to help you build complex and custom JSON data structures. The standard to_json works just fine, but can get very verbose when you need full control of what is generated and performance is a factor. JSON Builder hopes to solve that problem.

"
builder  json  ruby  rails  apis 
8 weeks ago by earth2marsh
Pro-tip: How To Backup All Of Your GitHub Repositories In One Go
Addy Osmani covers three different scripts with different degrees of GitHub backing up fu.
git  github  ruby  scripts  backup  archive  backups 
8 weeks ago by earth2marsh
Using capybara as a javascript capable replacement for Mechanize | chadcf
"Could the combo of Capybara and Capybara Webkit act as a replacement for Mechanize?

The answer? Yes. At least for what I need. They both use Nokogiri underneath so the parsing should be pretty similar.

Without further ado I present a simple script demonstrating how to write a command line screen scraper using capybara. This sample script can be run from the terminal and will perform a google search."

"However, as far as I'm aware, this is about the only way out there to fairly easily scrape a javascript powered website."
javascript  scraping  scraper  ruby 
january 2012 by earth2marsh
Bumper Crop of WADL Tools | Java.net
"Last week saw the release of three new WADL frameworks:"
WADL  tools  python  ruby  java  c#  from delicious
october 2011 by earth2marsh
norman/friendly_id - GitHub
"FriendlyId is the "Swiss Army bulldozer" of slugging and permalink plugins for Ruby on Rails. It allows you to create pretty URL's and work with human-friendly strings as if they were numeric ids for Active Record models.<br />
<br />
Using FriendlyId, it's easy to make your application use URL's like:<br />
<br />
http://example.com/states/washington<br />
instead of:<br />
<br />
http://example.com/states/4323454"
ruby  programming  plugins  plugin  ids  activerecord  from delicious
september 2011 by earth2marsh
maccman/nestful - GitHub
"Nestful is a simple Ruby HTTP/REST client with a sane API."
api  library  rest  ruby  xml  apis  gem  from delicious
august 2011 by earth2marsh
michaeldv/awesome_print - GitHub
"Awesome Print is Ruby library that pretty prints Ruby objects in full color exposing their internal structure with proper indentation. Rails ActiveRecord objects and usage within Rails templates are supported via included mixins."
programming  ruby  printing  pretty  print  github  from delicious
june 2011 by earth2marsh
Hackety Hack!
"Hackety Hack will teach you the absolute basics of programming from the ground up. No previous programming experience is needed!<br />
With Hackety Hack, you'll learn the Ruby programming language"
ruby  tutorial  education  learning  programming  from delicious
april 2011 by earth2marsh
RVM: Ruby Version Manager - RVM Ruby Version Manager - Documentation
"RVM is a command line tool which allows us to easily install, manage and work with multiple ruby environments from interpreters to sets of gems."
ruby  development  gems  tools  version 
january 2011 by earth2marsh
Watir
"Watir, pronounced water, is an open-source (BSD) family of Ruby libraries for automating web browsers. It allows you to write tests that are easy to read and maintain. It is simple and flexible. Watir drives browsers the same way people do. It clicks links, fills in forms, presses buttons. Watir also checks results, such as whether expected text appears on the page. Watir is a family of Ruby libraries but it supports your app no matter what technology it is developed in. They support Internet Explorer on Windows, Firefox and Chrome on Windows, Mac and Linux and Safari on Mac."
automated  automation  browser  framework  gui  programming  javascript  ruby  opensource  functional  testing  tools  webdev 
november 2010 by earth2marsh
hayesdavis's grackle at master - GitHub
"Grackle is a lightweight Ruby wrapper around the Twitter REST and Search APIs. It’s based on my experience using the Twitter API to build cheaptweet.com. The main goal of Grackle is to never require a release when the Twitter API changes (which it often does) or in the face of a particular Twitter API bug. As such it’s somewhat different from other Twitter API libraries. It doesn’t try to hide the Twitter "methods" under an access layer nor does it introduce concrete classes for the various objects returned by Twitter. Instead, calls to the Grackle client map directly to Twitter API URLs. The objects returned by API calls are generated as OpenStructs on the fly and make no assumptions about the presence or absence of any particular attributes. Taking this approach means that changes to URLs used by Twitter, parameters required by those URLs or return values will not require a new release. It will potentially require, however, some modifications to your code that uses Grackle."
api  development  gem  oauth  security  ruby  library  programming  twitter 
august 2010 by earth2marsh
Easy Twitter Streaming API Testing with Mockingbird « Hayes Davis
"Testing code that talks to the Twitter Streaming API is hard. The are 8 documented failure HTTP response codes, random disconnections, and second-to-second rate changes. And, since this is Twitter we’re talking about, basically anything can happen at any time – including complete downtime. So, let me introduce you to mockingbird. Mockingbird is a simple streaming HTTP server written in Ruby that you can use in place of the server at stream.twitter.com when you’re testing your Streaming API code. With mockingbird, all it takes is a few lines of code and you can simulate all the issues I described above and more."
api  programming  ruby  twitter  streaming  test  testing  development  dev 
august 2010 by earth2marsh
codepad
"codepad is an online compiler/interpreter, and a simple collaboration tool. Paste your code below, and codepad will run it and give you a short URL you can use to share it in chat or email."
c++  code  python  ruby  perl  php  programming  collaboration  compiler  online  interpreter 
may 2010 by earth2marsh
OAuth Explained and What It Is Good For // RailsTips by John Nunemaker
nice howto for beginners, demystifies the OAuth process with code examples.
reference  example  oauth  ruby  rails  authentication  twitter 
april 2009 by earth2marsh
Home - hpricot - GitHub
"A Fast, Enjoyable HTML Parser for Ruby… a very flexible HTML parser, based on Tanaka Akira’s HTree and John Resig’s jQuery, but with the scanner recoded in C."
parser  scraper  ruby  rails  xml  html  webdev 
march 2009 by earth2marsh
Snippits | Ben Kudria
text replacement utility for linux
software  expansion  text  linux  ruby  automation 
may 2008 by earth2marsh
:: GIANT ROBOTS SMASHING INTO OTHER GIANT ROBOTS :: Highrise to LDAP Gateway
proxy your Highrise contacts as LDAP entries (proof of concept, source avail)
37Signals  ldap  programming  rails  ruby  script  highrise  api 
october 2007 by earth2marsh
(mt) Media Temple - (gs) Grid-Service
The (gs) Grid-Service's on-demand scalability means you'll always be ready for intense bursts of traffic and the growing audience resulting from your online success.
hosting  grid  server  ruby  rails  webhosting  interesting  webhost 
august 2007 by earth2marsh
The Lab
playing with both Sass and Haml
haml  ruby  rails  sass  Programming  RubyOnRails 
june 2007 by earth2marsh
steve.blog » StaticMatic - Managing static sites with Haml & Sass
CMS is overrated. A lot of the time, clients want us to do what we do best - well designed pages with structured, accessible and maintainable markup & styling. CMSs are often sufficient for this, but sometimes they can be restrictive and more cumbersome t
haml  ruby  sass  static  cms  template  RubyOnRails 
june 2007 by earth2marsh
#haml
a markup language that’s used to cleanly and simply describe the XHTML of any web document without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ASP, and ERB, the templating language used in most
rails  ruby  haml  template  markup  HTML  xhtml 
june 2007 by earth2marsh

related tags

!to_read  37Signals  activerecord  analytics  api  apis  application  archive  article  authentication  automated  automation  backbone  backup  backups  blech  book  browser  builder  c#  c++  cheatsheet  cli  cms  code  collaboration  compiler  css  culture  dedicated  deployment  design  dev  development  ebooks  education  email  example  expansion  flickr  framework  free  freeze  freezing  functional  gem  gems  git  github  grid  gui  haml  Hateoas  heroku  highrise  hosting  howto  html  ids  install  interesting  interpreter  java  javascript  json  languages  ldap  learning  library  linux  mac  markup  messagequeue  messaging  mvc  node.js  nodejs  oauth  online  opensource  osx  parser  perl  php  pivotal  plugin  plugins  presentation  Presentations  pretty  print  printing  programming  python  rails  rake  reference  regex  reseller  resources  rest  ror  routing  ruby  rubyonrails  rvm  sass  scraper  scraping  script  scripts  security  server  shared  Slides  software  startup  startups  static  streaming  swagger  template  templates  test  testing  text  threading  threads  tools  try  tutorial  tutorials  twitter  unicorn  unix  version  vps  WADL  web  webdev  webhost  webhosting  why  xhtml  xml 

Copy this bookmark:



description:


tags: