recentpopularlog in

edavey : development   380

« earlier  
bbatsov/rubocop
RuboCop is a Ruby static code analyzer. Out of the box it will enforce many of the guidelines outlined in the community Ruby Style Guide.

Most aspects of its behavior can be tweaked via various configuration options.

Apart from reporting problems in your code, RuboCop can also automatically fix some of the problems for you.
ruby  development 
august 2014 by edavey
Technical debt 101
A primer about technical debt, legacy code, big rewrites and ancient wisdom for non technical managers
agile  development 
august 2014 by edavey
Hutch: Inter-Service Communication with RabbitMQ — GoCardless Blog
Hutch is a Ruby library for enabling asynchronous inter-service communication in a service-oriented architecture, using RabbitMQ.
SOA  messaging  ruby  development 
september 2013 by edavey
Myron Marston » RSpec 2.14 is released!
including "Shared example groups are scoped to the context they are defined in"
rspec  testing  ruby  development 
july 2013 by edavey
codepen
live haml / js / css
development  ui  coding  js 
july 2013 by edavey
Sandi Metz’ rules for developers
Sandi Metz’ rules for developers

Back in January, Sandi Metz introduced her rules for developers in a Ruby Rogues podcast episode episode. When Sandi’s rules were published, I was starting a new project. This post details the experience of that team applying Sandi’s rules to that project.
development  ruby  rails 
may 2013 by edavey
Jabberwocky
Promises in javascript with Q
javascript  promises  development 
march 2013 by edavey
Scriptular
A javascript regular expression editor, like rubular
regex  javascript  development 
march 2013 by edavey
RequireJS
RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.
javascript  development 
february 2013 by edavey
Welcome! Buster.JS is... — Buster.JS 0.7.0 documentation
A browser JavaScript testing toolkit. It does browser testing with browser automation (think JsTestDriver), QUnit style static HTML page testing, testing in headless browsers (PhantomJS, jsdom), and more. Take a look at the overview!
javascript  development  testing 
february 2013 by edavey
Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs Couchbase vs Hypertable vs ElasticSearch vs Accumulo vs VoltDB vs Scalaris comparison :: Software architect Kristof Kovacs
hile SQL databases are insanely useful tools, their monopoly in the last decades is coming to an end. And it's just time: I can't even count the things that were forced into relational databases, but never really fitted them. (That being said, relational databases will always be the best for the stuff that has relations.)
nosql  database  development  architecture 
february 2013 by edavey
griddler/README.md at master · thoughtbot/griddler · GitHub
Receive emails in your Rails app

Griddler is a Rails engine (full plugin) that provides an endpoint for the SendGrid parse api that hands off a built email object to a class implemented by you.
development  ruby  rails  email  messaging  sendgrid 
february 2013 by edavey
maxim/skeptick · GitHub
Skeptick is an all-purpose DSL for building and running ImageMagick commands. It helps you build any transformations, from trivial resizes to complex mask algorithms and free drawing. In a nutshell, Skeptick is nothing more than a string manipulator and a process spawner. That's all it's meant to be. However, with Skeptick you get quite a few advantages over using plain shell-out or other libraries.
imagemagick  ruby  development 
february 2013 by edavey
ernie/squeel
Squeel lets you write your ActiveRecord queries with fewer strings, and more Ruby, by making the ARel awesomeness that lies beneath ActiveRecord more accessible.
activerecord  rails  ruby  development  arel 
november 2012 by edavey
Better Specs
RSpec is a great tool in the behavior driven design process of writing human readable specifications that direct and validate the development of your application.

On the web you can find several resources explaining how to use RSpec and they all give you a complete overview of what you can do. What you'll rarely find is a book or an article explaining how to use RSpec to create a great test suite.

Better Specs tries to fill this miss collecting most of the guidelines developers has been learning the hard way through years of experience.
rspec  ruby  development 
october 2012 by edavey
knaveofdiamonds/google_analytics_feeds
Allows access to Google Analytics feeds from Ruby.

Does not support any of the OAuth-related authentication methods, only session login.

It tries to be really simple, returning rows as Hashes rather than specific objects, and provides flexibility as to how you want to make HTTP calls via Faraday.
analytics  ruby  development 
september 2012 by edavey
Hatchet
Hatchet is a logging framework written from the ground up in Ruby. It has been inspired by the likes of log4j and slf4j but is not a port of either of them.

