2016-04-01から1ヶ月間の記事一覧
Copyright Patent Trademark Trade secret Geographical indication Sui generis rights Authors' rights Database right Indigenous intellectual property Industrial design right Integrated circuit layout design protection Moral rights Plant breed…
Bitbarを使う https://github.com/matryer/bitbar https://getbitbar.com trello.sh #!/bin/zsh # <bitbar.title>Trello</bitbar.title> # <bitbar.version>v1.0</bitbar.version> # <bitbar.author>Shohei Aoki</bitbar.author> # <bitbar.author.github>shohei</bitbar.author.github> # <bitbar.image>http://i.imgur.com/E…</bitbar.image>
Resistor-transistor logic: Resistor-transistor logic (RTL)は、入力ネットワークとして抵抗器を使い、スイッチングデバイスとしてバイポーラトランジスタを使ったデジタル回路の一種。トランジスタを使った論理回路としては最初期のものである。他に diod…
1.最初4msでタイマーが割り込みをかける 2.その後、PrintLineクラスのhasLines()がtrueであればbresenhamSteps()を実行する 3.bresenhamSteps()の返り値が次のステップパルスまでのインターバルになっているので、その時間経過した後に割り込みがかか…
uint8_t PrintLine::queueNonlinearMove(uint8_t check_endstops,uint8_t pathOptimize, uint8_t softEndstop) { EVENT_CONTRAIN_DESTINATION_COORDINATES int32_t difference[E_AXIS_ARRAY]; float axisDistanceMM[VIRTUAL_AXIS_ARRAY]; // Real cartesian …
パルスを打ち込む部分 motion.cpp int32_t PrintLine::bresenhamStep());// Version for delta printer Queueに入ってるデータ分を打ち込む 割り込み部分 HAL.cpp ISR(TIMER1_COMPA_vect) { if(insideTimer1) return; uint8_t doExit; __asm__ __volatile__ …
公衆交換電話網 PSTN https://ja.wikipedia.org/wiki/公衆交換電話網Raspberry pi to PSTN http://raspberrypi.stackexchange.com/questions/1538/is-there-a-way-to-connect-to-a-pstn FXS / FXOとは何か? http://www.3cx.jp/voip-sip/fxs-fxo/ Raspberry …
http://rebuild.fm/139/ で言ってたことのメモhttps://itunes.apple.com/us/app/pomodoro-one/id907364780?mt=12 https://itunes.apple.com/us/app/take-a-break-please/id843150501?mt=12 https://todoist.com/ Redmine Google Keep One Note
const koa = require('koa') const app = new koa() const Jade = require('koa-jade') const jade = new Jade({ viewPath: './views', app: app }) app.use(function* () { this.render('index'); }) app.listen(3000);
http://kotatu.org/blog/2013/12/31/experiments-with-koa-and-javascript-generators-ja/
このへんかな 1. Zynq LinuxからFPGAを利用するって? http://yuki-sato.com/wordpress/2015/01/11/zynq7/ LED4個をPLに追加してLinuxもコンパイルしてLinuxから使ってみるチュートリアル(Digillent) http://www.digilentinc.com/Data/Products/ZYBO/ZYBO-E…
公式 http://xillybus.com/xillinux やり方の抜粋 http://ryuz.txt-nifty.com/blog/2014/04/zybozynqlinuxxi.html1. xillybus_getting_started_zynq.pdf に従う 2. xillinux-1.3.img.gz xillinux-eval-zybo-1.3.zip をダウンロード 3. XPSでネットリスト生成…
https://ja.wikipedia.org/wiki/ブレゼンハムのアルゴリズム function breseham_line clear all; close all; figure(); xlim([0,5]); ylim([0,5]); hold on; drawline(1,3,1,3); function drawline(x0, x1, y0, y1) deltax = x1 - x0 deltay = y1 - y0 error…
スイッチの場合、LはLayerを表す L1スイッチハブ L2スイッチ L3スイッチ キャッシュの場合、LはLevelを表す L1キャッシュ(1次キャッシュ) 高速な記憶装置(キャッシュメモリ)の一つで、最も優先的に読み書きが行われる 直近に使用したデータや使用頻度の高…
あえてアロー表記で書いてみる 'use strict'; let promise = () => { return new Promise((resolve, reject)=>{ setTimeout(()=>{resolve('Async hello world')},16)}); } let callbackFunc = (value) => { console.log(value); } let handleFunc = (error) …
ここがわかりやすかった KoaでWeb開発: Koaの検証を通じてミドルウェアの概念を理解する http://qiita.com/niisan-tokyo/items/41eb20adafdae8633442AndroidのActivityスタックに近い気もした
https://github.com/node-ffi/node-ffi/wiki/Node-FFI-Tutorial引数と返り値の型の指定のところが重要hello.c #include <stdio.h> void hello(){ printf("hello\n"); } Makefile all: gcc -dynamiclib hello.c -o libhello.dylibapp.js const ffi = require('ffi'); c</stdio.h>…
HHK2のUSキーボード版はBackspaceの位置が珍妙な場所に割り当てられているので これをバッククオートと入れ替える必要がある (日本語キーボードのBSは正常な位置にあるのに何故変える必要があるのか)karabinerの設定 private.xml ... <item> <name>Swap Backquote and</name></item>…
結論:JSは関数スコープであってブロックスコープは無いので必要 app1.js (悪い例) var array = [1,2,3]; for(a of array){ console.log(a); } console.log(a); $ node app1.js 1 2 3 3 #=>aがトップスコープで見えてる app2.js(安全な例) "use strict";…
http://stackoverflow.com/questions/32040396/how-to-use-es6-fat-arrow-to-filter-an-array-of-objectshoge.js "use strict"; let animals = [ { type: 'cat', name: 'Kitty'}, { type: 'dog', name: 'Taro'}, { type: 'fish', name: 'Poyo'}, ]; console.…
http://stackoverflow.com/questions/20160921/syntastic-complaining-about-es6-module-syntax~/.eslintrc { "parser": "babel-eslint", "env": { "browser": true, "node": true }, "settings": { "ecmascript": 6 }, "rules": { "strict": 0 // you can a…
昨日LINQのチュートリアルやってて便利な書き方だなあとか思ってたらES6でも同じようにかけてびびったアロー関数(CoffeeScript的に書ける) http://js-next.hatenablog.com/entry/2014/07/23/173147 イテレータ(mapとかforEachとかRuby的に書ける) https:…
ピン配置
https://software.intel.com/en-us/blogs/2015/02/20/building-and-running-mosquitto-mqtt-on-intel-edison
https://www.contec.co.jp/product/device/serial/basic.html 1:1, 1:N, N:Nと考えておけばよいのかな?
http://www.keyence.co.jp/seigyo/special/controls/setsuzoku/chapter1/standard/ AS-i BACnet CANopen CC-Link CC-Link IE CompoNet ControlNet CUnet DeviceNet EtherCAT EtherNet/IP Ethernet POWERLINK FL-net FOUNDATION Fieldbus HART HLS HSE INTERB…
http://stackoverflow.com/questions/846994/how-to-use-html-agility-pack using System; using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace ConsoleApplication { class Program { static void Main(string[] args)…