Skip to content

Instantly share code, notes, and snippets.

11:41:10 dhcpx-208-90:yeti $ yeti test/functional/fixture/io.html
Creating a Hub. Open `yeti --server` in another Terminal to reuse browsers for future batches.
Waiting for agents to connect at http://192.168.56.1:9000
...also available locally at http://localhost:9000
When ready, press Enter to begin testing.
Agent connected: Chrome (27.0.1453.110) / Mac OS from 127.0.0.1
✓ Testing started on Chrome (27.0.1453.110) / Mac OS
✓ Agent completed: Chrome (27.0.1453.110) / Mac OS
@ekashida
ekashida / gist:5780214
Last active May 13, 2020 05:31
Load testing configuration on MacBook Pro Retina, Mid 2012 2.6 GHz Intel Core i7 16 GB 1600 MHz DDR3

Default values

$ sysctl kern.maxfiles
kern.maxfiles: 12288

$ sysctl kern.maxfilesperproc
kern.maxfilesperproc: 10240

$ ulimit -n
@ekashida
ekashida / axis-eol.html
Last active December 18, 2015 11:59
axis eol html mock
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Axis EOL</title>
<style>
#rich-container {
width: 440px;
}
</style>
@ekashida
ekashida / jsbin.js
Last active December 18, 2015 09:39
Tests that check what the DOM reports for script nodes that Y.Get inserts based on whether the transaction is `async:true` or `async:false`.
YUI().use('json-stringify', function (Y) {
var ua = {};
Y.Object.each(Y.UA, function (v, k) {
if (v) {
ua[k] = v;
}
});
log(Y.JSON.stringify(ua, null, 4));
@ekashida
ekashida / 648-721.diff
Created May 16, 2013 22:41
The following diff is between the branch developed against in https://github.com/yui/yui3/pull/648 and https://github.com/yui/yui3/pull/721 using the following command: git diff origin/refactor-get-tests origin/get-tests src/get/
diff --git a/src/get/tests/unit/assets/get-test.js b/src/get/tests/unit/assets/get-test.js
index feb137b..0b6cb09 100644
--- a/src/get/tests/unit/assets/get-test.js
+++ b/src/get/tests/unit/assets/get-test.js
@@ -2,8 +2,6 @@ YUI.add('get-test', function (Y) {
Y.GetTests = new Y.Test.Suite("Get");
- Y.GetTests.TEST_FILES_BASE = "getfiles/";
-
@ekashida
ekashida / index.html
Last active December 17, 2015 01:19
Debugging "Get.css()" on Android 2.3.4 Uses `echoecho` instance provided by `yogi serve` on samegame.corp.
<!doctype html>
<head>
<style>
button {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Last active December 17, 2015 01:09
[bogus] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Created May 6, 2013 16:57
[echo/status/404?hack.css] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Created May 6, 2013 16:55
[bogus.css] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>
@ekashida
ekashida / index.html
Last active December 16, 2015 23:30
[echo/status/404] Checking if the onload and onerror events fire for link tags on Android 2.3.4
<!doctype html>
<head>
<style>
#good,
#bad {
font-size: 30px;
width: 300px;
height:150px;
}
</style>