Skip to content

Instantly share code, notes, and snippets.

@jamesbond3142
jamesbond3142 / 0001-parson-JSON-library-add-format-serialisation-of-number.patch
Created February 20, 2017 18:32
parson: support per-node customisation of serialisation of number
From 43c3b2c9d5388a8da1b433d42dd04b371921c9e2 Mon Sep 17 00:00:00 2001
From: james <james@localhost>
Date: Tue, 21 Feb 2017 04:18:37 +1000
Subject: [PATCH] parson JSON library - add format serialisation of numbers
---
inc/parson.h | 2 ++
src/parson.c | 16 ++++++++++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
@jamesbond3142
jamesbond3142 / network-setup.sh
Created October 2, 2016 14:45
Latest network-setup.sh from Fatdog64 710
#!/bin/dash
# Network Setup
# This will be CLI (so that it can be used on non-graphical systems)
#
# Copyright (C) James Budiono 2014, 2016
# License: GNU GPL Version 3 or later.
#
# Note: handles WEP/WPA/WPA2 and open system.
# WEP support is only for "OPEN" authentication (for SHARED, edit config file)
# WEP key can be in hexadecimal or "ASCII".
#include <string.h>
#include <gtk/gtk.h>
#include <gst/gst.h>
#include <gst/video/videooverlay.h>
#include <gdk/gdk.h>
#if defined (GDK_WINDOWING_X11)
#include <gdk/gdkx.h>
#elif defined (GDK_WINDOWING_WIN32)