自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(98)
  • 资源 (3)
  • 收藏
  • 关注

原创 一些工具和常用配置

To do a great and important work, two things are necessary: a definite plan, and not quite enough time. Now is no time to think of what you do not have.Think of what you can do with what there...

2021-01-14 11:06:21 9770 1

原创 源码编译tensorflow,caffe等

从源码编译tensorflow参考: https://www.tensorflow.org/install/sourcebuild tensorflow tag v1.15.4, inside ubuntu18.04 docker container。环境:docker container: ubuntu 18.04.5Miniconda# build tensorflow tag v1.15.4, inside ubuntu18.04 docker container:create c

2020-12-30 17:28:11 243

原创 Linux使用nvidia cuda进行深度学习

Ubuntu上使用nvidia cuda进行深度学习训练推理使用conda+pip环境系统: ubuntu 18.04.5 LTS安装nvidia gpu driver:打开Ubuntu系统的 Software&Updates – Additional Drivers,搜索安装nvidia的proprietary驱动。安装Miniconda(或Anaconda),使用conda命令create并activate工作区,在工作区里安装cuda toolkit 和 cudnn:# 需要注意

2020-11-18 15:10:44 1001

原创 Tensorflow与CUDA、cuDNN等的版本依赖关系

Tensorflow与CUDA、cuDNN等的版本依赖关系https://www.tensorflow.org/install/source#tested_build_configurationshttps://www.tensorflow.org/install/gpu#software_requirements

2020-11-18 14:40:23 291

原创 windows10 + wsl2,使用NVIDIA gpu

windows 10 + wsl2 利用NVIDIA gpu安装wsl2参考 https://www.youtube.com/watch?v=_fntjriRe48在Windows开始里分别输入如下命令:winver,检查Windows 10版本windows feature,打开启用或关闭Windows功能,勾选上“虚拟机平台”和“适用于Linux的Windows子系统”然后参照 https://docs.microsoft.com/en-us/windows/wsl/install-

2020-10-27 20:09:01 6231 5

翻译 android手机开发调式

文章目录overview方法一,不需要root权限方法二,需要root权限overview参考:https://blog.csdn.net/lnking1992/article/details/53465183感谢原文作者。要想使用无线调试有两个必须条件:手机和我们的电脑要处于同一个局域网,就是两个设备之间的ip地址能够ping通。可用adb。在sdk下的 platform-too.........

2019-05-20 11:38:54 1079 1

原创 Linux作为server共享

Linux作为server共享到Linux/Windowsupdate: 2017.10环境:Ubuntu 14.04LTS / 16.04LTS, 作为server时假设IP为192.168.1.123Windows 7 / Windows 10参考: https://help.ubuntu.com/lts/serverguide/index.htmlsshht

2017-01-14 16:35:35 1055

原创 C声明中的指针

C声明中的指针参考http://www.cdecl.org/ http://unixwiz.net/techtips/reading-cdecl.html指针int i; declare i as intconst int i; declare i as const int----------int * p; declare p as pointer to

2016-06-20 01:29:57 617

原创 L-value和R-value

L-value和R-valueL-value: Location 位置(代表一个object)R-value: Readout 读出物说明:C和Cpp的左值和右值是有点不一样的。参考:http://www.cnblogs.com/dejavu/archive/2012/09/02/2667640.html https://msdn.microsoft.com/en-us/library/bk

2016-06-19 00:49:33 1802

翻译 正则表达式

正则表达式Regular Expressions参考:https://en.wikipedia.org/wiki/Regular_expression POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html PCRE: http://www.pcre.org/ https://e...

2016-05-31 01:13:27 543

翻译 升级Upgrade与更新Update的区别

升级Upgrade 与 更新Update的区别参考:https://support.apple.com/en-us/HT201564 https://support.apple.com/zh-cn/HT201564 http://www.cnblogs.com/ini_always/archive/2011/08/29/2158895.html升级Upgrade比较重要的升级、版本提升等。跟上一

2016-03-29 11:26:49 3680

