Skip to content

Instantly share code, notes, and snippets.

View tuggan's full-sized avatar

Dennis Vesterlund tuggan

View GitHub Profile
@tuggan
tuggan / Mouse sensetivity calculator
Last active August 29, 2015 14:10
Threw this togeather for a friend
#include <stdio.h>
#include <stdlib.h>
int main (int argc, char **argv) {
int i, d = 0, m = 0, t = 0;
if (argc >=2) m = atoi(argv[1]);
if (m == 0) m = 6400;
if (argc >= 3) t = atoi(argv[2]);
if (t == 0) t = 20;
printf("Setting mouse sensetivity to %d\n", m);
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int i, d, m;
if (argc != 2)
m = 100;
else
m = atoi(argv[1]);
for(i = 0; i <= m; i++) {

Keybase proof

I hereby claim:

  • I am tuggan on github.
  • I am vestern (https://keybase.io/vestern) on keybase.
  • I have a public key ASBiBEUeHd-N6YGIoLpGMKqISf8jYzfodK1KqIviDwTs7Qo

To claim this, I am signing this object: