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');
705 contributions in the last year
Day of Week | April Apr | May May | June Jun | July Jul | August Aug | September Sep | October Oct | November Nov | December Dec | January Jan | February Feb | March Mar | April Apr | ||||||||||||||||||||||||||||||||||||||||
Sunday Sun | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Monday Mon | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Tuesday Tue | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Wednesday Wed | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Thursday Thu | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Friday Fri | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturday Sat |
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More
Activity overview
Loading
Contribution activity
April 2025
103
contributions
in private repositories
Apr 1 β Apr 4