原创 预处理#define中的符号和字符串问题

预处理#define中的符号和字符串问题# 字符串化,即把传进宏的参数转变成相应string## 标识符胶水,即把两个token黏合为一个token/* * 1.字符串化, Creating Strings from Macro Arguments: The # Operator * Within the replacement part of a function-like macr

2016-03-24 00:18:07 3702

原创 iram

iramiram参考: https://en.wikipedia.org/wiki/Internal_RAM http://www.wisegeek.com/what-is-internal-ram.htminternal-ram(片内ram),集成在片(CPU)内,是相对于external ram(the typical memory installed on the motherboard)

2016-03-02 23:56:09 2298

原创 TCP/IP 协议栈和主要层

TCP/IP 协议栈和主要层TCP/IP协议栈,指的是整个四(五)层协议组(protocol suite)。TCP/IP RFCsA TCP/IP Tutorial: https://tools.ietf.org/html/rfc1180 https://technet.microsoft.com/en-us/library/cc737968(v=ws.10).aspx一般参考资料http://w

2016-02-19 16:16:51 3592

原创 MSB&LSB与Endianness

MSB&LSB与Endianness参考资料http://www.merriam-webster.com/dictionary/positional%20notationhttp://www.buczynski.com/Proteus/msblsb.html https://en.wikipedia.org/wiki/Most_significant_bit https://en.wikiped

2016-01-29 03:56:32 2762

原创 运算符的优先级&同优先级内的结合性&序列点

运算符的优先级&同优先级内的结合性&序列点本文以C语言为基础来进行探讨。参考资料:运算符的结合性: https://en.wikipedia.org/wiki/Operator_associativity c的优先级与结合性: https://msdn.microsoft.com/en-us/library/2bxt6kc4.aspx https://msdn.microsoft.com/e

2016-01-20 19:53:57 1101

翻译 在Linux上配置jdk的JAVA_HOME/PATH/CLASSPATH

在Linux上配置jdk的JAVA_HOME/PATH/CLASSPATH参考资料:http://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/ https://docs.oracle.com/javase/tutorial/essential/environment/paths.htmlubuntu上配置jdk例如,对

2016-01-05 11:56:30 732

翻译 C源码到可执行文件的preprocess/compile/assemble/link四阶段

C源码到可执行文件的preprocess/compile/assemble/link四阶段参考资料http://www.thegeekstuff.com/2011/10/c-program-to-an-executable/ http://courses.cms.caltech.edu/cs11/material/c/mike/misc/compiling_c.html 预处理器: https:

2016-01-04 05:42:42 3082

翻译 C/Cpp指针

C/Cpp指针动画演示参见: http://cslibrary.stanford.edu/ https://en.wikibooks.org/wiki/C_Programming/Pointers_and_arrays http://publications.gbdirect.co.uk/c_book/chapter5/pointers.html http://publications.gb

2015-12-28 16:21:55 1387

翻译 C/Cpp的 typedef

C/Cpp的 typedef参考: https://en.wikipedia.org/wiki/Typedef http://publications.gbdirect.co.uk/c_book/chapter8/typedef.htmlIndicating what a variable represents 指示一个新名字来代表typedef int km_per_hour;typedef

2015-12-28 14:54:20 718

翻译 make与Makefile提要

make和Makefile提要make 命令目标与需求条件target:prereq1 prereq2 #说明:target常见是executable or object files.<tab>commands....PHONY: cleanclean:-rm *.o包含include与库lib 选项 语法 说明 -I -Idir - -i - -

2015-12-27 04:38:13 696

原创 Sublime Text3插件Clang-Complete的安装

Sublime Text3插件Clang-Complete的安装注意:不再建议使用此插件,可使用Clang​Auto​CompleteClang-Complete的安装与使用环境ubuntu14.04LTS + Sublime Text3 Clang-Complete插件地址:https://github.com/lvzixun/Clang-Complete安装按照作者说明,可以使用git安装。

2015-12-24 15:12:51 4755 1

