Skip to content

Instantly share code, notes, and snippets.

View DavidRayner's full-sized avatar

David Rayner DavidRayner

  • UK
View GitHub Profile
@DavidRayner
DavidRayner / wanbo.sh
Last active May 15, 2023 06:32
Wanbo T2 apply custom settings on boot
# Connect to device using adb
adb connect <@IP>
# Start su shell (works out of the box - no need to root device)
adb shell
su
# We need to remount the system file-system in order to modify the start-up script
mount -o remount,rw /system
@DavidRayner
DavidRayner / README.md
Last active May 21, 2018 12:15
SigmaJS Export to server (flask)

SigmaJS Export to Server

This is how I save the nodes and edges of a sigma graph into a JSON file. The JSON file can be later re-imported with the sigma.parsers.json plugin.

Frontend

HTML

<button id="export-btn">Save Graph On Server</button><br/>