- What is VR
- What’s all the Fuzz with VR
- It’s Past (Is it reeeeally tahat new?)
- Who is spearheading WebVR?
- It’s Present (Where are we now)
- WebVR
- Current State
- Support
- What can we do (Cool demos)
- Mini Demo 1
This file contains hidden or 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
class Video extends React.Component { | |
static defaultProps = { | |
autoPlay: false, | |
maxLoops: 10, | |
} | |
static propTypes = { | |
autoPlay: React.PropTypes.bool.isRequired, | |
maxLoops: React.PropTypes.number.isRequired, | |
posterFrameSrc: React.PropTypes.string.isRequired, | |
videoSrc: React.PropTypes.string.isRequired, |
This file contains hidden or 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
class Video extends React.Component { | |
static defaultProps = { | |
autoPlay: false, | |
maxLoops: 10, | |
} | |
static propTypes = { | |
autoPlay: React.PropTypes.bool.isRequired, | |
maxLoops: React.PropTypes.number.isRequired, | |
posterFrameSrc: React.PropTypes.string.isRequired, | |
videoSrc: React.PropTypes.string.isRequired, |
This file contains hidden or 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
....................../´¯/) | |
....................,/¯../ | |
.................../..../ | |
............./´¯/'...'/´¯¯`·¸ | |
........../'/.../..../......./¨¯\ | |
........('(...´...´.... ¯~/'...') | |
.........\.................'...../ | |
..........''...\.......... _.·´ | |
............\..............( | |
..............\.............\... |
This file contains hidden or 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
source $HOME/antigen.zsh | |
source $HOME/dev/src/github.com/segmentio/dotfiles/index.sh | |
DISABLE_UNTRACKED_FILES_DIRTY="true" | |
ENABLE_CORRECTION="false" | |
export SEGMENT_TEAM="app" | |
# Load the oh-my-zsh's library. | |
antigen use oh-my-zsh |
This file contains hidden or 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
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
# Runtime data | |
pids | |
*.pid |
This file contains hidden or 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 AWS = require("aws-sdk"); | |
var accessKeyId = process.env.accessKeyId; | |
var secretAccessKey = process.env.secretAccessKey; | |
var currentTS = Number(process.env.currentTS); | |
var lambda = new AWS.Lambda({ | |
accessKeyId, | |
secretAccessKey, | |
region: "us-east-1" | |
}); |
This file contains hidden or 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 'jest' | |
import { enrichment, IEnrichmentRequest } from '../../src/middlewares/enrichment' | |
import { mockReq, mockRes } from 'sinon-express-mock' | |
import * as sinon from 'sinon' | |
const enrichmentMiddleware = enrichment() | |
jest.mock('../../src/middlewares/enrichment/api.ts') | |
let req: IEnrichmentRequest | |
let res |
This file contains hidden or 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 puppeteer from "puppeteer" | |
async function generatePdf(htmlContent) { | |
const browser = await puppeteer.launch({ headless: true }); | |
const page = await browser.newPage(); | |
await page.setContent(htmlContent); | |
const pdf = await page.pdf({ format: 'A4' }); | |
const pdfBuffer = await page.pdf(); | |
await page.close(); | |
await browser.close(); |
This file contains hidden or 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 IssueCardWizardInternal = () => { | |
// many things happen here | |
return <SomeComponent /> | |
} | |
// Wrap your component like this 👇 | |
export default IssueCardWizardInternal |