Hatchet aims to integrate seamlessly with your Ruby projects and provide a single logging interface that can pass on messages to any backend you want to use.
ruby  logging  development 
july 2012 by edavey
Features - Semaphore
Semaphore is a hosted continuous integration app for Ruby
ci  testing  development  build_server 
june 2012 by edavey
csquared/rack-worker
Rack middleware that implements the Worker Pattern.

It processes GET requests with a worker backend and only serves them straight from a cache.
While processing the request it serves empty HTTP 202 responses. Your web frontend is never blocked processing the request.
rack  ruby  development 
april 2012 by edavey
Book - Scalable and Modular Architecture for CSS
Categorizing CSS Rules

Every project needs some organization. Throwing every new style you create onto the end of a single file would make finding things more difficult and would be very confusing for anybody else working on the project. Of course, you likely have some organization in place already. Hopefully, what you read among these pages will highlight what works with your existing process and, if I’m lucky, you will see new ways in which you can improve your process.
css  development 
april 2012 by edavey
iain/roundsman
This is an attempt to combine the powers of Capistrano and chef-solo.

The only thing you need is SSH access and a supported OS. At this time only Ubuntu is supported.
sysadmin  chef  capistrano  ruby  development 
april 2012 by edavey
Poltergeist 0.6.0: Javascript error handling and remote debugging: Jon Leighton
My goal with Poltergeist is to create the fastest and best Capybara driver. A common problem when using Capybara, particularly when using a headless driver, is debugging. To be the best driver, Poltergeist needs to be the easiest to debug.
capybara  testing  development  ruby  javascript  poltergeist 
april 2012 by edavey
zolrath/wemux
wemux enhances tmux to make multi-user terminal multiplexing both easier and more powerful. It allows users to host a wemux server and have clients join in either:

Mirror Mode gives clients (another SSH user on your machine) read-only access to the session, allowing them to see you work, or

Pair Mode allows the client and yourself to work in the same terminal (shared cursor)

Rogue Mode allows the client to pair or work independently in another window (separate cursors) in the same tmux session.

It features multi-server support as well as user listing and notifications when users attach/detach.
pairing  tmux  development 
april 2012 by edavey
New Tabs and Cucumber // The Programming Butler
While working on an internal app at GitHub I had to write a cucumber scenario that ran expectations against a new tab that was opened. Here is how I did it.
cucumber  ruby  rails  development  testing 
march 2012 by edavey
alexdunae/premailer
For the best HTML e-mail delivery results, CSS should be inline. This is a huge pain and a simple newsletter becomes un-managable very quickly. This script is my solution.

CSS styles are converted to inline style attributes Checks style and link[rel=stylesheet] tags and preserves existing inline attributes
Relative paths are converted to absolute paths Checks links in href, src and CSS url('')
CSS properties are checked against e-mail client capabilities Based on the Email Standards Project’s guides
A plain text version is created Optional
ruby  development  email 
march 2012 by edavey
fphilipe/premailer-rails3
This gem is a no config solution for the wonderful Premailer gem to be used with Rails 3. It uses interceptors which were introduced in Rails 3 and tweaks all mails which are delivered and adds a plain text part to them and inlines all CSS rules into the HTML part.
rails  ruby  development  email 
march 2012 by edavey
paulasmuth/recommendify - GitHub
Recommendify is a ruby/redis based recommendation engine - The recommendations can be updated/processed incrementally and on multiple hosts. The worker is implemented in plain ruby and native C.
ruby  development  machine_learning  recommendations 
february 2012 by edavey
Vim Taglist plugin
The "Tag List" plugin is a source code browser for the Vim editor. It provides an overview of the structure of source code files and allows you to efficiently browse through source code files in different programming languages. It is the top-rated and most-downloaded plugin for the Vim editor.
vim  development 
january 2012 by edavey
addyosmani/backbone-fundamentals - GitHub
Unit Testing Backbone Applications With Jasmine
Introduction

