原创 spi
#ifndef _SPI_H_ #define _SPI_H_ #include "tistdtypes.h" // Prevent C++ name mangling #ifdef __cplusplus extern far "c"
原创 i2c
----- i2c.h---- #ifndef _I2C_H_ #define _I2C_H_ #include "tistdtypes.h" // Prevent C++ name mangling #ifdef __cplusplus
原创 java環境搭建
去http://www.oracle.com/technetwork/indexes/downloads/index.html下載 java SDK 1. 安裝 2. 配置環境變量 JAVA_HOME C:\Program Fil
原创 make_request
#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/types
原创 XDMCP 連接配置
編輯/etc/gdm3/daemon.conf [daemon] RemoteGreeter=/usr/libexec/gdmgreeter [security] AllowRemoteRoot=true [xdmcp] Enable=t
原创 SQL數據庫操作
1.oracle (1) 啓動 監聽 lsnrctl start; (2)進入sqlplus界面 sqlplus /nolog SQL>conn sys/jiaxiaoai@orcl
原创 DIY臺式機
1 電源沒電,需要將綠線與黑線接通,啓動電源 2 主板供電與CPU供電要接 3 主板燈亮後需要開機,CPU風扇線一定要接 4 安裝主板到機箱時,要先安裝隔離螺絲,主板靠擋板是不能啓動的, 5 接各類指示燈線
原创 PL/SQL 連接Oracle
一. 安裝Oracle客戶端 二. 配置Oracle客戶端 下載之後將其解壓,不需要進行安裝,比如解壓到......\TOOLS_APP目錄下,然後在instantclient_11_2目錄下新建兩層文件夾\NETWORK\ADMIN
原创 request
#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/fs.h> #include <linux/types
原创 fasync的使用
app程序 #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <