Skip to content

Instantly share code, notes, and snippets.

View rjferguson21's full-sized avatar

Rob Ferguson rjferguson21

View GitHub Profile
@rjferguson21
rjferguson21 / jade
Last active August 29, 2015 14:16
test
h1.root(src="/href")
| Sup brows
hub:
image: selenium/hub
ports:
- "4444:4444"
firefox:
image: selenium/node-firefox-debug
links:
- hub
ports:
@rjferguson21
rjferguson21 / docker-compose.yml
Created December 10, 2015 20:43
selenium-hub
hub:
image: selenium/hub
ports:
- "4444:4444"
firefox:
image: selenium/node-firefox
links:
- hub
chrome:
image: selenium/node-chrome
@rjferguson21
rjferguson21 / e2e-conf.js
Created January 7, 2014 16:24
angular protractor config
require('coffee-script');
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['tests/*.coffee'],
allScriptsTimeout: 10000,
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000
box: node
build:
steps:
- add-to-known_hosts:
hostname: github.com
fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
var socketCluster = require('socketcluster-client');
var options = {
port: 3006,
hostname: 'localhost'
};
// Initiate the connection to the server
var socket = socketCluster.connect(options);
socket.on('connect', function () {
i
&.cogwheel:before
content '\E137'
&.power:before
content '\E064'
&.message-new:before
content '\E130'
@rjferguson21
rjferguson21 / instanceof.js
Created June 5, 2017 19:57
instanceof.js
function Person(first, last, age, gender, interests) {
this.name = {
first,
last
};
this.age = age;
this.gender = gender;
this.interests = interests;
};
// Import all the theming functionality.
// Core styles that can be used to apply material design treatments to any element.
@mixin cdk-a11y {
.cdk-visually-hidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;