Skip to content

Instantly share code, notes, and snippets.

Drew Wells drewwells

Block or report user

Report or block drewwells

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@drewwells
drewwells / index.js
Created Feb 6, 2014
run via `casper test index.js`
View index.js
var base = 'http://m.retailmenot.test';
var url = base + '/view/macys.com';
function getCookie (page, name) {
var cookies = page.cookies;
var val;
cookies.forEach(function (cookie) {
if (cookie.name === name) {
val = cookie.value;
}
@drewwells
drewwells / install.md
Last active Aug 29, 2015
Telemetry install instructions for warp-factor
View install.md

###Dependencies

  • Python 2.7
  • -Chrome, Chromium or Chrome OS installed on your computer-
  • -13gigs of free disk space-

###Install instructions In this part, you will be downloading Chromium source, the new warp factor client, and setting making some binaries available in your path.

###Chromium

@drewwells
drewwells / results.html
Created Mar 24, 2014
DSL simulation with page-repeat
View results.html
<!DOCTYPE html>
<html>
<head>
<title>Telemetry Performance Test Results</title>
<style type="text/css">
section {
background: white;
padding: 10px;
position: relative;
View hacked.sh
#!/bin/bash
sudo screen
View jsonResult.json
{
"data": {
"statusCode": 100,
"statusText": "Test Started 19 seconds ago",
"id": "140719_28_HQF",
"testInfo": {
"url": "http://freedomfederation.org/",
"runs": 1,
"fvonly": 0,
"web10": 0,
@drewwells
drewwells / docker.sh
Last active Aug 29, 2015
Script to setup boot2docker
View docker.sh
#!/bin/sh
# Setup boot2docker
DIR=$(pwd)
BASE=$(pwd | sed -n 's/\(\/[^/]*\).*/\1/p')
mkdir -p ~/.boot2docker
if [ ! -f ~/.boot2docker/boot2docker-1.2.0.iso ]; then
curl -L http://static.dockerfiles.io/boot2docker-v1.2.0-virtualbox-guest-additions-v4.3.14.iso -o ~/.boot2docker/boot2docker-1.2.0.iso
mv ~/.boot2docker/boot2docker.iso ~/.boot2docker/boot2docker.iso.old
ln -s ~/.boot2docker/boot2docker-1.2.0.iso ~/.boot2docker/boot2docker.iso
@drewwells
drewwells / SassMeister-input.scss
Created Oct 7, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.2.19)
// Compass (v0.12.6)
// ----
// Sass List-Maps 1.0.0
// a libsass polyfill for rubysass "maps" data-type -- using lists
// by @lunelson
// MIT License
@drewwells
drewwells / SassMeister-input.scss
Created Oct 12, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v2.0.0)
// ----
@mixin placeholder {
// Comment
&::#{$defined} {
}
}
@include placeholder;
@drewwells
drewwells / SassMeister-input.scss
Created Oct 12, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v2.0.0)
// ----
$placeholder: true;
@if $placeholder {
// Comment
&::#{$defined} {
}
}
@drewwells
drewwells / SassMeister-input.scss
Created Oct 12, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v2.0.0)
// ----
@if true {
// Comment
&::#{$defined} {
}
}
You can’t perform that action at this time.