-
Install selenium
wget http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar
-
Install chromedriver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Quill from 'quill' | |
const Parchment = Quill.import('parchment') | |
const Block = Quill.import('blots/block') | |
const Container = Quill.import('blots/container') | |
class TableCell extends Block { | |
static formats (domNode) { | |
return domNode.tagName === this.tagName ? undefined : super.formats(domNode) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Model } from 'racer' | |
export default class BaseModel extends Model.ChildModel { | |
getId () { | |
let actualField = this.dereferenceSelf() | |
return actualField.leaf() | |
} | |
dereferenceSelf () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* JavaScript Grammar | |
* ================== | |
* | |
* Based on grammar from ECMA-262, 5.1 Edition [1]. Generated parser builds a | |
* syntax tree compatible with Mozilla SpiderMonkey Parser API [2]. Properties | |
* and node types reflecting features not present in ECMA-262 are not included. | |
* | |
* Limitations: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c->s {"a":"qunsub","id":3} new-negotiation-cdfa786a2e26f65afbf0826fb829fc75.js:72004:3 | |
c->s {"a":"qsub","id":3,"c":"users","q":{"_id":{"$in":["e2cc2159-4e8c-4daf-b5c0-a8bf15be8681","8bc235fc-6993-472d-953a-c2950a901c03","7d48d26e-b44b-4cfe-af9d-9e6b1fa0ecc9","4d26c823-3056-4cad-a8e0-c93e0362db2f","92c69bad-a1cd-40be-8645-608b0d613759","cdf48035-5213-4f10-87c2-4cb3f831783e","748d7964-f127-496a-bbd8-c6ed86593d4a","b159d250-87c5-4ab4-8c45-770cd55f778d","86100a7e-19bc-4d3e-9ba6-9bc5591ebcc2","ef372699-339d-4067-84d2-6d2c1ce4995d"]}},"vs":{"4d26c823-3056-4cad-a8e0-c93e0362db2f":9,"748d7964-f127-496a-bbd8-c6ed86593d4a":9,"7d48d26e-b44b-4cfe-af9d-9e6b1fa0ecc9":9,"86100a7e-19bc-4d3e-9ba6-9bc5591ebcc2":9,"8bc235fc-6993-472d-953a-c2950a901c03":9,"92c69bad-a1cd-40be-8645-608b0d613759":9,"b159d250-87c5-4ab4-8c45-770cd55f778d":9,"cdf48035-5213-4f10-87c2-4cb3f831783e":9,"df993738-3864-4494-ae63-2ff04da821b7":9,"e2cc2159-4e8c-4daf-b5c0-a8bf15be8681":9,"ef372699-339d-4067-84d2-6d2c1ce4995d":9}} new-negotiation-cdfa786a2e26f6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = class ComponentBase | |
init: -> | |
@root = @page.root | |
@model.ref 'root', @root.model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (optional) Root model/page initialisation | |
app.model.set '_page.punchline', 'go' | |
# Component | |
module.exports = class Tabs | |
view: __dirname | |
style: __dirname | |
init: -> | |
@model.setNull 'selectedIndex', 0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div on-scroll="scrollableTable.scroll($element, $controller.table)"> | |
<view is="scrollableTable" as="scrollableTable"></view> | |
<table as='table'> | |
... | |
</table> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup all required packets and soft | |
# Homebrew to install packets | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Cask to install Mac OS applications | |
brew install caskroom/cask/brew-cask | |
# Generic | |
brew install gcc | |
brew install wget |