Skip to content

Instantly share code, notes, and snippets.

View 10MINT's full-sized avatar

10MINT 10MINT

  • Germany
View GitHub Profile
@lutetjeff
lutetjeff / imumouse.md
Created August 11, 2021 16:08
imumouse draft

The IMUMouse Project

While discussing alternative input methods for cursor movement as somewhat of a joke with my gamer friends a month ago, I proposed an idea: a fully IMU-based mouse that would map the screen to a 2D plane in the real world. Although at first I did not take this seriously, as I understood the impracticality of double integration for location, especially also taking rotation into account, I questioned whether this type of input device would be possible. Thus, I spent dozens of hours the second half of summer figuring it out, as part of a research project mentored by Oxford Professor Alex Rogers. Here is the rough idea, in the form of a dated 5-minute paint.net sketch:

Test Methodology

@scivision
scivision / .gitattributes
Last active September 25, 2021 14:51
End CRLF line ending hell for Windows + Cygwin or WSL and any other OS https://www.scivision.dev/git-line-endings-windows-cygwin-wsl/
.gitattributes text eol=lf
.gitignore text eol=lf
*.build text eol=lf
*.c text eol=lf
*.cmake text eol=lf
*.cpp text eol=lf
*.csv text eol=lf
*.f text eol=lf
*.f90 text eol=lf
*.for text eol=lf
@madrobby
madrobby / gist:9476733
Created March 10, 2014 23:34
Download a single file from a private GitHub repo. You'll need an access token as described in this GitHub Help article: https://help.github.com/articles/creating-an-access-token-for-command-line-use
curl -H 'Authorization: token INSERTACCESSTOKENHERE' -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/owner/repo/contents/path