Programmer and cloud engineer. SRE & devops at day, 3D rendering & homeautomation at night.
Go, TS, PHP, SQL.
Business in front, party in the back π¨βπ€
-
Independent contractor
- New Zealand
- https://mastodon.nz/@stojg
- @stojg
Highlights
- Pro
Pinned Loading
-
canola
canola PublicA webgl project demoing a simple Physically Based Rendering (PBR) with lights, shadows, tonemapping
TypeScript
-
Arduino sleep example
Arduino sleep example 1// This is an example how to put an arduino board into deep sleep to save on battery power and
2// periodically wake up to run some logic. Ideal for sensor stations like plant moisture sensors.
3#include "Arduino.h"
4#include <avr/sleep.h>
5#include <avr/power.h>
-
Parsing a huge XML with closure in PHP
Parsing a huge XML with closure in PHP 1<?php
2// An example on how to parse massive XML files with PHP by chunking it up to avoid running out of memory
34// Open the XML
5$handle = fopen('file.xml', 'r');
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.