2013/08/16 よりセットアップ
- フルネーム:geckotang
- アカウント名:geckotang
- spotlight検索のショートカット(control+space)をオフに
- トラックバッドの設定変更(カーソルの速度、右隅右クリック)
- Finder>環境設定>詳細>すべてのファイル名拡張子を表示
- Docを右側にして小さめ。
/** | |
* 画面上部にスクロールする | |
* @param selector {String} クリックしてスクロールさせたい要素のセレクタ | |
* @param duration {Number} 移動速度 | |
*/ | |
function smoothScrollTop(selector, duration) { | |
var $topBtn = $(selector), | |
setting_scroll = { | |
duration: duration || 300 | |
}; |
/* | |
* ActionButton example | |
* Jeff Hoefs | |
* 11/3/11 | |
* | |
* This example demonstrates a few diffrent ways to use the ActionButton | |
* library. You can attach event listeners, or poll for the changes in | |
* button state. | |
* | |
* Note that you must specify the button mode as the 2nd paramter of the |
// LEDが接続されているピン | |
const int LED_1 = 13; // YELLOW | |
const int LED_2 = 12; // RED | |
// プッシュボタンが接続されているピン | |
const int BUTTON_1 = 8; // YELLOW | |
const int BUTTON_2 = 7; // RED | |
// 入力ピンの状態 | |
int val_1 = 0; // YELLOW |
// Requrements | |
// ActionButton library by Jeff Hoefs | |
// https://github.com/soundanalogous/ActionButton/ | |
#include <ActionButton.h> | |
const int ledPin_1 = 13; // RED | |
const int ledPin_2 = 12; // BLUE | |
const int btnPin_1 = 8; // RED | |
const int btnPin_2 = 7; // BLUE |
@mixin fonta($name) { | |
&:before { | |
font-family: FontAwesome; | |
font-weight: normal; | |
font-style: normal; | |
display: inline-block; | |
text-decoration: inherit; | |
-webkit-font-smoothing: antialiased; | |
*margin-right: .3em; | |
@content; |
// @link http://s-azcat.com/archives/389 | |
int buttonA = 0; | |
int lastButtonA = 0; | |
int buttonB = 0; | |
int lastButtonB = 0; | |
unsigned long time1 = 0; | |
unsigned long time2 = 0; |