One definition of unit testing is the process of taking the smallest piece of testable code in an application, isolating it from the remainder of your codebase and determining if it behaves exactly as expected. In this section, we'll be taking a look at how to unit test Backbone applications using a popular JavaScript testing framework called Jasmine from Pivotal Labs.
jasmine  javascript  backbone  testing  development 
january 2012 by edavey
jonleighton/poltergeist - GitHub
Poltergeist is a driver for Capybara. It allows you to run your Capybara tests on a headless WebKit browser, provided by PhantomJS.
capybara  javascript  ruby  rails  development  testing  PhantomJS 
january 2012 by edavey
scrollorama
The jQuery plugin for doing cool scrolly stuff
jquery  javascript  scrolling  ui  development 
january 2012 by edavey
njonsson/cape - GitHub
If

You use Capistrano to deploy your application, and
You have Rake tasks you want to run remotely — but you don’t want to hand-code Capistrano recipes for each Rake task —
Then

You can use the Cape DSL within Capistrano recipes to dynamically add recipes for your application’s Rake tasks, and
You can run your Rake tasks on your deployed servers, friction-free, and look like a superhero. [cue fanfare]
rails  rake  ruby  development  sysadmin  deployment  capistrano 
december 2011 by edavey
myronmarston/mail_safe - GitHub
Mail safe provides a safety net while you’re developing an application that uses ActionMailer. It keeps emails from escaping into the wild.

Once you’ve installed and configured this gem, you can rest assure that your app won’t send emails to external email addresses. Instead, emails that would normally be delivered to external addresses will be sent to an address of your choosing, and the body of the email will be appended with a note stating where the email was originally intended to go.
mail  testing  ruby  rails  development 
december 2011 by edavey
josevalim/active_model_serializers - GitHub
Rails Serializers

This guide describes how to use Active Model serializers to build non-trivial JSON services in Rails. By reading this guide, you will learn:

When to use the built-in Active Model serialization
When to use a custom serializer for your models
How to use serializers to encapsulate authorization concerns
How to create serializer templates to describe the application-wide structure of your serialized JSON
How to build resources not backed by a single database table for use with JSON services
This guide covers an intermediate topic and assumes familiarity with Rails conventions. It is suitable for applications that expose a
JSON API that may return different results based on the authorization status of the user.
api  rails  json  serialization  development 
december 2011 by edavey
Playdar - Music Content Resolver
Playdar is a music content resolver service - run it on every computer you use, and you'll be able to listen to all the songs you would otherwise be able to find manually by searching though all your computers, hard disks, online services, and more.

Playdar provides a consistent API for accessing any song ever recorded. Learn more...

Got Playdar running? Check the Playdar Web Demos and see how web pages can integrate Playdar to take advantage of music you already have.

Playdar is free and Open Source (MIT License), and written primarily in Erlang.
You can extend it by writing additional resolvers in any language you like, not just Erlang.
audio  music  development 
december 2011 by edavey
gmate/gmate - GitHub
GMate
This package contains some gedit improvements to make it more similar to TextMate. The package contain code snippets, plugins, and an automatic registration of rails-related files.
ubuntu  development 
november 2011 by edavey
Home // Think Like (a) Git
GIT SHOULDN'T BE SO HARD TO LEARN.

When you're just getting started, something as straightforward as a merge can be terrifying. It can take a long time to really become comfortable using some of Git's more advanced features. (It took me a year or two.)

Once people achieve some level of Git enlightenment, they tend to make statements of the form 'Git gets a lot easier once you realize X' -- but that doesn't do much for people staring up Git's steep learning curve.

My goal with this site is to help you, Dear Reader, understand what those smug bastards are talking about.
git  development 
october 2011 by edavey
janlelis/irbtools - GitHub
irbtools is a meta gem that installs useful irb gems and configures your irb.
development  ruby  irb 
october 2011 by edavey
MailCatcher
MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface. Run mailcatcher, set your favourite app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, then check out http://127.0.0.1:1080 to see the mail that's arrived so far.
rails  development  mail  smtp 
october 2011 by edavey
Overview | Strobe
Building mobile applications for a multi-screen world.

Users are accessing your content from their desktop computers, phones, tablets and more—all interchangeably. They expect a seamless user experience across their devices and they want their data to be accessible everywhere.