翻译 VMware卸载安装问题(The MSI Failed)

VMware安装问题(The MSI Failed)参考:https://coderwall.com/p/zbbtga/fixed-vmware-installation-problem-the-msi-failed问题VMware卸载不干净,安装/卸载提示The MSI Failed,导致新的VMware无法安装。解决Step 1停用VMware相关进程。然后去%TEMP%目录(”win+R”输入

2015-12-22 09:38:01 10560

转载 存储NVRAM/FLASH/NVM的概念区别

存储NVRAM/FLASH/NVM的概念区别NVRAM\FLASH\NVM的区别NVRAM(Non-Volatile Random Access Memory):非易失性随机访问存储器。电子设备能快速地访问该存储空间的内容(大多数情况下此类设备都是以字节方式地访问这些内容,并且掉电后也能保存它们)。有多种技术能实现这一策略,其中EEPROM是比较常见的。但是需注意的是:在手机设计中,通常用ROM的一

2015-12-18 16:24:49 21014 2

翻译 Python3基础-语言内置

Python3基础-语言内置节选自Python文档的Library Reference部分,位置: Python » 3.4.3 Documentation » The Python Standard Library »Built-in Functions 内置函数部分例如: 函数 例子 bin() bin(5) => ‘0b101’ chr() chr(27721) =

2015-12-17 16:09:48 659

翻译 嵌入式的一些基础-串行通讯

一些基础概念奇偶校验位奇偶校验位奇偶校验位是一个表示给定位数的二进制数中1的个数是奇数还是偶数的二进制数。奇偶校验位是最简单的错误检测码。奇偶校验位有两种类型:偶校验位与奇校验位。如果一组给定数据位中1的个数是奇数,那么偶校验位就置为1,从而使得总的1的个数是偶数。如果给定一组数据位中1的个数是偶数,那么奇校验位就置为1,使得总的1的个数是奇数。 7位数据(1的个数) 偶校验 奇校验

2015-12-16 18:36:34 542

翻译 Android模拟器-HAX kernel module is not installed问题

Android模拟器-HAX kernel module is not installed问题开发Android,当使用Atom X86模拟器时,启动模拟器遇到以下问题: Starting emulator for AVD ‘xxx’ emulator: ERROR: x86 emulation currently requires hardware acceleration! Pl

2015-12-08 16:42:46 2164

原创 Java类的实例化的初始化过程

