Skip to content

Instantly share code, notes, and snippets.

View nkmrtkhd's full-sized avatar

NAKAMURA Takahide nkmrtkhd

View GitHub Profile
#include <DigiMouse.h>
#define LED_PIN 0//modelB
#define LED_PIN 1//modelA
void setup() {
DigiMouse.begin();
pinMode(LED_PIN, OUTPUT);
}
import glob
import json
def listArray(key,arr):
for a in arr:
if type(a) is list:
listArray(key,a)
elif type(a) is dict:
listDic(key,a)
else:
@nkmrtkhd
nkmrtkhd / googlehistory.pl
Created April 2, 2012 14:40 — forked from nkmrgk/googlehistory.pl
Downloader for Google history
#!/usr/bin/perl
#
# googlehistory.pl - Downloader for Google history
#
use strict;
use warnings;
use Encode;
use utf8;
use URI;
use HTTP::Cookies;