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
#安装所需包 | |
sudo apt-get install -y build-essential openssl curl libcurl3-dev libreadline6 libreadline6-dev git zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf automake libtool imagemagick libmagickwand-dev libpcre3-dev libsqlite3-dev libmysql-ruby libmysqlclient-dev | |
#下载安装RVM | |
curl -L get.rvm.io | bash -s stable | |
#当前环境载入RVM配置 | |
source ~/.bashrc | |
source ~/.bash_profile |
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
speedometer -rx eth0 -tx eth0 |
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
sudo mount -t cifs -o rw,soft,rsize=8192,wsize=8192,username=[username],password=[password] "//[nasip]/GoFlex Home Public/" /media/Public |
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
;**************************************************************************************** | |
; 文件名:RTOS_ASM.S | |
; 功能: ARM9上运行的微型操作系统(汇编) | |
; 备注: 汇编主要完成维护任务堆栈和存取堆栈指针SP的操作 | |
; | |
; By Lisuwei | |
; | |
;***************************************************************************************/ | |
AREA ARM_OS_ASM, CODE, READONLY |
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
//------------------------------------------------------------------------- | |
// 文件名:RTOS.C | |
// 功能: ARM9上运行的微型操作系统 | |
// 备注: 抢占式任务调度,运行时间可预测,提供延时,挂起,恢复任务操作 | |
// 未加入信号量邮箱等同步通信机制 | |
// | |
// By Lisuwei | |
//------------------------------------------------------------------------- | |
#define CPP_GLOBALS |
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
//------------------------------------------------------------------------- | |
// 文件名:RTOS.H | |
// 功能: ARM9上运行的微型操作系统(头文件) | |
// 备注: | |
// | |
// | |
// By Lisuwei | |
//------------------------------------------------------------------------- | |
#ifndef _RTOS_H_ |