Strobe is an App Delivery Network that solves the problem by enabling you to combine what the Web and native apps do best, using cutting-edge tools and technologies. It's the quickest and easiest way to get your HTML5 applications up and running, on the web and in app stores.
mobile  development 
october 2011 by edavey
MiniTest::Spec setup with Capybara in Rails 3.1 - Code Ningja
I just started a new Rails 3.1 project. I decided to use MiniTest::Spec for all my testing. I also wanted to use my typical testing tools: Capybara, Spork, etc. I didnt' find much support for MiniTest, and even less for MiniTest::Spec. Here’s some documentation on what I ended up with.
minitest  rails  ruby  testing  development  capybara 
october 2011 by edavey
google-js-test - Lightweight JS unit testing using the V8 engine - Google Project Hosting
Google JS Test is a fast javascript unit testing framework that runs on the V8 engine, without needing to launch a full browser. Features include:

Extremely fast test startup and execution time, without having to run a browser.
Clean, readable output in the case of both passing and failing tests.
A browser-based test driver that can simply be refreshed whenever JS is changed.
Style and semantics that resemble Google Test for C++.
A built-in mocking framework that requires minimal boilerplate code (e.g. no $tearDown or $verifyAll) with style and semantics based on the Google C++ Mocking Framework.
javascript  testing  development 
october 2011 by edavey
Stripe
You don't need a merchant account or gateway. Stripe handles everything for you, including storing cards, subscriptions, and paying directly to your bank account.

To make it all happen, we work with some of the largest financial institutions in the world, including Wells Fargo and First Data.
ecommerce  payment  development 
september 2011 by edavey
jejacks0n/mercury - GitHub
A fully featured HTML5 WYSIWYG editor written in CoffeeScript on top of the Rails 3.1 asset stack
wysiwyg_editor  ui  development 
september 2011 by edavey
Speeding up Rake and Rails in Ruby 1.9.2 @ RambleOn
patch ruby 1.9.2 - I got 40% speedup in unit test time!
ruby  development  rails 
september 2011 by edavey
Anemone - Ruby Web-Spider Framework
Anemone is a Ruby library that makes it quick and painless to write programs that spider a website. It provides a simple DSL for performing actions on every page of a site, skipping certain URLs, and calculating the shortest path to a given page on a site.
The multi-threaded design makes Anemone fast. The API makes it simple. And the expressiveness of Ruby makes it powerful.
ruby  scraping  spider  development 
september 2011 by edavey
madrobby/keymaster - GitHub
// define short of 'a'
key('a', function(){ alert('you pressed a!') });

// returning false stops the event and prevents default browser events
key('ctrl+r', function(){ alert('stopped reload!'); return false });

// multiple shortcuts that do the same thing
key('⌘+r, ctrl+r', function(){ });
javascript  ui  development 
september 2011 by edavey
A Paperclip Refactoring Tale: Part One: Dependency Injection — giant robots smashing into other giant robots
Good refactoring has a goal. The goal of this refactoring is to make it easier for people to hook into Paperclip.

To start I surveyed existing gems, plugins, and apps that hook into Paperclip. I took a quick glance through Github and found that delayed_paperclip, mongoid-paperclip, papermill, paperclip-extended, and paperclip-facecrop all served as good sample gems that change Paperclip in unique ways. My end desire was to remove the need for monkey patching, and if I could go one further to remove the need for subclassing that’d be even better.
refactoring  development 
september 2011 by edavey
Patterns For Large-Scale JavaScript Application Architecture
Who am I and why am I writing about this topic?
I'm currently a JavaScript and UI developer at AOL helping to plan and write the front-end architecture to our next generation of client-facing applications. As these applications are both complex and often require an architecture that is scalable and highly-reusable, it's one of my responsibilities to ensure the patterns used to implement such applications are as sustainable as possible.

I also consider myself something of a design pattern enthusiast (although there are far more knowledgeable experts on this topic than I). I've previously written the creative-commons book 'Essential JavaScript Design Patterns' and am in the middle of writing the more detailed follow up to this book at the moment.
architecture  javascript  development 
september 2011 by edavey
initialize_clone, initialize_dup and initialize_copy in Ruby: Jon Leighton
Ruby has two methods for creating shallow copies of objects:

Object#clone copies the object, including its frozen state
Object#dup copies the object, not including its frozen state
In general clone is meant to be a more “exact” mechanism for copying objects, whereas dup is often implemented by simply creating a new instance of the relevant class with the appropriate parameters. Both clone and dup copy the tainted state of the object. clone copies the singleton class (if any), whereas dup does not.
ruby  development 
august 2011 by edavey
« earlier      
per page:    204080120160

Copy this bookmark:





to read