Skip to content

Instantly share code, notes, and snippets.

Avatar

Kailai Shao iskl

View GitHub Profile
@iskl
iskl / ruby_on_rails_installation
Created Jun 30, 2013
Ruby on Rails' installation and setting
View ruby_on_rails_installation
#安装所需包
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
@iskl
iskl / speedometer
Created Jun 30, 2013
speedometer shell command
View speedometer
speedometer -rx eth0 -tx eth0
@iskl
iskl / mount_nas
Created Jun 29, 2013
mount GoFlex Home to Raspberry Pi
View mount_nas
sudo mount -t cifs -o rw,soft,rsize=8192,wsize=8192,username=[username],password=[password] "//[nasip]/GoFlex Home Public/" /media/Public
@iskl
iskl / RTOS_ASM.S
Created Feb 11, 2012
ARM9上运行的微型操作系统(汇编)
View RTOS_ASM.S
;****************************************************************************************
; 文件名:RTOS_ASM.S
; 功能: ARM9上运行的微型操作系统(汇编)
; 备注: 汇编主要完成维护任务堆栈和存取堆栈指针SP的操作
;
; By Lisuwei
;
;***************************************************************************************/
AREA ARM_OS_ASM, CODE, READONLY
@iskl
iskl / RTOS.c
Created Feb 11, 2012
ARM9上运行的微型操作系统
View RTOS.c
//-------------------------------------------------------------------------
// 文件名:RTOS.C
// 功能: ARM9上运行的微型操作系统
// 备注: 抢占式任务调度,运行时间可预测,提供延时,挂起,恢复任务操作
// 未加入信号量邮箱等同步通信机制
//
// By Lisuwei
//-------------------------------------------------------------------------
#define CPP_GLOBALS
@iskl
iskl / RTOS.h
Created Feb 11, 2012
ARM9上运行的微型操作系统(头文件)
View RTOS.h
//-------------------------------------------------------------------------
// 文件名:RTOS.H
// 功能: ARM9上运行的微型操作系统(头文件)
// 备注:
//
//
// By Lisuwei
//-------------------------------------------------------------------------
#ifndef _RTOS_H_
You can’t perform that action at this time.