Skip to content

Instantly share code, notes, and snippets.

import android.content.Context;
import android.os.Process;
import android.support.p018v7.p019a.C0367a;
import android.util.Log;
import com.yalantis.ucrop.BuildConfig;
import com.yalantis.ucrop.view.CropImageView;
import java.io.File;
import java.io.FileInputStream;
#!/bin/sh
# default values for arguments
ssh_host="root@remarkable" # remarkable connected through USB
landscape=true # rotate 90 degrees to the right
output_path=- # display output through ffplay
format=- # automatic output format
webcam=false # not to a webcam
measure_throughput=false # measure how fast data is being transferred
@harrylepotter
harrylepotter / gist:6f20e27de8dab6bb62e4211a7d8db65b
Created September 23, 2020 23:45
Read audi RNS-e and push to keystrokes for use by headunit apps
//requires :
// socketcan 2.2.2
// child_process -
// underscore (any version)
var can = require('socketcan');
var channel = can.createRawChannel("can0", true);
var _ = require('underscore');
var cp = require('child_process');