Skip to content

Instantly share code, notes, and snippets.

Avatar

Kaspar manz xeophin

View GitHub Profile
View AdaptQuality.cs
using UnityEngine;
using System.Collections;
/// <summary>
/// Automatically scales quality up or down based on the current framerate (average).
/// </summary>
///
/// \author Kaspar Manz
/// \date 2014-03-10
/// \version 1.0.0
@xeophin
xeophin / fragebogen.mmd
Created Mar 17, 2014
Zielgruppen-Fragebogen für Serious Games
View fragebogen.mmd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View VersionNumber.cs
using UnityEngine;
using System.Reflection;
/// <summary>
/// Automatically provides a version number to a project and displays
/// it for 20 seconds at the start of the game.
/// </summary>
/// <remarks>
/// Change the first two number to update the major and minor version number.
View keybase.md

Keybase proof

I hereby claim:

  • I am xeophin on github.
  • I am xeophin (https://keybase.io/xeophin) on keybase.
  • I have a public key ASCHEFqQgsWguBdpSoLOXie1uL1rObhrpx2kOCohEH7acAo

To claim this, I am signing this object:

@xeophin
xeophin / index.html
Last active Aug 22, 2018 — forked from stepheneb/index.html
D3 Example: Processing a nested json data structure with subsections
View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>D3: Subselection Example</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<style type="text/css">
body {
font: 13px sans-serif;
@xeophin
xeophin / configuration.yaml
Last active Apr 26, 2021
Swiss Covid-19 Data Sensors
View configuration.yaml
rest:
# This downloads the URLs of the current data files
- resource: https://www.covid19.admin.ch/api/data/context
# Checks every 6 hours. The data changes every 24 hours, so maybe this is too much
# Your mileage may vary, etc.pp.
scan_interval: 21600
sensor:
- name: "Covid Data Sources"
json_attributes_path: "$.sources.individual.json.daily"
value_template: "OK"