alexwang1983
码龄17年
关注
提问 私信
  • 博客:195,372
    195,372
    总访问量
  • 40
    原创
  • 361,672
    排名
  • 10
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:日本
  • 加入CSDN时间: 2007-10-17
博客简介:

alexwang1983的专栏

查看详细资料
个人成就
  • 获得4次点赞
  • 内容获得15次评论
  • 获得15次收藏
创作历程
  • 12篇
    2016年
  • 16篇
    2015年
  • 17篇
    2014年
  • 10篇
    2013年
  • 5篇
    2012年
成就勋章
TA的专栏
  • OpenGL
    2篇
  • Java
    6篇
  • Linux
    30篇
  • WorldWind
    1篇
  • Android
    5篇
  • Mac
    2篇
  • Windows
    1篇
  • nodejs/html5
    11篇
  • C/C++
    5篇
  • arduino/pcduino
    3篇
  • iphone/ipad
    4篇
  • php
    3篇
  • intel edison / intel galileo
    2篇
  • database/storage
    7篇
  • AI
    1篇
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

354人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

使用python读取tensorflow实例中的MNIST模拟数据

1, 从这里下载模拟的数据 http://yann.lecun.com/exdb/mnist/tensorflow实例中的数据也是来自于http://yann.lecun.com/exdb/mnist/所以直接下载如下4个数据就OK。train-images-idx3-ubyte.gz:  training set images (9912422 bytes) tr
原创
发布博客 2016.10.21 ·
1686 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

在postfix使用qq企业邮箱的smtp

在/etc/postfix/main.cf中添加如下信息smtpd_tls_cert_file=/etc/ssl/certs/your.crtsmtpd_tls_key_file=/etc/ssl/private/your.keysmtpd_tls_CAfile=/etc/ssl/certs/your-chaint.crtsmtpd_use_tls=yessmtpd_tls_sess
原创
发布博客 2016.10.17 ·
3777 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

启动docker内部的apache2服务并从外部访问

执行需要执行的docker image$ docker run -i -t -p 8080:80 alex20160831/ubuntu /bin/bash在docker的容器内,启动apache2$ sudo service apache2 startcontainer内部访问web服务$ curl http://localhost执行如下命令从c
原创
发布博客 2016.10.11 ·
5867 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

使用vlc下载u3m8流媒体并存储为文件

http://superuser.com/questions/156474/how-to-record-a-mp3-m3u-stream-using-vlcThese instructions show how to capture/record directly from a MP3/M3U stream of a radio station, using VLC pla
转载
发布博客 2016.10.07 ·
12140 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

利用casperjs和tor来隐藏自己的ip地址

1, 首先在ubuntu上面安装tor详情可以参考 https://www.torproject.org/docs/debian.html.enYou need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:deb http:
原创
发布博客 2016.07.25 ·
6470 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

Node.js: managing child processes

http://krasimirtsonev.com/blog/article/Nodejs-managing-child-processes-starting-stopping-exec-spawnNode.js: managing child processes/ blog / NodejsThese days I spent some time working on
转载
发布博客 2016.07.04 ·
412 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

将spring的x-frame-option设置为无效的方法

原创
发布博客 2016.06.21 ·
3622 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

从git里面提取两个commit之间变更过的文件

git archive --format=zip HEAD `git diff --name-only 8bbf69c253801228ff504ab080ce7cf44a924971 a27d045d8c60d6c62a4061b94763886577e1c0eb` > a.zip
原创
发布博客 2016.03.30 ·
4315 阅读 ·
0 点赞 ·
0 评论 ·
4 收藏

让百度删除不想收录的域名或快照的最快方法

简介:个别网站可能会出现以下类似困扰:①、百度收录了自己不想收录的域名,造成内容重复,比如张戈博客,百度近一半的收录是www的域名,而且收录的内容还是重复的!实际上张戈博客的首选域名是不带www,就算一开始就做了 ...个别网站可能会出现以下类似困扰:①、百度收录了自己不想收录的域名,造成内容重复,比如张戈博客,百度近一半的收录是www的域名
转载
发布博客 2016.03.25 ·
5215 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

