- use a recent version of nodejs ex. v0.12.2
- install necessary modules
npm install -g npm
npm install -g coffee-script
npm install -g jade babel jade-babel
npm install -g gulp
npm install -g yo jspm
npm install -g generator-systemjs
npm install -g npm
npm install -g coffee-script
npm install -g jade babel jade-babel
npm install -g gulp
npm install -g yo jspm
npm install -g generator-systemjs
package main | |
import "fmt" | |
import "golang.org/x/sys/unix" | |
func main() { | |
var si unix.Sysinfo_t | |
unix.Sysinfo( &si) | |
fmt.Println("Hello, playground", si) |
# show original value
Marvell>>print linux_parts
linux_parts=mtdparts=nand_mtd:0xc0000(uboot)ro,0x40000(env),0x400000(kernel),0x7600000(writable),0x500000(rescue)
# set linux_parts to new value
Marvell>>set linux_parts "mtdparts=nand_mtd:0xc0000(uboot),0x40000(env),0x400000(kernel),0x7600000(writable),0x500000(rescue)"
# check the new value
Marvell>>print linux_parts
列車系統常常為了營運彈性進行車廂重組
列車重組後, 網路以及相關系統是否能快速組態重設, 是運輸系統營運效率的一部分
多節車廂控制長途跨城市列車與 可以設定為多點目的地
package main | |
import "fmt" | |
import "github.com/thejerf/suture" | |
import "time" | |
type FIB struct { | |
last int | |
current int | |
chans chan int |
data grabber & server
Clients
afunc = (arg0, arg1, arg2)-> | |
console.log 'arg0:', arg0 | |
console.log 'arg1:', arg1 | |
console.log 'arg2:', arg2 | |
afunc 1,2,3 | |
afunc 1, | |
2 | |
3 |
/* DMA initialization and SW reset */
ret = stmmac_init_dma_engine(priv);
if (ret < 0) {
pr_err("%s: DMA initialization failed\n", __func__);
goto open_error;
}