Skip to content

Instantly share code, notes, and snippets.

@erwinchang
erwinchang / 借出查訊.md
Created July 20, 2017 02:50
如何查訊借出東西

如何查訊借出東西

  • 開改ERP/庫暫管理系統 Imgur

  • 點選查訊 Imgur

  • 選進階-> 員工代號

來源:[GitHub 讓自由開源授權模式的選擇變聰明][1]

  • MIT License 若使用者希望較簡單與寬鬆 (permissive) 的自由開源軟體授權條款時,網站會提供 MIT License

  • Apache-2.0 若想強調專利干擾方面的防護,則使用者可轉而考慮 Apache-2.0

  • GPL-2.0 或 GPL-3.0 若要求修改後的程式碼都必須在不中斷分享的循環裡,則可參考 GPL-2.0 或 GPL-3.0

freebook

來源:[pmag201303A4,pdf][2]

  • [freecomputerbooks][1]
  • [freetechbooks][3]

線上教育

OCW

pi 下載安裝

sudo dd if=2017-06-21-raspbian-jessie.img of=/dev/sde bs=4M

設定

@erwinchang
erwinchang / SegmentDisplay.md
Last active August 9, 2017 09:13
Segment Display

7 Segment Display LED 電路

  • [What Type of LED Driver Do I Need? Constant Current vs. Constant Voltage][1]

    • if you didn’t have a current limiting device, the current would continue to rise as temperature did.
    • LED額定電流會受溫度影響,工作溫度上升可允許額定電流會變小
    • This is the reason the preferred method of powering high powered LEDs is with a constant current LED driver
  • [Large Digit Driver Hookup Guide ][2]

  • [SparkFun Large Digit Driver][3]

@erwinchang
erwinchang / ds216-nfs-synology.md
Last active June 19, 2017 07:38
ds216-nfs-synology

DS216說明

  • DS216+II
    • [DiskStation DS216, pdf][2]
    • Synology DS216 為一台 2 顆硬碟 NAS
    • Marvell Armada 88F6820 雙核心 1.3GHz
    • DDR3 512MB

設定Synology本機

example

  1. 先以socket來確認camera是否存在
  2. 再以http取得ini

exmaple lua http get

#!/usr/bin/env lua

Camera Ini取得

#!/usr/bin/env lua

local io = require("io")
local http = require("socket.http")
local mime = require("mime")
local ltn12 = require("ltn12")
@erwinchang
erwinchang / StandardFirmataForATH0.ino
Created April 19, 2017 02:43 — forked from edgarsilva/StandardFirmataForATH0.ino
Modified firmata protocol that works on the arduino YUN linux side communicating to the arduino side using the ttyATH0 serialport interface.
/*
* Firmata is a generic protocol for communicating with microcontrollers
* from software on a host computer. It is intended to work with
* any host computer software package.
*
* To download a host software package, please clink on the following link
* to open the download page in your default browser.
*
* http://firmata.org/wiki/Download
*/