解决中文文件名显示乱码的问题

vi /etc/environment 添加如下LANG="en_US.UTF-8"LAGUAGE="en_US:en"LC_ALL="en_US.UTF-8"然后重新login
原创
发布博客 2016.02.08 ·
2353 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

在amazon ec2上部署spark cluster

1,利用spark自带的ec2脚本来生成spark在spark的安装目录下,执行如下命令$ ./ec2/spark-ec2 -k -i -s --vpc-id= --subnet-id= launch , where  is the name of your EC2 key pair (that you gave it when you created it),  i
原创
发布博客 2016.02.07 ·
2124 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

在ubuntu上安装zeppelin

1, 安装javasudo apt-get install default-jre修改java的home路径,这个在安装mysql jdbc的时候也会用到CLASSPATH=$CLASSPATH:/usr/share/java/mysql.jarexport CLASSPATH2, 安装可以参考这篇文章https://zeppelin.incuba
原创
发布博客 2016.02.06 ·
1306 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

使用activeMQ配置MQTT broker集群

主要是利用HAProxy作为负载均衡器,利用activeMQ作为broker的集群。1,准备4台服务器,默认操作系统为Ubuntu14.04,三台服务器安装activeMQ, 另外一台服务器安装HAProxy作为负载均衡。2,安装和配置activeMQ安装jresudo apt-get install default-jreexport JAVA_HOME=/usr/lib/jv
原创
发布博客 2015.09.02 ·
8567 阅读 ·
0 点赞 ·
1 评论 ·
6 收藏

How To Configure BIND as a Private Network DNS Server on Ubuntu 14.04

How To Configure BIND as a Private Network DNS Server on Ubuntu 14.04Tags: DNS, Networking, DigitalOcean Distribution: UbuntuTutorial SeriesThis tutorial is part 6 of 7 in the se
转载
发布博客 2015.08.20 ·
1413 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

7 Strace Examples to Debug the Execution of a Program in Linux

Strace is a debugging tool that will help you troubleshoot issues.Strace monitors the system calls and signals of a specific program. It is helpful when you do not have the source code and would l
转载
发布博客 2015.08.20 ·
440 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

using gdb to debug c program

#include static void display(int i, int *ptr);int main(void) { int x = 5; int *xptr = &x; printf("In main():
"); printf(" x is %d and is stored at %p.
", x, &x); printf(" xptr
原创
发布博客 2015.08.20 ·
609 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

在angularjs客户端压缩图片文件然后上传

主要是利用html5的canvas来进行图片的压缩,然后转化为dataURL,再有dataURL转化为Blob文件,Blob对象可以直接赋值给Formdata.app.service('Util', function($q) { var dataURItoBlob = function(dataURI) { // convert base64/URLEnc
原创
发布博客 2015.07.03 ·
8659 阅读 ·
2 点赞 ·
5 评论 ·
1 收藏

mongodb通过子串查询ObjectId对应的record

select the records from collections post, whose _id contains substring '031'db.post.find({$where: "/031/.test(this._id.str)"})
原创
发布博客 2015.06.30 ·
801 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

使用mongostat监视mongodb

1, 监视一个mongod mongostat 10.80.1.1:270181,监视replica setmongostat --host rs0/10.80.1.1:27018,10.80.1.2:27018,10.80.1.3:27018 --username youruser --password yourpassword --authenticationDatabas
原创
发布博客 2015.06.04 ·
1804 阅读 ·
0 点赞 ·
2 评论 ·
0 收藏

difference of top and left between Javascript and Jquery

1, top and left relative to the documentjquery .offset()Get the current coordinates of the first element, or set the coordinates of every element, in the set of matched elements, relative to
原创
发布博客 2015.06.02 ·
644 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多