It is known that certain VMs can reduce the amount of FPS allowed by Flash in order to provide a more performant experience for their users. One known software is VMWare. Because we do extensive testing using SauceLabs browser grid service through selenium webdriver, we wanted to test the compatibility with real world results on specific browsers we were seeing odd results in. Below are some of the findings from this research, which resulted in our adoption of IE11 on Windows 8 and our drop of IE optimization detection on all other Windows releases.
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 { useAuth } from "../auth/hooks/useAuth"; | |
enum XHRFailureCodes { | |
AUTHENTICATION_REQUIRED = 'AUTHENTICATION_REQUIRED', | |
UNAUTHORIZED_ACTION = 'UNAUTHORIZED_ACTION', | |
FORM_VALIDATION_FAILED = 'FORM_VALIDATION_FAILED', | |
MISSING_REQUIRED_PARAMETERS = 'MISSING_REQUIRED_PARAMETERS', | |
NO_RESULTS_FOUND = 'NO_RESULTS_FOUND', | |
RATE_LIMIT_EXCEEDED = 'RATE_LIMIT_EXCEEDED', | |
UNKNOWN_ERROR = 'UNKNOWN_ERROR', |
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
const findNeedleInHaystack = (needle, haystack) => { | |
let reference = []; | |
let promises = []; | |
const finder = (obj, chain) => { | |
return new Promise((resolve, reject)=>{ | |
if (reference.includes(obj)) { | |
return resolve(chain.join('.')); // already checked this object | |
} | |
// add object as "checked" to reference registry | |
reference.push(obj); |
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
[filter "media"] | |
clean = git-media-clean %f | |
smudge = git-media-smudge %f | |
[user] | |
name = Jeffrey Gilbert | |
email = [email protected] | |
[push] | |
default = simple | |
[core] | |
excludesfile = /Users/jgilbert/.gitignore_global |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
<!-- | |
* { | |
font-family: Helvetica, Arial, sans-serif; | |
} | |
body { | |
font-family: Helvetica, Arial, sans-serif; |
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
iframe { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
overflow: hidden; | |
} | |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head> | |
<link href="test-styles.css" rel="stylesheet" type="text/css"> | |
</head> | |
<body bgcolor="#eeeeff" bottommargin="0" rightmargin="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> | |
<div style="float:left;position:relative; border:10px solid royalblue; width:820px; height:1100px;"> | |
<!-- show 1 iframe and box out the other --> |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head> | |
<link href="test-styles.css" rel="stylesheet" type="text/css"> | |
<style> | |
body { | |
margin:0; | |
padding:0; | |
background-color:#ff99ff; | |
} |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head> | |
<link href="test-styles.css" rel="stylesheet" type="text/css"> | |
</head> | |
<body bgcolor="#FFFF99" bottommargin="0" rightmargin="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> | |
<div style="position:relative; border:10px solid #228b22; width:820px; height:250px;"> | |
<!-- first frame is positioned where it will be in view by the container iframe in the parent document --> |
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
var open = require('open'); | |
var url = require('url'); | |
var http = require('http'); | |
var twitterAPI = require('node-twitter-api'); | |
var Q = require('q'); | |
var authObject = (function () { | |
var deferred = Q.defer(); | |
var twitter = {}; | |
var token = {}; |
NewerOlder