- MacOS Mojave 10.14.4
- MacBook Pro (Retina, 13-inch, Late 2012)
- nRF52-DK (PCA10040)
- Install GCC
| /** | |
| * 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 = []; |
| -------------------------------------------------- | |
| -- 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 |
| 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). |
| #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. |
修飾語は 2 人で考え、名詞を http://tily.jottit.com/好きな言葉 から借りた。
下記のようなスクリプトを用意した。
| // ↓bookmarklet化したもの | |
| // javascript:function isMayBeContainsScreenName(a,b,c){var d="^#$|^#!/$|^tos|^home|^jobs|^about$|^intent|^privacy$|^statuses|^settings|^session|^replies|^favorites|^inbox|^#!/download|^search|^#!/search.+|^\\?max_id=|/followers$|/following$|^#!/following|^#!/followers|^#!/i/connect|^#!/i/discover|^about/resources$|followers_you_follow|^#!/who_to_follow/suggestions";return!a.match(new RegExp(d))}Array.prototype.uniq=function(a){this.sort();ys=[];for(var b=0;b<this.length;b++){if(ys.length==0||this[b]!=ys[0])ys.unshift(this[b])}return ys};var collection=[];var dl=document.links;for(var i=0;i<dl.length;i++){if(dl[i].href.match(new RegExp("https?://(?:mobile.|m.)?twitter.com/(.+)"))){collection.push(RegExp.$1)}}collection=collection.filter(isMayBeContainsScreenName);var confirmedScreenName=[];var somethingElse=[];var screenName="([0-9a-zA-Z_]{1,15})";for(var j=0;j<collection.length;j++){if(collection[j].match(new RegExp("(?:#!/)"+screenName+"(?:/status/[0-9]+|/lists)"))){confirmedScreenName. |