Java类的实例化的初始化过程/* * Java类实例化的初始化过程. * 执行顺序: * (静态变量->静态初始化块)->main->(实例变量->实例初始化块)->构造器 */public class NewInstanceTest1{ public static void main(String[] args) { System.out.pri

2015-12-07 18:03:56 2193

原创 [C/Cpp/Java]编程语言的一些通用概念

语言的一些通用概念C/Cpp/Java中的函数签名(method signature)C/Cpp/Java中的函数签名(method signature),包括method name and the parameter list, 即函数名和参数列表(参数个数、类型、顺序)。 注意不包括返回类型。Return types and thrown exceptions are not consider

2015-12-01 02:46:41 827

原创 Python常见问题和技巧

Python常见问题和技巧参数的class和class_使用在某些函数的参数中,可能需要用到有名参数class,因为class又是语言本身的关键字,所以使用class_。 例如:from bs4 import BeautifulSoup...>>> for t in soup.find_all(class="sister"): print(t)SyntaxError: invalid s

2015-11-30 17:34:28 531 1

原创 Java - Encapsulation封装(面向对象1-封装)

Java - Encapsulation封装(面向对象1-封装)本文参考这里面向对象(OO)的三个基本特征:encapsulation 封装inheritance 继承polymorphism 多态另外还有:abstraction 抽象基于对象 vs 面向对象“基于对象”和“面向对象”都实现了“封装”的概念,但是“面向对象”实现了“继承和多态”,而“基于对象”没有。封装 类Class

2015-10-10 11:59:19 1267

原创 C的数组

C的数组/* 数组指定元素初始化(C99) */#include <stdio.h>int main(){ int days[10] = {1, 2, 3, [5] = 5, 6, 7, [1] = 8}; //对同一元素多次初始化,以最后一次有效 int i = 0, n = sizeof(days) / sizeof(days[0]); for (i = 0; i <

2015-09-06 18:05:49 409

原创 Windows平台Python的一些外部模块的安装

Windows平台Python的一些外部模块的安装:准备pip命令: python官网下载解压,安装:python setup.py install (一般在使用python**.msi安装包安装时已经勾选pip了,此步省略) D:\Python34\Scripts\ 加入PATH路径使CMD命令行可用pip命令(一般在配置Python的PATH时,一起配置之)pip的升级与安装问题

2015-07-31 21:34:53 4539

原创 Python文件操作之open()的mode

open的modemode can be:'r' when the file will only be read, 只读,'w' for only writing (an existing file with the same name will be erased), 只写,and 'a' opens the file for appending; any data written to t

2015-07-22 17:13:56 19881

原创 Python的文件

Python的文件文件对象一些跨平台的os模块的属性: os模块属性 说明 os.curdir ‘.‘(Windows and POSIX) os.pardir ‘..‘(Windows and POSIX),父目录 os.devnull ‘/dev/null‘(POSIX)、’nul‘(Windows),null device的路径 os.sep ‘/‘(PO

2015-07-21 17:15:36 468

原创 Python映射类型、集合类型

Python映射类型、集合类型映射类型:字典# coding=utf-8__author__ = 'zyt'd = {'a': 1, 'b': 2, 'c': 3, 'd': 4}print d.keys()运行结果:['a', 'c', 'b', 'd']集合类型:set可变集合set不可变集合frozenset# coding=utf-8__author__ = 'zyt's1

2015-07-15 17:03:14 3532

原创 Python序列:字符串、元组、列表

序列:字符串、元组、列表序列Sequence有一些Python的类型,它的成员是有序排列的,且可以通过下标偏移量访问它的一个或几个成员,这类Python类型统称为序列。 序列操作符 说明 seq[start:stop:step] 切片 seq[index] 获得某一元素 seq[index1:index2] 起止的切片 seq1 + seq2 连接操作 se

2015-07-15 15:15:08 1272

原创 Python基础之变量类型

Python 基础之变量类型基本数据类型Python有五个标准的数据类型: Numbers(数字) String(字符串) List(列表) Tuple(元组) Dictionary(字典) ## 数字Python支持四种不同的数值类型: int(有符号整型) long(长整型[也可以代表八进制和十六进制]) float(浮点型)

2015-07-14 19:17:27 1794

原创 Python的类

Python的类# coding=utf-8__author__ = 'zyt'class Fruit(): name = None age = 0 def __init__(self): # 自动被调用 self.name = 'apple' self.age = 1 print '类名是', self.__class__

2015-07-13 20:01:19 517

原创 Python三种结构

Python的三种结构顺序、分支、循环Created with Raphaël 2.1.0测试结果?True处理接下来False:else处理yesno# coding=utf-8__author__ = 'zyt'# if-elif-elsex = 0if x < 0: print 'x less than 0'elif x == 0: print 'x equals to

2015-07-13 12:06:18 3121

Source Insight 3.50.0076最新版

Source Insight 3.50.0076最新版

2015-09-28

MarkdownPad2 注册机+破解补丁.rar

MarkdownPad2是 的一个全功能Markdown编辑器. 注册机破解文件,可以用!

2015-06-25

开源cscope+windowns版,最新可用来生成cscope.out文件

大名鼎鼎的cscope,可以认为是ctags增强版。用于生成源代码的tags,阅读代码必备工具。查找变量、函数等的定义,函数调用和被调用关系等等。支持C/C++/JAVA等。 cscope本来是linux平台上的工具,现在做成Windows版,什么都不用安装,直接用Windows命令行就可以,命令行格式和参数与linux平台一模一样。 好用,阅读源代码,码农必备工具!!!

2014-05-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除