Skip to content

Instantly share code, notes, and snippets.

@xujiaao
xujiaao / android-set-ntp-server.md
Last active September 18, 2024 07:27
Set the NTP server of your android device
tags
Android
Android Things

Set the NTP server of your android device

@shaunlebron
shaunlebron / angleLerp.js
Created February 5, 2014 20:41
The best way to interpolate 2D angles
/*
2D Angle Interpolation (shortest distance)
Parameters:
a0 = start angle
a1 = end angle
t = interpolation factor (0.0=start, 1.0=end)
Benefits:
1. Angles do NOT need to be normalized.