- 博客(41)
- 资源 (3)
- 收藏
- 关注
原创 Fix arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")
Build error log:/projector/prebuilts/gcc/linux-x86/arm/arm-none-eabi-4.9/bin/arm-none-eabi-gcc: 1: /projector/prebuilts/gcc/linux-x86/arm/arm-none-eabi-4.9/bin/arm-none-eabi-gcc: Syntax error: word ...
2018-12-14 14:28:11
1296
转载 [forward] Use USB-Serial adapters via Windows Subsystem for Linux
https://www.scivision.co/usb-tty-windows-subsystem-for-linux/Use USB-Serial adapters via Windows Subsystem for Linux 1 minute read On this pageNotes WSL USB-serial troubleshooting Windows ...
2018-11-23 11:14:58
440
转载 【转】实现远程开机(电脑)的各种方法总结
https://post.smzdm.com/p/664774/实现远程开机(电脑)的各种方法总结一.为什么要远程开机因为工作需要,总是需要打开某台不在身边的电脑,相信很多值友也遇到过相同的问题,出门在外,或者在公司,突然需要的一个文件存在家里的电脑上,如果家里有人可以打个电话回家,然鹅,事情总会有很多不巧的时候,家里刚好没人,或者,家里的人根本就不知道怎么开电脑,又或者,你是一只漂泊...
2018-11-23 10:01:52
1554
转载 Ubuntu 16.04下添加新用户
某些情况下,Ubuntu 使用useradd 新用户名,在home 文件夹下面看不到新创建的用户文件夹,例如:root@worker:/home/kuku# useradd spark root@worker:/home/kuku# passwd spark Enter new UNIX password: Retype new UNIX password: passwd: pass...
2018-11-07 09:43:31
274
原创 uvcvideo: Marking buffer as bad (error bit set).
There are a lot of error logs on uvcvideo.[17999.817207,0] uvcvideo: Marking buffer as bad (error bit set).[17999.817390,0] uvcvideo: Frame complete (EOF found).[17999.817946,0] uvcvideo: Dropping...
2018-07-30 16:07:06
1196
转载 Moto Mods --Flashing Firmware
Flashing FirmwareOverviewOnce the firmware has been generated, it needs to be installed (flashed) onto the Reference Moto Mod. The Moto Mods Development Kit (MDK) provides two mechanisms for perform...
2018-07-10 14:54:55
1029
转载 Moto Mods --Build from Source
Build from SourceBuild FirmwareNOTE: Before proceeding please ensure you have setup your development environment.Download Source CodeChoose a directory for your build environment.$ cd <directory fo...
2018-07-10 14:52:59
588
转载 Moto Mods --Setup Environment
Preparing For Application DevelopmentFollow these instructions to add Moto Mod specific support to your applications:Step 1) Download and Install Android StudioTo develop a Moto Z application that int...
2018-07-10 14:51:25
309
原创 Remove excel vb password
Remove excel vb passwordNew a excel and open Visual Basic edit window, then insert a module. Put below code in module.Option Explicit#If Win64 ThenPrivate Declare PtrSafe Sub MoveMemory Lib "kernel3...
2018-06-26 17:02:12
466
原创 Matlab Uart receive data and print in the frame of axes
Button callback funcitonglobal L1;global times;if (get(hObject,'Value'))axes(handles.axes);cla;times = 0;delete(instrfindall('Type','serial')); scom = serial('COM1');set(scom,'BaudRate', 115200,'DataB...
2018-06-14 14:29:20
264
转载 What does “open drain” mean?
https://forum.digikey.com/t/what-does-open-drain-mean/716If you are just starting out with electronics a term you may come across early on is “open drain”. It is very common in integrated circuits for...
2018-05-16 11:50:22
300
原创 Moto Mods
How to start a Moto Mods?http://developer.motorola.com.cn/This is a simplified chinese website, but there is a small part of development document on this website.For more detail devleopment document p...
2018-05-03 23:27:54
1039
原创 win10-64bit + jdk-8 + gitblit-1.8.0 + VMware-14 +win7-32bit + Git-2.17.0
Host: Win10 64bitVMWare workstation 14: VMware Pro v14.1.1 官方版本及激活密钥Install Win7-32bit on VmWare workstation: 雨林木风 Ghost Win7 32位旗舰版 v2018.04Note:Set CD/DVD with IDE interface.Set Hard disk with IDE i...
2018-05-03 23:02:38
438
原创 LINKS of OpenWRT and Nuttx
OpenWRThttps://wiki.openwrt.org/starthttp://www.openwrt.org.cn/Examples of OpenWRThttp://www.jbprojects.net/projects/wifirobot/http://blog.chinaunix.net/uid-210143-id-2409658.h
2018-01-22 10:44:26
339
原创 adb shell unknown host service
>netstat -ano | findstr "5037">tasklist /fi "pid eq 9168">taskkill /pid 9168 /f>adb shell
2017-01-16 13:50:56
344
原创 .vimrc
" Ctagsset tags=tags;set autochdir" TagListlet Tlist_Show_One_File=1let Tlist_Exit_OnlyWindow=1let Tlist_Auto_Open=1nmap :Tlist" cscopeif has("cscope") set csprg=/usr/b
2016-10-14 21:55:19
247
原创 ubuntu terminal use proxy
For apt-getmodify /etc/apt/apt.conf$ cat /etc/apt/apt.conf Acquire::http::proxy "http://username:passowrd@proxy:proxy_port";Acquire::ftp::proxy "ftp://username:password@proxy:proxy_port";A
2016-10-10 16:59:26
1114
原创 ubuntu 14.04 install TL-WN823N
TP-Link driverhttp://www.tp-link.com/lk/download/TL-WN823N_V1.html#DriverSource codehttps://github.com/christiantroy/TL-WN823N-V2Build error with not defineSTATION_INFO_RX_PACKET
2016-10-10 14:04:47
2010
原创 cygwin apt-cyg
cygwin apt-cyg进入全屏http://code.google.com/p/apt-cyg/# 下载工具svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /bin/ # 更改权限chmod +x /bin/apt-cyg
2016-10-09 15:05:32
410
原创 VIM ex
http://vim.wikia.com/wiki/Browsing_programs_with_tagsWhen editing programs, there is often a need to jump to another location, for example, to see how a function is defined. To help, Vim uses a
2016-07-01 10:59:21
350
原创 ubuntu 14.04.4 install
Tool: unetbootin-windows-608.exehttps://unetbootin.github.io/ISO: ubuntu-14.04.4-server-amd64.isohttp://mirrors.yun-idc.com/ubuntu-releases/14.04.4/FAQ:When you get
2016-06-20 15:17:17
594
原创 win7 远程桌面
防火墙例外选择 ‘远程桌面’如果没有该选项, 开始--运行--gpedit.msc--计算机配置--管理模板--网络--网络连接--windows防火墙--标准配置文件--windows防火墙允许入站远程桌面例外,更改为启用即可。不在同一网段,设置路由器端口转发比如:192.168.0.100, 内部端口号3389,外部端口号3389,协议all
2016-06-13 13:09:35
423
原创 常用的APT命令
常用的APT命令apt-cache search package 搜索包 apt-cache show package 获取包的相关信息,如说明、大小、版本等 sudo apt-get install package 安装包 sudo apt-get install package - - reinstall 重新安装包 sudo apt-get -f install
2016-05-19 14:26:31
387
原创 Zoneminder
https://www.zoneminder.com/使用ZoneMinder之前需要先安装配置好LAMP执行:sudo apt-get install zoneminder默认安装后执行:sudo ln -s /usr/share/zoneminder /var/www/ 进行链接重启apatch2 执行:sudo /etc/init.d/apatch2 restart
2016-05-06 13:08:05
3346
原创 Ubuntu Web服务器的搭建
LAMP(Linux+Apache+MySQL+PHP/Perl/Python)和 LNMP(Linux+Nginx+MySQL+php/perl/Python)使用Linux作为操作系统,Apache或者Nginx作为Web服务器,MySQL作为数据库,PHP/Perl/Python作为服务器端脚本解释器1. 安装apache2.0执行:sudo apt-get in
2016-05-05 13:05:28
1978
原创 ubuntu server partation config example
Ubuntu-server 14.04 1T1. Primary | /boot | 100M | bootable flag2. Primary | swap | 8G 3. Primary | / |2G4. Logical | /home | 10G5. Logical | /tmp | 5G6. Logical |
2016-04-29 14:58:01
303
原创 excel auto delete empty cell
Sub Macro1()Dim rg As Range For Each rg In [a1:a100] If rg = "" Then rg.Delete shift:=xlUp End If NextEnd Sub
2016-04-26 15:08:25
443
原创 android singapk
singapk1.android 源码目录build\target\product\security 取platform.pk8 platform.x509.pem放到一个目录下 2生成shared.priv.pem openssl pkcs8 -in platform.pk8 -inform DER-outform PEM -out shared.priv.pem -nocryp
2016-04-22 17:53:59
1441
原创 ubuntu server shutdown
(1)立刻关机:shutdown -h now(2)立刻重启:shutdown -r now (注意:快速重启可以用“ctrl+Alt+Delete”,而且可以不用root权限的。)(3)一分钟后重启,并提示:shutdown -r +1 "系统将要重新启动!"(4)定时关机,例如晚上八点半:shutdown -h 20:30
2016-04-22 12:26:49
673
原创 Ubuntu server ssh
Ubuntu判断是否安装ssh服务,通过如下命令进行:ps -e | grep sshssh-agent表示ssh-client启动,sshd表示ssh-server启动了。如果缺少sshd,说明ssh服务没有启动或者没有安装。安装ssh-client命令:sudo apt-get install openssh-client安装ssh-server命令:sud
2016-04-21 12:58:17
1168
转载 Ubuntu IP设置 /etc/network/interfaces
Ubuntu IP设置 /etc/network/interfaces 2013-04-07 11:35:02分类: LINUX$ sudo vi /etc/network/interfacesauto loiface lo inet loopbackauto eth0iface eth0 inet static #ipaddress
2016-04-21 11:24:47
3823
1
转载 【转】Git patch
1. 在git源码目录下执行git format-patch ... -o 如git format-patch d77aaac74845435744c49ae65511d9e1be79ed5c...046ee8f8423302f5070ca81b4e246516e919cd7a -o patch2. 把生成的patch文件拷贝到目标git目录下3. 测试pa
2016-01-21 13:49:02
322
转载 GitHub 教程系列文章链接地址
GitHub 教程系列文章:GitHub 使用教程图文详解 http://www.linuxidc.com/Linux/2014-09/106230.htmGit 标签管理详解 http://www.linuxidc.com/Linux/2014-09/106231.htmGit 分支管理详解 http://www.linuxidc.com/Linux/2014-09/1
2016-01-14 14:50:21
449
转载 转 [github技术]git/github 使用
转 [github技术]git/github 使用http://jingyan.baidu.com/article/e75aca85bb2720142edac61d.html浏览:2314|更新:2013-04-18 18:491. git 版本控制系统相比CVS\SVN优势:- 支持离线开发,离线Repo
2015-05-13 17:52:50
324
原创 Ubuntu XP Win8多系统安装
Ubuntu XP Win7(更新中)一、系统安装分区:C盘(WINXP 150G);D盘(WIN7 150G);E盘(工作盘240G);F盘(个人用240G);其他(ubuntu系统 150G)XPghost安装 http://xp.365zyw.com/WIN7 professional 64bit(笔记本带有正版序列号)ubuntu 12.04.4 32bit
2015-03-10 11:06:56
790
原创 在codecademy学习的第一个index.html
body{ text-align: center; background: url("http://images.takungpao.com/2013/0506/20130506100134584.jpg"); background-size: cover; background-position: center center; backgroun
2014-02-07 16:35:31
872
1
原创 TI LP5560 driver code
/* * drivers/leds/lp5560_leds.c * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * mo
2013-09-23 11:08:14
915
原创 MTK平台上读取LCM error report
1、目的如何读取LCM吐出的ERROR REPORT2、说明有的LCD IC有相应的寄存器可以存储ERROR REPORT类型,这种方式比较简单,我们只需要读取寄存器即可(请咨询FAE)。我们这里阐述的方法是针对在每个BTA后,都会携带ERROR REPORT PACKAGE的情况。3、方法MTK的read buffer一共可以存储16 byte,分为4组;我们在使用D
2013-09-23 11:03:54
1481
原创 LCD ESD software check method
请考虑轮训(间隔1s以上)读取LCD的寄存器,以下寄存器是目前LCD IC使用的通用寄存器。0x0A Read Display Power Mode0x0D Read the Current Display Mode0x0E Get Display Module Signaling Mode 请同时设置TE ON 一般是寄存器0x35
2013-09-23 11:01:33
2001
原创 MTK lcd debug method----update lcd init code online
/********************************** Put these codes on the lcm driver file* And use LCM_DEBUG_MAIN func to activty yours debug function.* Use adb command to push your edit configer file in the s
2012-10-25 11:18:49
1074
threadx user guide
2016-01-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人