Skip to content

Instantly share code, notes, and snippets.

@airportyh
airportyh / BrowserStack.txt
Last active December 11, 2015 00:08
Browser support: SauceLabs vs BrowserStack
Desktop
-------
chrome
win
14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0
mac
14.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0
firefox
win
@airportyh
airportyh / browserstack.txt
Created January 14, 2013 09:22
Supported Browsers: BrowserStack vs SauceLabs (Round II)
[ ] Android Browser (android 1.5) HTC Hero
[ ] Android Browser (android 1.6) Sony Xperia X10
[ ] Android Browser (android 2.2) Samsung Galaxy S
[ ] Android Browser (android 2.2) HTC Wildfire
[ ] Android Browser (android 2.2) LG Optimus 3D
[ ] Android Browser (android 2.3) Motorola Droid Razr
[ ] Android Browser (android 2.3) Motorola Photon 4G
[ ] Android Browser (android 2.3) Motorola Droid 4
[ ] Android Browser (android 2.3) Samsung Galaxy S II
[ ] Android Browser (android 2.3) Samsung Galaxy Note
BrowserStack Available Mobile Browsers
--------------------------------------
[ ] Android Browser (android 1.5) HTC Hero
[ ] Android Browser (android 1.6) Sony Xperia X10
[ ] Android Browser (android 2.2) LG Optimus 3D
[ ] Android Browser (android 2.2) HTC Wildfire
[ ] Android Browser (android 2.2) Samsung Galaxy S
[ ] Android Browser (android 2.3) Motorola Droid Razr
[ ] Android Browser (android 2.3) Samsung Galaxy Note
[ ] Android Browser (android 2.3) Samsung Galaxy S II
@airportyh
airportyh / gist:4531662
Created January 14, 2013 17:22
testem launchers
$ testem launchers
Have 7 launchers available; auto-launch info displayed on the right.
Launcher Type CI Dev
------------ ------------ -- ---
Chrome browser
Firefox browser
Safari browser
Opera browser
PhantomJS browser
@airportyh
airportyh / UI.txt
Last active December 11, 2015 02:39
UI mockup for testem browserstack integration
Testem: Continuous Integration Browsers
=======================================
Check each browser or browser set you want to run during continuous integration.
If you want to pick a combination that's different from what's covered below, you
can manually edit the file browsers.testem.json. The number on the right in
paranthesis () indicates the number of browsers the selection would add to the test
suite.
Local
@airportyh
airportyh / compare_by.js
Last active December 11, 2015 06:38
A quick compareBy function for easy configurable array sorting, with specs below.
function compareBy(){
var props = arguments
var numProps = arguments.length
return function(one, other){
for (var i = 0; i < numProps; i++){
var asc = true
var prop = props[i]
if (prop.charAt(0) === '^') prop = prop.substring(1)
if (prop.charAt(0) === '_'){
asc = false
var isCommonJS = typeof window == "undefined" && typeof exports == "object";
/**
* Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.
*
* @namespace
*/
var jasmine = {};
if (isCommonJS) exports.jasmine = jasmine;
/**
CanSing =
sing: ->
console.log "I am #{@name} la la la"
include = (ctr, mixin) ->
for key of mixin
ctr.prototype[key] = mixin[key]
class Man
Ember.subscribe("render", {
before: function(name, timestamp, payload) {
},
after: function(name, timestamp, payload) {
}
});

Features/Tasks:

  1. Have a reservation form.
  2. Have a Pending Reservations queue.
  3. Submit the form adds a pending Reservation with the entered information.
  4. Make sure you can enter multiple pending reservations.
  5. Valid the form i.
  6. Have a Confirmed Reservations time slots section.