为什么有些GPIO可以在/sys/class/gpio中控制,而有些不行呢?先来看一看普通的控制方法:ath79_gpio_function_disable这个的作用是? /* Enable GPIO15 and GPIO16 and possibly GPIO26 and GPIO27 */ at...
分类:
其他好文 时间:
2015-01-06 19:42:26
阅读次数:
282
编译禁用“jack” 和 “crystalhd” :--disable-crystalhd--disable-indev=jack===========================================================http://blog.chinaunix.net/...
分类:
其他好文 时间:
2015-01-05 18:32:13
阅读次数:
295
Daytime running light are LEDs in chrome bezels. Some people love them while others dislike them.TheDaytime Running Lightsare controlled by the smart ...
分类:
其他好文 时间:
2015-01-05 14:52:37
阅读次数:
150
vi/etc/sysconfig/network-scripts/ifcfg-enp0s3name="eth0"mv/etc/sysconfig/network-scripts/ifcfg-enp0s3/etc/sysconfig/network-scripts/ifcfg-eth0vi/etc/default/grunGRUB_DISTRIBUTOR="$(sed‘s,release.*$,,g‘/etc/system-release)"GRUB_DEFAULT=savedGRUB_DISABLE_SUBM..
分类:
其他好文 时间:
2015-01-04 19:40:39
阅读次数:
175
ffmpeg安装
1.下载ffmpeg源码 ffmpeg.org
2.解压 tar -jvxf ffmpeg-2.5.2.tar.bz2
3.进入目录 ./configure
1)解决 ffmpeg yasm not found, use --disable-yasm for a crippled build ref:blog.csdn.net/ranxiedao/article/deta...
分类:
系统相关 时间:
2015-01-02 22:30:43
阅读次数:
214
主机关闭防火墙 控制面板,网络设置,防火墙,关闭虚拟机设置网络桥连,IP自动 192.168.*.*关闭防火墙 ,Fedora 命令:systemctl disable iptables.service 现在重启虚拟机中的服务: 现在来ping一下虚拟机: 现在我们来思考一下,问题出现在哪里:...
分类:
其他好文 时间:
2015-01-02 06:20:14
阅读次数:
190
库可以在这里下载第一个程序:#ifndef GLUT_DISABLE_ATEXIT_HACK #define GLUT_DISABLE_ATEXIT_HACK #endif #include #include void init(){ glClearColor(1.0,1.0,1.0,0....
分类:
其他好文 时间:
2015-01-01 21:11:35
阅读次数:
225
审批通过后的单据,一般要对其进行控制,不能修改,不能添加,删除等,下面分别介绍下如何实现: 一、 禁止修改: 1. 主表控制,如果页面上审批状态为审批中或审批通过,就把整个页面都disable掉 1: function controlReadonly() {
2: var status = Xrm.Page.data.entity.attributes.get("new_a...
分类:
其他好文 时间:
2015-01-01 18:37:01
阅读次数:
217
Print in terminal with colors using Python?
1.class colors:
reset='\033[0m'
bold='\033[01m'
disable='\033[02m'
underline='\033[04m'
reverse='\033[07m'
strikethrough='\0...
分类:
编程语言 时间:
2014-12-31 13:11:00
阅读次数:
261