This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $ = function ( selector, context ) { | |
| context = context || document; | |
| return context.querySelector(selector); | |
| }; | |
| var enc = { | |
| s : "Shift_JIS", | |
| e : "EUC-JP", | |
| u : "UTF-8", | |
| i : "ISO-2022-JP" | |
| }[location.hash.substr(1)]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a,あ,ア,ア | |
| bb,っ,ッ,ッ,b | |
| ba,ば,バ,バ | |
| bi,び,ビ,ビ | |
| bu,ぶ,ブ,ブ | |
| be,べ,ベ,ベ | |
| bo,ぼ,ボ,ボ | |
| # DvorakJP | |
| # コンビネーションキー |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Sprite.h> | |
| #include <Matrix.h> | |
| #include <TimerOne.h> | |
| Matrix mtx = Martix(10, 12, 11); | |
| Sprite tsuku = Sprite( | |
| 8, 7, | |
| B01001000, | |
| B01101110, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Sprite.h> | |
| #include <Matrix.h> | |
| Matrix mtx = Matrix(10, 12, 11); | |
| Sprite tsuku = Sprite( | |
| B01001000, | |
| B01101110, | |
| B10110100, | |
| B00000000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Matrix.h> | |
| #include <Sprite.h> | |
| Matrix mtx = Matrix(10, 12, 11); // DIN, CLK, LOAD の各ピン番号 | |
| void setup() {} | |
| void loop() { | |
| mtx.clear(); // LED マトリックスを全て消灯 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <ctype.h> | |
| struct record { | |
| char word[20]; | |
| int count; | |
| struct record *next; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int led[10]; | |
| void init_led () { | |
| for (int i=0; i<10; i++) { | |
| led[i] = i + 2; | |
| pinMode(led[i], OUTPUT); | |
| } | |
| } | |
| void light_led (char *num) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int led[10]; | |
| void init_led () { | |
| for (int i=0; i<10; i++) { | |
| led[i] = i + 2; | |
| pinMode(led[i], OUTPUT); | |
| } | |
| } | |
| void light_led (char *num) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use 5.14.0; | |
| my $G = 1; | |
| my $H = 3.5; | |
| my $M = 1; | |
| my $org = 90; | |
| my $dx = 0.5; | |
| my $dt = 0.1; | |
| my $nm = 99; | |
| my $ni = 50; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package AnyEvent::Twitter::Stream; | |
| use strict; | |
| use 5.008_001; | |
| our $VERSION = '0.21'; | |
| use Data::Dumper; | |
| use AnyEvent; | |
| use AnyEvent::HTTP; |