Skip to content

Instantly share code, notes, and snippets.

View jamct's full-sized avatar

Jan jamct

  • c't magazine
  • Hannover
View GitHub Profile
@jamct
jamct / aframe_1.htm
Created July 18, 2017 15:45
A-Frame Beispiel 1
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 1</title>
<meta name="description" content="Box, Zylinder, Text und Himmel auf einer Platte.">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
@jamct
jamct / aframe_2.htm
Last active July 18, 2017 16:00
A-Frame Demo: Umgang mit Lichtern
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 2</title>
<meta name="description" content="Verschiedene Lichter in der Szene.">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
@jamct
jamct / aframe_3.htm
Created July 18, 2017 16:00
A-Frame Demo: Animation
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 3</title>
<meta name="description" content="Animation">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
@jamct
jamct / aframe_4.htm
Created July 18, 2017 16:05
A-Frame Demo: Animation mit Audio
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 4</title>
<meta name="description" content="Animation mit Audio">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
@jamct
jamct / aframe_5.htm
Created July 18, 2017 16:12
A-Frame Demo: Teleportation
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 5</title>
<meta name="description" content="Teleportation mit JavaScript">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<script>
function setScene2() {
@jamct
jamct / aframe_6.htm
Created July 18, 2017 16:16
A-Frame Demo: Hand-Controller
<!DOCTYPE html>
<html>
<head>
<title>A-Frame-Demo 6</title>
<meta name="description" content="Handcontroller">
<meta charset="utf-8">
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
</head>
<body>
@jamct
jamct / ajax_example.htm
Last active March 20, 2018 07:54
Demo für Offline-Webanwendung
<!DOCTYPE html>
<html manifest="beispiel.appcache">
<body>
<div id="ajax_container">
</div>
<button type="button" onclick="loadContent()">Inhalte nachladen</button>
<script>
@jamct
jamct / docker-compose.yml
Created December 11, 2019 17:20
CockroachDB-Demo
version: "3"
services:
cockroach1:
image: cockroachdb/cockroach:v19.2.0
command: start --insecure
ports:
- "8080:8080"
volumes:
- ./data/cockroach1:/cockroach/cockroach-data
networks:
@jamct
jamct / chrome_kiosk_multiple.ps1
Created January 24, 2018 15:50
PowerShell-Scripts for digital signage
& "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --no-default-browser-check --no-first-run --disable-infobars --disable-session-crashed-bubble --kiosk https://heise.de --overscroll-history-navigation=0 --user-data-dir=c:/screen1
& "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --no-default-browser-check --no-first-run --disable-infobars --disable-session-crashed-bubble --kiosk https://ct.de --overscroll-history-navigation=0 --window-position=1920,0 --user-data-dir=c:/screen2
Add-Type -AssemblyName System.Windows.Forms
[Windows.Forms.Cursor]::Position = "100000,100000"
@jamct
jamct / docker-compose.yml
Last active November 16, 2021 16:37
WordPress with Docker-Compose
version: '3.7'
services:
db:
image: mysql:5.7
volumes:
- ./data/mysql:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: sehr_geheim
MYSQL_DATABASE: wordpress