Skip to content

Instantly share code, notes, and snippets.

View maripo's full-sized avatar
💭
I may be slow to respond.

Maripo GODA maripo

💭
I may be slow to respond.
View GitHub Profile
@adricasti
adricasti / Readme.md
Last active June 24, 2020 18:59
nRF52 Toolchain Setup in Mac OS X

Equipment

  • MacOS Mojave 10.14.4
  • MacBook Pro (Retina, 13-inch, Late 2012)
  • nRF52-DK (PCA10040)

Toolchain Setup

  1. Install GCC
@maripo
maripo / delauney_triangulation.js
Created April 21, 2013 04:56
Delauney Triangulation
/**
* Usage
* var nodes = [{x:x0,y:y0},{x:x1,y:y1},{x:x2,y:y2}.....];
* var edges = new Delauney(w, h).triangulate(nodes);
*/
var Delauney = function (width, height) {
//init
this.width = width;
this.height = height;
this.triangles = [];
@maripo
maripo / createnote.applescript
Created March 5, 2013 02:22
Evernote Local API Command Line Proxy
--------------------------------------------------
-- createnote.applescript
-- Evernote Command Line Proxy
-- by Maripo Goda <goda.mariko[at]gmail.com>
-- Required:
-- Mac OS X + AppleScript
-- Evernote for Mac OS X
-- Perl + JSON.pm
-- Usage:
-- Create a note with text
-- This script includes examples for using AppleScript to perform several
-- useful tasks with Evernote.
-- Each section illustrates a chunk of Evernote's AppleScript interface,
-- and each section also cleans up after itself.
-- Please refer to the Evernote application's scripting dictionary for
@pnegri
pnegri / gist:2634426
Created May 8, 2012 11:48
GTD Workflow in Things
1. Review last two weeks on ical (Catch follow-up tasks, and add them to the inbox).
2. Review the next six weeks on ical (Look for prep tasks/projects, and put them into the inbox).
3. Process email inboxes (a. Process email, adding tasks to inbox; b. File project support documents)
4. Process physical inbox (a. Process physical docs, adding tasks to inbox; b. File project support docs in physical reference system)
5. Process Things inbox (a. Define next actions; b. Apply tags; c. Move tasks to appropriate project/area; d. Create projects as needed)
6. Review Next tasks/projects in each area (a. Adjust, tag, move and delete tasks as needed).
7. Review Projects that aren't assigned to areas (Adjust, tag, move and delete tasks as needed).
8. Review Tasks that aren't assigned to an Area (Adjust, tag, move and delete tasks as needed).
9. Review Someday (Adjust, tag, move and delete tasks as needed)
10. Review items in Scheduled for next few days (Move items to Next, Scheduled as needed).
@Wollw
Wollw / pcint_example.c
Created May 5, 2012 00:48
ATMega328P PCINT example
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/atomic.h>
#include <util/delay.h>
#include <stdbool.h>
/*
* A global flag used to communicate between the Interrupt Service Routine
* and the main program. It has to be declared volatile or the compiler
* might optimize it out.
@takano32
takano32 / ANIME.rst
Created April 4, 2012 12:42
今期のアニメ検討メモ

プルリクエストお待ちしています

  • ○ ヨルムンガンド
    • カイジ
  • ◎ シャイニング・ハーツ -幸せのパン-
@tily
tily / sketch20120325.md
Created March 25, 2012 12:16
2 人で物語のアイデアをブレストしたメモ

2 人で物語のアイデアをブレストしたメモ

準備するもの

修飾語の一覧と名詞の一覧

修飾語は 2 人で考え、名詞を http://tily.jottit.com/好きな言葉 から借りた。

上記をランダムに組み合わせる仕組み

下記のようなスクリプトを用意した。

@moyashi
moyashi / extract_twitter_screenname_from_links.js
Created February 23, 2012 00:29
リンクからTwitterのusernameらしきものを抽出