Skip to content

Instantly share code, notes, and snippets.

View xeophin's full-sized avatar

Kaspar manz xeophin

View GitHub Profile
@xeophin
xeophin / Brewfile
Last active January 31, 2024 12:36
Brewfile for NZZ Graphic Designers Mac installations (according to xeo.)
View Brewfile
tap "homebrew/bundle"
brew "deno"
brew "git"
brew "git-lfs"
brew "node"
brew "nvm"
brew "python@3.11"
brew "yarn"
cask "1password"
cask "adobe-creative-cloud"
@xeophin
xeophin / configuration.yaml
Last active April 26, 2021 19:12
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"
@xeophin
xeophin / index.html
Last active August 22, 2018 19:33 — 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;
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:

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.
@xeophin
xeophin / fragebogen.mmd
Created March 17, 2014 09:34
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 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