25 May 2013

The Ruby Reflector

Topic

Google Chrome

  Source Favicon
By Nate Hunzaker of Viget.com Blogs 7 months ago.
Email

PhantomJS runs without a graphic interface. It can navigate as if it were Google Chrome or Safari without actually having to open a window. This is a great boon to JavaScript testing as it provides quick access to a browser-based environment with a simple API to automate page navigation and JavaScript interaction.

var page = require ( "webpage" ). create (); page . open ( "http://google.com" ); page . onError = function ( e ) { console . log ( "Something went …

viget.com Read
  Source Favicon
Email

Jake Luer is a Node.js developer and consultant focused on building the next generation of mobile and web applications. He is logicalparadox on GitHub and @ jakeluer on Twitter.

Node.js is a JavaScript platform built on Google Chrome's v8 runtime. Node's website states that it "uses an event-driven, non-blocking I/O model," but what does that mean? As an example, in the case of a web server, when a request is made, it will set up an asynchronous …

engineyard.com Read
  Source Favicon
By John Resig of John Resig 11 months ago.
Email

…many of the improvements to browsers that have come during the past couple years: Google released the Chrome browser, the number of useragents have exploded as mobile computing has increased in popularity, Mozilla, Google, and Apple have gotten into a browser performance war, and Microsoft has finally started making substantial improvements to Internet Explorer. It can no longer be assumed that a single rendering engine (such as WebKit or Trident, in Internet Explorer) will always …

ejohn.org Read
  Source Favicon
On igvita.com 11 months ago.
Email

…you can give it your SSL keys and launch a local instance. Now we just need to tell Google Chrome when to use our proxy. For that, we can create a proxy auto-configuration (PAC) file, which consists of a single JavaScript function:

function FindProxyForURL ( url , host ) { // Route all HTTP requests to our proxy if ( shExpMatch ( url , "http:*" )) return "HTTPS localhost:43000" ; // HTTPS requests go directly to the host (Amazon's Silk setup) // See: http://www.amazon.com/gp/help/customer/display.html/?nodeId=200775440 …

igvita.com Read
  Source Favicon
On ZURB 12 months ago.
Email

After browsing Hacker News yesterday, we came across a gem of a post that highlighted Facebook's unsupported browser (or Improve Your Experience) page. After an initial look, nothing really seemed to stand out. And then we took a second look.

Here's the page:

There's a glaring omission here: Apple's Safari and Google Chrome are absent — completely. On first thought, this doesn't make a whole lot of sense. Clearly, a "better experience" can certainly be had on these two browsers.

zurb.com Read
  Source Favicon
By Shannon Behrens of JJinuxLand 1 year ago.
Email

JavaScript that it is easy to debug. Dart can be debugged natively using a version of Chromium that has Dart support built in.

CoffeeScript takes JavaScript and makes it "even more dynamic". Dart takes JavaScript and adds optional static typing in order to facilitate building larger projects.

Overall, the panel discussion was friendly and enlightening.

Cross Platform Mobile and Web

This was a talk from a guy at LinkedIn on how they handle developing for the web …

jjinux.blogspot.com Read
  Source Favicon
By elliot of townx - tech 1 year ago.
Email

3. Open up Google Chrome (a recent version; I'm using 20.0.1132.3 dev) and type the URI for the web-simulator in the address bar, i.e.:

file:///home/user/tizen-simulator/index.html

(replace "user" with your Linux account username)

You should see the web-simulator UI with a blank "phone" in it.

4. You need a project to test against, so make one like this: $ mkdir ~/tizen-messaging-test

Then add two files to this directory.

~/tizen-messaging-test/index.html: …

townx.org Read
  Source Favicon
By elliot of townx - tech 1 year ago.
Email

5. Open up Google Chrome (a recent version; I'm using 20.0.1132.3 dev) and type the URI for the Simulator in the address bar, i.e.:

file:///home/user/tizen-simulator/index.html

(replace "user" with your Linux account username)

You should see the Simulator UI with a blank "phone" in it.

6. You need a project to test against, so make one like this: $ mkdir ~/tizen-messaging-test

Then add two files to this directory.

~/tizen-messaging-test/ …

townx.org Read
  Source Favicon
By Peter Cooper of Ruby Inside 1 year ago.
Email

Driving Google Chrome via WebSocket API

Ilya Grigorik demonstrates how to control a Google Chrome browser from Ruby using its remote debugging API.

Rails Internals: Mass Assignment Security

A look at Rails' defences against mass assignment issues by Oscar Del Ben.

Matt Wynne On Using Cucumber

Cucumber is the popular framework for executing feature documentation written in plain text in your BDD process. Pat Shaughnessy sits down …

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

Webkit Inspector - Everything you could want to know about using the inspector in Google Chrome.

Squeel 1.0 Released - "write your ActiveRecord queries with fewer strings, and more Ruby, by making the ARel awesomeness that lies beneath ActiveRecord more accessible."

freightrain - Framwork for developing desktop applications in ruby.

Rails for API applications (rails-api) released - The trimmed down stack that was briefly in Rails

afreshcup.com Read