Skip to content

Instantly share code, notes, and snippets.

View chrisbreiding's full-sized avatar

Chris Breiding chrisbreiding

View GitHub Profile
// servers.js
const express = require('express')
const path = require('path')
const http = require('http')
const httpPorts = [8081, 8082]
// const httpsPorts = []
const createApp = (port) => {
// ==UserScript==
// @name Github Project Status Colors
// @description Enhances GitHub Projects UI
// @match https://github.com/orgs/cypress-io/projects/10/views/*
// @version 12
// @grant none
// @downloadURL https://gist.github.com/chrisbreiding/f41e16aa8c6876b13e7627de513c303d/raw/7de21eb9f36afdb0625065358ac002f77c2a573d/github-project-status-colors.user.js
// @updateURL https://gist.github.com/chrisbreiding/f41e16aa8c6876b13e7627de513c303d/raw/7de21eb9f36afdb0625065358ac002f77c2a573d/github-project-status-colors.user.js
// ==/UserScript==
@chrisbreiding
chrisbreiding / 0.19.2.md
Last active April 14, 2017 15:04 — forked from jennifer-shehane/0.19.2.md
0.19.2

0.19.2 (----date---)

Notes:

Overview:

  • You can now run your tests in the [Electron browser] and will see it as an option in the browser dropdown. The Electron browser is a version of Chrome that ships with Electron. It's the browser used when running Cypress headlessly, so it may be useful for debugging issues that only occur during headless runs. (https://on.cypress.io/guides/browser-management#section-electron-browser)! Addresses #452

Features:

@chrisbreiding
chrisbreiding / sublime-shortcuts.md
Last active December 10, 2015 23:48
Sublime Shortcuts for OSX - Taken from https://gist.github.com/1207002 and converted to markdown

Sublime Text 2 - Useful Shortcuts (Mac OS X)

General

⌘T or ⌘P - go to file

⌘⌃P - go to project

⌘R - go to methods

@chrisbreiding
chrisbreiding / jquery.simple-shadowbox.js
Created October 30, 2012 14:50
Simple jQuery Shadowbox
(function ($) {
var template = function (contents) {
return [
'<div id="jquery-shadowbox" class="jquery-shadowbox">',
'<div id="jquery-shadowbox-video" class="jquery-shadowbox-video">',
contents,
'</div>',
'</div>'
].join('');
@chrisbreiding
chrisbreiding / index.html
Created September 28, 2012 15:16
Simple jQuery Slider
<div class="slider">
<!-- items can be any tag (e.g. <a>, <img>, <li>, etc.) -->
<div class="slide"></div>
<div class="slide"></div>
<div class="slide"></div>
</div>