Fork me on GitHub

  2014年7月16日
摘要: >>> aarray([[1, 2], [3, 4]])>>> a.shape(2, 2)>>> barray([2, 3])>>> b.shape(2,)>>> carray([[1], [2]])>>> c.shape(2, 1)>>> darray([[1, 2]])>... 阅读全文
posted @ 2014-07-16 11:35 huashiyiqike 阅读(193) 评论(0) 推荐(0) 编辑
  2014年7月11日
摘要: http://www.cnblogs.com/royenhome/archive/2010/10/30/1865256.html 本文作为结束篇,会稍微介绍下怎么反序列化GoogleBuffer数据,并在最后提供本系列文章中所用到的代码整理供下载。 上一篇文章介绍了怎样将数据序列化到了addre... 阅读全文
posted @ 2014-07-11 14:05 huashiyiqike 阅读(2421) 评论(0) 推荐(0) 编辑
  2014年7月9日
摘要: 通过getcwd()可以获取当前工作目录。1 #include 2 3 char *getcwd(char *cwdbuf, size_t size); 阅读全文
posted @ 2014-07-09 17:33 huashiyiqike 阅读(232) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/sealyao/article/details/69402451、C数组的序列化和反序列化API[cpp]view plaincopy//C数组的序列化和序列化APIboolParseFromArray(constvoid*data,intsize);boo... 阅读全文
posted @ 2014-07-09 15:01 huashiyiqike 阅读(4871) 评论(0) 推荐(0) 编辑
摘要: 在Make.config 文件里将DEBUG=1的注释去掉,再make。可以用IDE如eclipse来import makefile工程。必要时按照IDE的提示将源文件cpp和对应的bin文件对应。 阅读全文
posted @ 2014-07-09 09:08 huashiyiqike 阅读(2068) 评论(0) 推荐(0) 编辑
  2014年7月8日
摘要: 1. Open a terminal window.2. Type in the following commands, then hit Enter after each.wget ftp://ftp.mondorescue.org/ubuntu/`lsb_release -r|awk '{pri... 阅读全文
posted @ 2014-07-08 17:32 huashiyiqike 阅读(645) 评论(0) 推荐(0) 编辑
  2014年7月4日
摘要: 上网或下载的时候我们常常希望网速快一点,但有时我们也需要限制网速,在ubuntu系统下,可以使用wondershaper,不仅可以限制下载速度还可以限制上传速度。 安装好之后,需要使用终端取得管理员权限,使用wondershaper [接口] [上传速度 K] [下载速度 ... 阅读全文
posted @ 2014-07-04 14:22 huashiyiqike 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 1。gcc包含的c/c++编译器gcc,cc,c++,g++,gcc和cc是一样的,c++和g++是一样的,(没有看太明白前面这半句是什么意思:))一般c程序就用gcc编译,c++程序就用g++编译2。gcc的基本用法gcc test.c这样将编译出一个名为a.out的程序gcc test.c -o... 阅读全文
posted @ 2014-07-04 09:01 huashiyiqike 阅读(723) 评论(0) 推荐(0) 编辑
  2014年6月28日
摘要: 在了解/etc/ld.so.conf.d/目录下文件的作用之前,先介绍下程序运行是加载动态库的几种方法:第一种,通过ldconfig命令 ldconfig命令的用途, 主要是在默认搜寻目录(/lib和/usr/lib)以及动态库配置文件/etc/ld.so.conf内所列的目录下, 搜索出可共享的动... 阅读全文
posted @ 2014-06-28 14:36 huashiyiqike 阅读(911) 评论(0) 推荐(0) 编辑
  2014年6月16日
摘要: \setbeamercolor{postit}{fg=black,bg=white}\begin{beamercolorbox}[rounded=true,shadow=true, sep=0em,wd=\textwidth,%ht=2cm,dp=1cm,ce nter]{postit}\begin... 阅读全文
posted @ 2014-06-16 08:55 huashiyiqike 阅读(666) 评论(0) 推荐(0) 编辑
  2014年6月9日
该文被密码保护。 阅读全文
posted @ 2014-06-09 16:41 huashiyiqike 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 目录(?)[+]1.搜狗实验室数据集:http://www.sogou.com/labs/dl/p.html互联网图片库来自sogou图片搜索所索引的部分数据。其中收集了包括人物、动物、建筑、机械、风景、运动等类别,总数高达2,836,535张图片。对于每张图片,数据集中给出了图片的原图、缩略图、所... 阅读全文
posted @ 2014-06-09 15:52 huashiyiqike 阅读(12673) 评论(0) 推荐(4) 编辑
  2014年6月8日
摘要: http://jeffhuang.com/best_paper_awards.html#icml 阅读全文
posted @ 2014-06-08 16:26 huashiyiqike 阅读(177) 评论(0) 推荐(0) 编辑
  2014年6月5日
