Skip to content

Instantly share code, notes, and snippets.

View stritti's full-sized avatar
👨‍🏫

Stephan Strittmatter stritti

👨‍🏫
View GitHub Profile
@stritti
stritti / js-exif-rotate.html
Created December 12, 2019 19:34 — forked from runeb/js-exif-rotate.html
Auto-rotate images locally in the browser by parsing exif data
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<input id="file" type="file" accept="image/*" />
<br/>
<h2>As read:</h2>
<img id="placeholder1" width=300/><br/>
<h2>Rotated by exif data:</h2>
<img id="placeholder2" width=300/>
<script>
@stritti
stritti / Template_ESP8266.ino
Created October 31, 2017 18:36 — forked from gjlawran/Template_ESP8266.ino
ESP8266 Arduino project template with optional OTA firmware update
/**
* ESP8266 project template with optional:
* - WiFi config portal - auto or manual trigger
* - OTA update - Arduino or web server
* - Deep sleep
* - Process timeout watchdog
*
* Copyright (c) 2016 Dean Cording <dean@cording.id.au>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy