Skip to content

Instantly share code, notes, and snippets.


Marius van Witzenburg mariusvw

View GitHub Profile
mariusvw /
Created Apr 20, 2021 — forked from jhorsman/
Semantic versioning regex
mariusvw /
Created Apr 9, 2021 — forked from plugnburn/
NokiaTool - simple interface Bash script for MediaTek-based Nokia simple phones

NokiaTool: control MediaTek-based Nokia phones from your PC


NokiaTool is a simple Bash script ( that allows you to use an undocumented serial connection in USB-enabled MediaTek-based Nokia feature phones manufactured by Microsoft (even the most basic ones, like the new 105) in order to control them from your PC.

This project is an ongoing work and uses only some bits and pieces of information about the phone internals available to the public, so under any circumstances don't consider it stable or a replacement for official tools if any are present.

mariusvw / 0 - UNIX Fifth Edition
Created Jan 15, 2021 — forked from fogus/0 - UNIX Fifth Edition
UNIX V5, OpenBSD, Plan 9, FreeBSD, and GNU coreutils implementations of echo.c
View 0 - UNIX Fifth Edition
main(argc, argv)
int argc;
char *argv[];
int i;
for(i=1; i<=argc; i++)
printf("%s%c", argv[i], i==argc? '\n': ' ');
# udev rule : SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", MODE="0666", SYMLINK+="lsm303agr"
import serial
import re
import time
import signal
import math
# registers
mariusvw / hull.scad
Created Sep 17, 2018 — forked from hexagon5un/hull.scad
OpenSCAD Hull Functions Library
View hull.scad
module multiHull(){
for (i = [1 : $children-1])
module sequentialHull(){
for (i = [0: $children-2])
mariusvw / .ino
Created Sep 14, 2018 — forked from shoebahmedadeel/.ino
MPU 9250 - roll, pitch, yaw from Accelerometer,Gyroscope and Magnetometer
View .ino
#include <Wire.h>
#include <Servo.h>
#define SerialPort Serial
#include <SparkFunMPU9250-DMP.h>
MPU9250_DMP imu;
double roll , pitch, yaw;
long int pre_ts=0;
void setup()
mariusvw /
Created Jul 5, 2018 — forked from jacksoncage/
Auto install Jenkins slave on Debian
# Input
# Functions
updateBaseInstall() {
View gist:61551f6aa9bc5a9b091806142c6a7b3e
mariusvw / git-completion.tcsh
Created Jul 5, 2018 — forked from kohenkatz/git-completion.tcsh
Source this file in your .tcshrc to get git command completion. Original source is but WordPress's WSYIWYG editor messed it up and I cleaned it up.
View git-completion.tcsh
# Source this script in tcsh to setup shell completions
# for git. Completions are activated by typing or Control-D
# in the shell after entering a partial command.
# Usage:
# source git-completion.tcsh (e.g. in ~/.cshrc)
# Supported completions:
# git (lists git commands)
# git help (lists git commands)
mariusvw / pedantically_commented_playbook.yml
Created Jul 5, 2018 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
# ^^^ YAML documents must begin with the document separator "---"
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.