21 May 2013

The Ruby Reflector

Topic

Gist

  Source Favicon
By Satish Talim of RubyLearning Blog 1 month ago.
Email

Gist

Exercises

Who's It For?

The Git and GitHub course is a starting point for people new to Git and GitHub, to learn it as quickly and easily as possible.

Dates

The course starts on 4th May 2013 and runs for a week.

The first seven batches were a run-away success. So hurry, registrations have started.

Is the course really free?

A lot of effort and time goes into building such a course and we would really love that you pay at least US$ 5 for the course. Since this …

rubylearning.com Read
  Source Favicon
Email

…for Windows

Ruby 2.0 is around the corner and so is 64bits binaries for Windows

Wanna try it out? I've put together a series of steps to get you testing Ruby 2.0 in the following Gist: https://gist.github.com/3251384

Looking for help? Join us at RubyInstaller Google group .

Thanks to those who were at the beginning, that gave suggestions along the way and that continuously help to improve it.

engineyard.com Read
  Source Favicon
On Ryan Daigle 5 months ago.
Email

…programming languages including Markdown for text. For many techies, including myself, Gist is an indispensable tool for quickly sharing code and content with coworkers.

Gist has been around for several years now and, when compared with the pace of development on the main Github.com property, has been relatively neglected. Thankfully, Github recently updated Gist with a fresh new codebase and UI. As a heavy user of Gist I have some thoughts on this update, where it hits …

ryandaigle.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 7 months ago.
Email

After two days in the woods, the Internet seems exceptionally pointless.

Setting up a Tent server - Gist with commands from raw Ubuntu to running Tent.

Exception Notifier - Version 3.0 is out, with Campfire support and plenty of customizability.

Better Specs - Best practices using RSpec.

Nocs - Markdown editing on iOS with Dropbox integration.

Meet Chef (Part 1 of 2) - The latest from PeepCode.

Tent Basics - Some of what's in place and coming.

afreshcup.com Read
  Source Favicon
Email

I love the RSpec let syntax. I especially love using let blocks to declare everything on the planet. However, I was noticing a lot of duplication in my code so I knocked up the below pattern to deal with the issue:

Can't see this Gist? View it on Github!

The pattern I'm referring to above is declaring and using the vehicle_attributes object to set attributes on an object. The benefits of this pattern is that I'm able to set specific attributes on an object on a per-context …

thefrontiergroup.com.au Read
  Source Favicon
By Mislav of Mislav's blog 11 months ago.
Email

…in your post rather than pulling it in via JavaScript from an external service like Gist.

Why would you need line numbers, anyway? They're only useful if you want to call attention to a particular line. You can do that with syntax highlighting, instead. With Jekyll and pygments, it's easy: { % highlight js hl_lines=4 % } ... { % endhighlight % }

Note: I had to "escape" Liquid tags above by padding them with spaces.

Result:

var target = { one : 'patridge' …

mislav.uniqpath.com Read
  Source Favicon
By Adron Hall of New Relic 1 year ago.
Email

* Github Gist showing how to run with Apache without mod_rewrite

Solutions:

* Provide a mapping via iptables. What are these things?

* Another idea is to run two IPs, port forwarding appropriately between servers.

* Nodejitsu's Node HTTP Proxy

But really, most of these solutions leave us right back where we are with the other frameworks. We have a server to maintain, infrastructure to deal with to manage the IPs, the routing, and other concerns. Overall, …

newrelic.com Read
  Source Favicon
On There's no place like ::1 1 year ago.
Email

…to run Titanium projects from the CLI. I quickly found some random Gist with the instructions to do that. (some weeks ago, Matt Apperson launched his MakeTi tool too, it is worth checking out).

So I wrote a Rakefile. You'll notice it's a very lazy one, because most of the values I hardcoded could be derived by inspecting the XML files on the project. But it does the basic job.

<!DOCTYPE html> <html> <head prefix="og: http://ogp.me/ns# fb: …

blog.0x82.com Read
  Source Favicon
By Giles Bowkett of Giles Bowkett 1 year ago.
Email

…which the Bundler team closed with minimal explanation . I linked to this in the Gist, and it's a pretty clear illustration that "convention over configuration" is not a priority to the Bundler team.

So this guy is consistently ignoring the element of my argument where I obviously win, in favor of attacking an element where he can provide an instance-level solution ( bundle exec vs workarounds) to a class-level problem ( Bundler's disregard for a core value …

gilesbowkett.blogspot.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup over 1 year ago.
Email

HashInit - Gist showing how to simplify object creation by supplying a hash of ivar values.

MacGap - Write OS X applications using WebKit technologies. That means you can design a desktop app using HTML/JS/CSS.

Braumeister - Catalog of available Homebrew packages.

join.me - Free screen sharing application. Not as full featured as stuff like GoToMeeting but way cheaper.

Victorinox squeezes 1TB of high-speed storage into a Swiss Army Knife …

afreshcup.com Read