摘要: \iffalse\begin{figure}\begin{floatrow}[3]\ffigbox{ \caption{Vectorisation comparison for batch learning (batch size 100, samples of 10 time steps)} \l... 阅读全文
posted @ 2014-06-05 19:57 huashiyiqike 阅读(388) 评论(0) 推荐(0) 编辑
  2014年5月31日
摘要: http://blog.sina.com.cn/s/blog_708637950100uag0.htmlfigure_FontSize=18;set(get(gca,'XLabel'),'FontSize',figure_FontSize,'Vertical','top');set(get(gca,... 阅读全文
posted @ 2014-05-31 22:29 huashiyiqike 阅读(415) 评论(0) 推荐(0) 编辑
  2014年5月29日
摘要: 在新的shell里执行程序cd /home/lq/Server/anew-lstm_scriptmatlab -nodesktop -singleCompThred -r 'aStart' ,quit & SLAVE_PID=$!;#echo "sh ./slaveRun.sh localhost ... 阅读全文
posted @ 2014-05-29 21:33 huashiyiqike 阅读(375) 评论(0) 推荐(0) 编辑
摘要: FQ#!/usr/bin/env shxfce4-terminal -x sudo python ./local/proxy.py连续执行gnome-terminal -x bash -c "calc; exec bash"echo "start"ip=219.223.172.146export ... 阅读全文
posted @ 2014-05-29 21:15 huashiyiqike 阅读(1501) 评论(0) 推荐(0) 编辑
摘要: bashdb test.shstepedit visual 跳到那一行R restarthttp://www.ibm.com/developerworks/cn/linux/l-cn-shell-debug/Shell脚本调试技术本文全面系统地介绍了shell脚本调试技术,包括使用echo, tee... 阅读全文
posted @ 2014-05-29 20:36 huashiyiqike 阅读(338) 评论(0) 推荐(0) 编辑
  2014年5月27日
摘要: \setlength{\abovedisplayshortskip}{0cm} 公式和文本之间的间距\setlength{\belowdisplayshortskip}{0cm}\setlength{\abovedisplayskip}{0cm}\setlength{\belowdisplaysk... 阅读全文
posted @ 2014-05-27 19:01 huashiyiqike 阅读(2620) 评论(0) 推荐(0) 编辑
  2014年5月26日
摘要: git branch look at your branchesgit branch newbranchgit checkout newbrachdo somethinggit checkout mastergit merge newbranchgit branch -d newbrachgit ... 阅读全文
posted @ 2014-05-26 15:24 huashiyiqike 阅读(871) 评论(0) 推荐(0) 编辑
摘要: Use bigger datasets for CNN in hope of better performance. A new data set for sports video classification: sports-1M.CNN in one frame is about the sam... 阅读全文
posted @ 2014-05-26 08:34 huashiyiqike 阅读(1313) 评论(0) 推荐(0) 编辑
  2014年5月25日
摘要: and 命令if [ A -a B ]thenelsefiwhile [ ]dodoneset commandset these are parameters$1setstringsstr="A is a"echo "$str"a=30 b=15echo `expr $a + $b`echo `... 阅读全文
posted @ 2014-05-25 15:57 huashiyiqike 阅读(280) 评论(0) 推荐(0) 编辑
  2014年5月21日
摘要: wget https://launchpad.net/~phantomas/+archive/ppa/+files/cpu-g_0.9.0_amd64.deb sudo dpkg -i cpu-g*.debhttp://www.linux.com/learn/tutorials/620416:dis... 阅读全文
posted @ 2014-05-21 22:01 huashiyiqike 阅读(1135) 评论(0) 推荐(0) 编辑
  2014年5月19日
摘要: LaTeX commandEquivalent toOutput styleRemarks\textnormal{...}{\normalfont...}document font familyThis is the default or normal font.\emph{...}{\em...}... 阅读全文
posted @ 2014-05-19 15:22 huashiyiqike 阅读(261) 评论(0) 推荐(0) 编辑
  2014年5月11日
摘要: http://askubuntu.com/questions/417212/inkscape-with-textexthttp://www.timteatro.net/2010/08/05/textext-for-math-in-inkscape/http://pav.iki.fi/software... 阅读全文
posted @ 2014-05-11 23:20 huashiyiqike 阅读(481) 评论(0) 推荐(0) 编辑
  2014年5月7日
摘要: https://groups.google.com/forum/#!msg/pylearn-users/FYtpaQKoC4c/ubitO_JUC1kJ网上论坛发布回复我的论坛首页加星标的主题收藏夹theano-users最近看过的论坛pylearn-userstheano-devtheano-us... 阅读全文
posted @ 2014-05-07 22:54 huashiyiqike 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-05-07 16:32 huashiyiqike 阅读(225) 评论(0) 推荐(0) 编辑
  2014年5月5日
摘要: Matlab的调试总体分为,直接调试和间接调试。1.直接调试:(1)去掉句末的分号;(2)单独调试一个函数:将第一行的函数声明注释掉,并定义输入量,以脚本方式执行M文件;(3)适当地方添加输出变量值的语句;(4)添加keyboard命令;2.工具调试:1.)以命令行为主的调试:(1)设置断点:dbs... 阅读全文
posted @ 2014-05-05 14:33 huashiyiqike 阅读(1172) 评论(0) 推荐(0) 编辑
  2014年5月2日
摘要: 分类:9、Linux技巧2009-09-29 13:401429人阅读评论(0)收藏举报ubuntujdbc1、查找find /home/guo/bin -name /*.txt | xargs grep 'jdbc'查找 /home/guo/bin 目录下所有后缀为.txt 的文件(PS:/* 转... 阅读全文
posted @ 2014-05-02 23:26 huashiyiqike 阅读(1772) 评论(0) 推荐(0) 编辑
摘要: %Copyright (c) 2012, Michael Hirsch%All rights reserved.%%Redistribution and use in source and binary forms, with or without modification, are permitt... 阅读全文
posted @ 2014-05-02 16:35 huashiyiqike 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: global变量是全局的,在使用global变量的函数里需要用global声明所使用的变量。persistent类似global,不过仅对当前函数有作用,这样避免了外面的影响。当这个函数被clear出内存时,persistent变量也被clear。为了防止这个现象,需要使用mlock把函数或mex文... 阅读全文
posted @ 2014-05-02 15:13 huashiyiqike 阅读(1731) 评论(0) 推荐(0) 编辑
  2014年5月1日
摘要: >> Z = server.rpc('zeros', 2, 3);>> Z = [2x3 double] [2x3 double]>> Z{1}ans = 0 0 0 0 0 0>> Z = server.rpc('zeros', {2,3}, ... 阅读全文
posted @ 2014-05-01 16:27 huashiyiqike 阅读(476) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash my_fun() { echo "$#" } echo 'the number of parameter in "$@" is '$(my_fun "$@") echo 'the number of parameter in "$*" is '$(my_fun "$*... 阅读全文
posted @ 2014-05-01 16:13 huashiyiqike 阅读(264) 评论(0) 推荐(0) 编辑
  2014年4月28日
摘要: nvidia-sminvidia-settingsnvidia-xconfig 阅读全文
posted @ 2014-04-28 21:17 huashiyiqike 阅读(4595) 评论(0) 推荐(0) 编辑
  2014年4月25日
摘要: This document contains information about the process of submitting a paper to NIPS 2014. You can also find the Call for Papers, evaluation criteria fo... 阅读全文
posted @ 2014-04-25 17:24 huashiyiqike 阅读(624) 评论(0) 推荐(0) 编辑
摘要: By the NIPS 2006 Program CommitteeWith input from Andrew Ng, Peter Dayan, Daphne Koller, Sebastian Thrun, Bruno Olshausen, Yair Weiss, and Bernhard Sc... 阅读全文
posted @ 2014-04-25 17:22 huashiyiqike 阅读(330) 评论(0) 推荐(0) 编辑
  2014年4月17日
摘要: if(freopen("e:\\lstm-comparec\\lstm\\lstm\\output.txt","a",stdout)==NULL)fprintf(stderr,"errorredirectingstdout\n");fclose(stdout);重新打开:windows:freope... 阅读全文
posted @ 2014-04-17 09:50 huashiyiqike 阅读(391) 评论(0) 推荐(0) 编辑
  2014年4月3日
摘要: ssh免输入密码登录ubuntu下生成ssh密钥参见。https://confluence.atlassian.com/display/BITBUCKET/Use+the+SSH+protocol+with+Bitbucket;jsessionid=7650862BE2719BA16E0B4CDD74C1BA83场景:服务器A 采用ssh 登录服务器B,没有任何特殊设置情况下,采用ssh host.b 会出现提示Password: 让输入密码。如何可以不手工输入密码?解决方案: 生成ssh公钥和私钥这里-t dsa表示采用dsa加密方式,回车后会让你输入私钥,最后在.ssh目录下生成两个文件i 阅读全文
posted @ 2014-04-03 20:34 huashiyiqike 阅读(356) 评论(0) 推荐(0) 编辑
  2014年4月2日
摘要: 在Ubuntu 12.04 上为Virtualbox 启用USB 设备支持http://www.cnblogs.com/ericsun/archive/2013/06/10/3130679.html虚拟机我一直在用,不是说离不开Windows,而是有些时候一些应用在Windows 下体验确实要好一点,比如 Tencent QQ.最近我找到了我失踪久矣的10moons 左轮摄像头,那还是我在北京念书的时候,在中关村买的。当时花了我100块RMB。找到后甚是感触,于是便打算给我的虚拟机里面的QQ用起来。众所周知,VirtualBox 使用宿主机的USB设备需要安装扩展包。根据自己的vbox的版本, 阅读全文
posted @ 2014-04-02 10:03 huashiyiqike 阅读(199) 评论(0) 推荐(0) 编辑
  2014年3月25日
摘要: http://forums.gentoo.org/viewtopic-t-908100-start-0.htmli have been using VirtualBox for W7 on my Gentoo machine, without any problems for quite some time.I have given my virtual disk /mnt/w7/Windows_7.vdi a separate partition /dev/hda1 of size 26 GB. Now the size of the virtual disk has grown and I 阅读全文
posted @ 2014-03-25 21:36 huashiyiqike 阅读(2130) 评论(0) 推荐(0) 编辑