Skip to content

Instantly share code, notes, and snippets.

View brianeng00's full-sized avatar
🤔

Brian Eng brianeng00

🤔
  • Wunderkind
  • NYC, New York
View GitHub Profile
<html>
<head>
<title>Shelf</title>
<style type="text/css">
body{
margin:0;
}
#shelfTable{
width: 100vw;
height: 56.25vw; /* 100/56.25 = 1.778 */
<html>
<head>
<style type="text/css">
body {
overflow: hidden;
margin: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
<!DOCTYPE html>
<html>
<head>
<title>Sticky Demos</title>
<!-- Mobile support -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Twitter Bootstrap -->
var QualtricsLoaded = false;
var StickyLoaded = false;
var qualtricsApi;
function checkAndRunStudy() {
// only run the study if qualtrics *and* sticky have loaded
if (!(QualtricsLoaded && StickyLoaded)) return;
var studySession = $eye("study", {
"recorder": "{{ experiment.sample.crowd.recorder }}",
var participantId = '[survey("session id")]';
</script>
<script src="https://s3.amazonaws.com/distribution.gridgazer.com/cloud/{{ settings.cloud }}/{{ settings.channel }}.js"></script>
<style>
.sg-button { visibility: hidden; }
</style>
<script>
var stickySession = $eye("study", {
"recorder": "{{ experiment.sample.crowd.recorder }}",
"participant": participantId,
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html>
<head>
<title>Mobile Stimulator - Tablet</title>
<style type="text/css">
body {
text-align: center;
margin: 0;
padding: 0;
}
<!DOCTYPE html>
<html>
<head>
<title>Mobile Stimulator - Tablet</title>
<style type="text/css">
body {
text-align: center;
margin: 0;
padding: 0;
}
<!DOCTYPE html>
<html>
<head>
<title>Mobile Stimulator</title>
<style type="text/css">
body {
text-align: center;
margin: 0;
padding: 0;
}
<!DOCTYPE html>
<html>
<head>
<title>Mobile Stimulator</title>
<style type="text/css">
body {
text-align: center;
margin: 0;
padding: 0;
}
@brianeng00
brianeng00 / gist:8a324f95ded8e47c9622
Created October 24, 2014 22:24
BS Result image table sample page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sticky - Adscore Results</title>
<link href="../bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<style>