Skip to content

Instantly share code, notes, and snippets.

View minimum-necessary-change's full-sized avatar

minimum-necessary-change

View GitHub Profile
@minimum-necessary-change
minimum-necessary-change / log.md
Created February 19, 2019 07:32 — forked from m-jowett/log.md
Setup LibreOffice Online (Log/Guide) [WIP]

Setup LibreOffice Online (Log/Guide) [WIP]

About

This guide/log is based off my experience attempting to build and install LibreOffice Online and it's dependencies on my system.

The end goal is to get LibreOffice Online integrated with Karoshi Server.

LibreOffice Online is still in development (17/06/16).

@minimum-necessary-change
minimum-necessary-change / CompressYUYV2JPEG.cpp
Created February 12, 2019 11:12 — forked from royshil/CompressYUYV2JPEG.cpp
Example of converting a YUYV buffer to JPEG using libJPEG
#include <iostream>
#include <fstream>
#include <vector>
#include <cstdint>
#include <memory>
#include <jpeglib.h>
using namespace std;
@minimum-necessary-change
minimum-necessary-change / pi_wifi_check.sh
Last active December 16, 2018 12:47
Pi Wifi Monitor - Check if wifi still up but will work with any network interface and any Linux PC
#!/bin/bash
# Pi Wifi Monitor - Check if wifi still up but will work with any network interface and any Linux PC
#
# This script will periodically check if work wifi interface is still active and if not it restarts the network interface.
#
# NOTE: If your router is down then it may also appear dead!
#
# adapted from http://alexba.in/blog/2015/01/14/automatically-reconnecting-wifi-on-a-raspberrypi/
# and https://raspberrypi.stackexchange.com/questions/71626/automatically-connect-pi-zero-w-to-wlan-after-lost-connection