Skip to content

Instantly share code, notes, and snippets.

View jwhb's full-sized avatar

Jasper Wiegratz jwhb

View GitHub Profile
@jwhb
jwhb / README.md
Last active March 1, 2021 20:49
MSC1937 16-Digit Segment Display Arduino Sketch

Pin connections: Fritzing Circuit

@jwhb
jwhb / MagicSwitch.php
Last active December 28, 2015 08:29
PHP switch structure that fills an array with default values up to a specific index
<?php
$params = array('users', 'JWhy', 'repositories');
$n_params = sizeof($params);
switch($n_params){
case 0:
die('Not enough information supplied');
break;
case 1:
$params[1] = '';
@jwhb
jwhb / dbo_rss.php
Last active February 4, 2023 02:05
A PHP script that creates a RSS feed containing the latest builds on dl.bukkit.org
<?php
/**
* Bukkit Build RSS Generator
*
* @version 0.3
* @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License
*/
/* Channel configuration */