I hereby claim:
- I am wiomoc on github.
- I am wiomoc (https://keybase.io/wiomoc) on keybase.
- I have a public key whose fingerprint is 4E90 18DA 9BDF 9036 B823 8E60 A83F FBC7 C907 0285
To claim this, I am signing this object:
| #include <assert.h> | |
| #include <stddef.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| /* | |
| * Includes map.h for macro magic by William Swanson in 2012. | |
| * start map.h | |
| */ |
| # requires https://github.com/erikflowers/weather-icons/blob/master/font/weathericons-regular-webfont.ttf saved as weathericons.ttf along the project | |
| import datetime | |
| import json | |
| import urllib.request | |
| from collections import defaultdict | |
| from PIL import ImageDraw, Image, ImageFont | |
| # Weather |
| function handler(event) { | |
| const { request } = event; | |
| const { headers, querystring } = request; | |
| const clientId = process.env.SHOPIFY_API_KEY; | |
| const clientSecret = process.env.SHOPIFY_API_SECRET; | |
| const scopes = process.env.SCOPES; | |
| const shop = querystring["shop"]; | |
| if (!shop || !shop.value) { |
| from urllib import request | |
| import json | |
| import datetime | |
| import base64 | |
| import sys | |
| plan = json.load(request.urlopen("https://sws.maxmanager.xyz/extern/mensa_stuttgart-vaihingen.json")) | |
| plan = plan['Mensa Stuttgart-Vaihingen'] | |
| #days = sorted(plan.items(), key=lambda item: item[0]) | |
| day = plan.get(datetime.date.today().isoformat()) |
| code_matrix = [ | |
| [0x1c, 0xbd, 0x55, 0xe9, 0x55], | |
| [0x1c, 0xbd, 0x1c, 0x55, 0xe9], | |
| [0x55, 0xe9, 0xe9, 0xbd, 0xbd], | |
| [0x55, 0xff, 0xff, 0x1c, 0x1c], | |
| [0xff, 0xe9, 0x1c, 0xbd, 0xff] | |
| ] | |
| sequences = [ | |
| [0x1c, 0x1c, 0x55], | |
| [0X55, 0Xff, 0X1c], |
| #include <WiFi.h> | |
| #include <WiFiClientSecure.h> | |
| #include <PubSubClient.h> | |
| #include <DHT.h> | |
| // Retrieve using aws iot describe-endpoint --endpoint-type iot:Data-ATS | |
| #define ENDPOINT "....-ats.iot.---.amazonaws.com" | |
| #define SSID "YOUR_SSID" | |
| #define PSK "YOUR_PASSWORD" |
| <script> | |
| var ws = new WebSocket("ws://localhost:8080/"); | |
| ws.onmessage = function (event) { | |
| console.log(event.data); | |
| } | |
| </script> |
| // | |
| // GemPuzzleView.swift | |
| // GemPuzzle | |
| // | |
| // Created by Christoph Walcher on 12.01.18. | |
| // Copyright © 2018 Christoph Walcher. All rights reserved. | |
| // | |
| import ScreenSaver | |
| import Foundation |
| #!/usr/bin/python | |
| import argparse | |
| import requests | |
| import re | |
| import string | |
| import time | |
| try: | |
| from BeautifulSoup import BeautifulSoup |
I hereby claim:
To claim this, I am signing this object: