- http://absulit.com/portfolio/demo/webvr/001/
- https://www.clicktorelease.com/code/polygon-shredder/vr/ #positional
- https://www.clicktorelease.com/tmp/threejs/webvr-physics/ #positional #input #haptic
- https://janusweb.metacade.com/ https://github.com/jbaicoianu/janusweb/
- https://jzitelli.github.io/poolvr/
- https://kuva.io/block-background/ #positional #input
- https://www.shadertoy.com/results?filter=vr
- https://vr-batted-ball-vis.herokuapp.com/index.html
// simple fn that returns a map node | |
const node = (val=undefined) => { | |
let result = {} | |
if(val) result.val = val | |
return result | |
} | |
// hash fn | |
const hash = str => { | |
if(typeof str !== 'string') str = JSON.stringify(str) |
import polyfill from "babel-polyfill" | |
const cluster = require('cluster') | |
import _router from 'koa-router' | |
const router = _router() | |
// middleware | |
import stat from 'koa-serve-static' | |
import conditional from 'koa-conditional-get' | |
import bodyParser from 'koa-bodyparser' |
let items = [ | |
{category: "Sporting Goods", price: "$49.99", stocked: true, name: "Football"}, | |
{category: "Sporting Goods", price: "$9.99", stocked: true, name: "Baseball"}, | |
{category: "Sporting Goods", price: "$29.99", stocked: false, name: "Basketball"}, | |
{category: "Electronics", price: "$99.99", stocked: true, name: "iPod Touch"}, | |
{category: "Electronics", price: "$399.99", stocked: false, name: "iPhone 5"}, | |
{category: "Electronics", price: "$199.99", stocked: true, name: "Nexus 7"} | |
] | |
const app = () => { |
module.exports = { | |
config: { | |
openDevToolsKey: 'CommandOrControl+I', | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks | |
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', |
function worker() { | |
setInterval(function() { | |
postMessage({foo: "bar"}); | |
}, 1000); | |
} | |
var code = worker.toString(); | |
code = code.substring(code.indexOf("{")+1, code.lastIndexOf("}")); | |
var blob = new Blob([code], {type: "application/javascript"}); |
// copy and paste into https://matthiasak.github.io/arbiter-frame/ | |
document.head.innerHTML += `<style> body { background: #efefef; } </style>` | |
document.body.innerHTML = ` | |
<p>First name: <input data-bind="value: first" /></p> | |
<p>Last name: <input data-bind='value: last, valueUpdate: "afterkeydown"' /></p> | |
<h2>Hello, <span data-bind="text: full"> </span>!</h2> | |
<hr/> |
sorta'ish notes: | |
# talk notes | |
- Fanflow | |
- Preact, Typescript, Fusebox (vs. Webpack), GraphQL, PostCSS, immutable deployments, Docker, Responsive Web Design | |
- package.json (TOC) | |
- dependencies | |
- scripts | |
- services used (graph.cool, now.sh, snyk, github, auth0, sentry.io, browserstack) |
(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)
-
Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories
-
Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.
-
Save that list to some path
-
The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.
apt-transport-https
First, if you are on Ubuntu Cosmic, you need to manually compile json-c
because the version provided is 0.12.1
, but sway requires at least version 0.13
. It is pretty straight forward, so take a look here.
Then, we need to install common dependencies between wlroots
and sway-1.0
.
sudo apt install gcc pkgconf meson ninja-build libwayland-dev libinput-dev libcap-dev
Secondly, we need to install wlroots
dependencies.