自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 自动下载多个html里的文本

工作经常要和国外同事交流, 但是英语口语比较一般, 所以有时候会找些听力口语等资料学习. 在某听力app上看到一份资料还可以, 叫 老外最想聊的100个口语话题, 就想找个电子版放到手机阅读软件里, 可以更方便查看. 网上找了半天, 没有找到可以下载的电子版. 但是找到了一个网页, 里面放了100个链接, 每个链接里有对应每个章节的对话. 于是我就想用脚本, 把这些链接里文章保存到一个文档里, 这样电子书不就有了~感觉我好聪明~ 网上随便搜了搜, 稍微改了改, 半个小时之内就搞好了~1. 得到页面上的所

2021-02-13 13:53:57 252

原创 牛顿法

f(x)=f(x0)+f′(x0)(x−x0)+12f″(x0)(x−x0)2+o((x−x0)2)f(x)=f(x0)+f′(x0)(x−x0)+12f″(x0)(x−x0)2+o((x−x0)2)f(x)=f(x_0)+f'(x_0)(x-x_0)+\frac{1}{2}f''(x_0)(x-x_0)^2+o((x-x_0)^2) 当f′(x)=0f′(x)=0f'(x)=0时(fff对x...

2019-01-20 16:32:46 225

原创 [a, b]均匀分布方差

均值为 a+b2\frac{a + b}{2}2a+b​, 总数n为(b−a)(b-a)(b−a)方差= (x−均值)2n\frac{(x-均值)^2}{n}n(x−均值)2​所以[a, b]均匀分布的方差为:∫ab(x−a+b2)2dx(b−a)\frac{\int_a^b (x - \frac{a + b}{2})^2 dx }{(b - a)} (b−a)∫ab​(x−2a+b​...

2018-11-30 16:32:49 32503 3

原创 Random Walk 笔记

1. IntroductionThe random walker algorithm requires the solution of a sparce, symmetric positive-definite system of linear equation. 随机游走算法需要求解一个稀疏对称正定的线性方程组 Each edge is assigned a real-valued we...

2018-08-27 19:05:45 5430 2

原创 英语单词整理

置顶是为了方便更新 English 音标 中文 tank [tæŋk] 坦克 油[水]箱 贮水池 酒量大的 breach [britʃ] 违背 破坏 缺口 破裂 攻破 破坏 违反 casino [kəˈsi:nəʊ] 赌场 俱乐部 娱乐场 小别墅 fridge [frɪdʒ...

2018-05-09 15:39:49 3367

原创 角点检测 拉格朗日 散度

Harris 角点检测dip课程笔记 Eu,vM=∑x,ywx,y[I(x+u,y+v)−I(x,y)]2=∑x,ywx,y[uIx+vIy+O(u2+v2)]2≈∑x,yI2xu2+2IxIyuv+I2yv2=[uv]M[uv]=∑x,ywx,y[I2xIxIyIxIyI2y]=[ACCB](1)(2)(3)(4)(5)(1)Eu,v=∑x,ywx,y[I(x+u,y+v)−I(x,y)]...

2018-05-09 14:46:11 313

原创 Teamviewer 远程ssh命令行更改密码启动

# 竟然是明文设密码...sudo teamviewer passwd YourNewPasswd# 这里可以看idteamviewer info# export DISPLAY=:0 # 重启sudo teamviewer --daemon stopsudo teamviewer --daemon start#orsudo teamviewer --daemon restart

2017-12-17 09:11:33 5490

转载 mac制作ubuntu 16.04 启动盘

先贴一下参考文章. 有空补我自己的. https://business.tutsplus.com/tutorials/how-to-create-a-bootable-ubuntu-usb-drive-for-mac-in-os-x–cms-21253

2017-12-09 13:04:38 4889

原创 linux zip tar 压缩与解压缩

zip#压缩文件夹 加-rzip -r my_arch.zip out_folder#解压缩unzip {file.zip}unzip -d /dest/directory/ {file.zip}Referencetar#.tartar -cvf file.tar inputfile1 inputfile2tar -xvf file.tar#.tar.gztar -cvzf fil

2017-11-26 19:10:02 185

原创 c++ 笔记

fileIO#define countof(ARRAY) (sizeof (ARRAY) / sizeof *(ARRAY))string fname="test.bin";float data[7]={5.1,3,2,9383,5.1,12,5.1};float data2[7];FILE *file2 = fopen(fname.data(), "wb");assert(file2);s

2017-11-16 11:07:20 189

转载 Camera矩阵

先写下比较好的博客链接. 后面补自己的笔记Dissecting the Camera Matrix, Part 1: Extrinsic/Intrinsic DecompositionDissecting the Camera Matrix, Part 2: The Extrinsic MatrixDissecting the Camera Matrix, Part 3: The Intrinsic

2017-11-08 21:35:33 311

原创 matlab笔记

matlab 笔记

2017-10-27 15:49:06 1905

原创 ubuntu 开机卡在hp logo上_grub 坏掉

电脑开不了机 卡在hp logo界面上 可以进bios grub坏掉

2017-09-27 15:42:20 1086

原创 Blender_linux

从命令行运行blender python 脚本 不需要图形界面:blender --background --python test.py并行#!/bin/sh#--后面是自己定义的参数for j in {0..10}; do blender --background --python test.py -- $j &donewaitReference#python程序里接收上面

2017-09-22 22:14:48 532

原创 去csdn广告_js_Chrome

注: 该文章只支持旧版去广告.1 如果需要删除csdn以外网页的广告: 从Chrome的Inspect里找到要删除的元素的id或者class (点左上角有个小箭头的按钮, 再点广告区域, 就可以找到对应的html代码段) 2 以下是通过id或class删除元素代码. 对于非csdn网页,把里面的名称替换成你页面的.//--- 右下角 ---var test_a1 = docu...

2017-09-18 19:54:05 428

原创 py-faster-rcnn_cuda8.0_cudnn5.0_报错

py-faster-rcnn_cuda8.0_cudnn5.0_报错 py-faster-rcnn用的caffe版本太旧,用新版本cuda和cudnn需要更新caffe版本From StacoverflowMaybe you can try to merge caffe master branch into caffe-fast-rcnn.cd caffe-fast-rcnn git remo

2017-07-06 15:03:29 198

原创 ubuntu chroot

ubuntu chroot

2017-04-27 15:37:50 1376

原创 python 笔记

python

2017-04-05 16:07:43 1914

原创 git 命令笔记

1 切到某taggit checkout tags/2.4.102 切到某个版本 git reset --hard HASH-CODE3 .gitignore ignore某规则, 就在每行规则前面加! An optional prefix ! which negates the pattern; any matching file excluded by a ...

2017-03-31 15:20:44 188

原创 apt-get 命令笔记

1 显示所有已安装的包apt list --installeddpkg --get-selections | grep -v deinstallreference2 显示安装包的位置 sudo dpkg -L packagenamereference3 显示apt-get可以安装的package bash apt search package-name Referenceto be c

2017-03-31 15:16:21 349

原创 linux ls find rename grep 等命令笔记

ls -l, ll#按照修改时间顺序显示ll -lt#对结果统计个数ll | wc -lfind# 在当前目录找所有后缀是 .match 的文件find . -name "*.match" # 在 ~/Downloads 目录下, 删除 .match 后缀的文件find ~/Downloads -name "*.match" -del

2017-03-05 16:38:00 1345

原创 Linux 释放没用的内存

Free up unused memory:[1][2]sudo sysctl -w vm.drop_caches=3#This command will clear pagecache:/sbin/sysctl vm.drop_caches=1#To clear dentries and inodes you can use:/sbin/sysctl vm.drop_caches=2#To

2017-03-04 20:31:30 1364

原创 ubuntu OpenMP parallel for

ubuntu OpenMP parallel forOpenMP并行计算for循环test.cpp#include <iostream>#include <stdio.h>#include <vector>using namespace std;int main(){ vector<int> a={1,2,3,4,5,6,7,8}; vector<int> b={1,2,1,2

2017-02-27 16:11:15 3064

原创 C++, Python, Matlab, Bash 文件目录遍历

C++,Python, Matlab, Bash 文件目录遍历最近跑数据集,用到不同语言的代码,都需要遍历文件目录,可能比较常用,在这里总结一下。#include #include #include #include #include #include #include #include #include using namespace std;inline vo

2016-11-25 15:12:58 515 1

原创 Stable marriage problem笔记

stable marriage problem

2016-02-16 14:59:52 589

原创 CMake编译运行OpenCV程序_debug总结

cmake编译运行OpenCV程序任务:测试作者源代码,cmake编译运行OpenCV1. 理想状态为成功编译运行不报错作者已经写好了CMakeList.txt,并有安装使用的说明文档OpenCV用cmake编译的官方文档: Using OpenCV with gcc and CMakeCMakeLists.txt里关于OpenCV的代码:# find OpenCVFIND_PACKAGE(Op

2015-11-11 16:39:54 3064

原创 Canon LBP 2900 Mac 10.11 驱动安装

Canon LBP 2900 Mac 10.11 驱动安装

2015-10-05 00:53:51 30250 3

原创 OpenCV 安装教程 Mac + Xcode

参考教程下载OpenCV安装OpenCVXCode环境配置Hello WorldLanguage C命令行编译运行OpenCV参考教程OpenCV on Mac OSX: A step-by-step guide HOWTO: Setup XCode 6.1 to work with OpenCV3 libraries由于本人参考的教程为旧版本, 如有测试问题, 欢迎留言1.下载Ope

2015-04-17 08:31:44 5235

老外最想聊的100个英语口语话题.txt

老外最想聊的100个英语口语话题.txt

2021-02-13

Charles3.9.3破解的jar文件

替换以下路径的文件 Finder>应用程序>右键选择显示包内容>Contents/Resources/Java/charles.jar

2017-10-08

计算机网络英文版

Computer Networking Principles Bonaventure.pdf

2014-09-21

空空如也

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

TA关注的人

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