<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[韦驮花开]]></title><description><![CDATA[一骑红尘妃子笑]]></description><link>https://blog.youkuaiyun.com/MichaelPixer</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; MichaelPixer]]></copyright><item><title><![CDATA[postgres 使用]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/106251363</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/106251363</guid><author>MichaelPixer</author><pubDate>Thu, 21 May 2020 10:44:33 +0800</pubDate><description><![CDATA[目录1. 清空表2. 基本功能3. 按日期范围查询4.取最后一条：5. shell/命令行连接方式：6. 索引a. 创建btree索引：b. 创建brin块索引c. 查看表索引：d. 列出数据库中所有索引：e. 删除索引：
1. 清空表
清空表：
TRUNCATE TABLE  table_name;

清空表并还原自增id:
TRUNCATE TABLE raw_lte_cell RESTART IDENTITY;

2. 基本功能
postgresql基本功能：创建表、新增列、修改列字段名称、某列值自增]]></description><category></category></item><item><title><![CDATA[Vue methods中一个方法调用另一个方法]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/106251161</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/106251161</guid><author>MichaelPixer</author><pubDate>Thu, 21 May 2020 10:29:02 +0800</pubDate><description><![CDATA[methods中一个方法调用另一个方法
vue在同一个组件内；
methods中的func1方法调用methods中的func2方法
调用方式:
this.$options.methods.func2();


]]></description><category></category></item><item><title><![CDATA[Mac安装pip及修改国内镜像]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/104792001</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/104792001</guid><author>MichaelPixer</author><pubDate>Wed, 11 Mar 2020 11:16:37 +0800</pubDate><description><![CDATA[Mac安装pip及修改国内镜像安装使用更改国内镜像源
安装
Step #1 — 首先通过以下命令下载get-pip.py文件：
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Step #2 — python运行文件
python get-pip.py

Step #3 — 执行以下命令
sudo easy_install pip
...]]></description><category></category></item><item><title><![CDATA[linux命令/Shell命令学习整理]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/104755165</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/104755165</guid><author>MichaelPixer</author><pubDate>Mon, 09 Mar 2020 17:42:45 +0800</pubDate><description><![CDATA[vi/vim使用
0 移至行首
$ 移至行尾
u 撤销
dd 删除光标所在行
u 撤销上一步操作

]]></description><category></category></item><item><title><![CDATA[linux终端命令行浏览器，w3m文字浏览器使用]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/66166261</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/66166261</guid><author>MichaelPixer</author><pubDate>Sun, 26 Mar 2017 00:42:30 +0800</pubDate><description><![CDATA[安装 ： 
yum install w3m 
以网址启动w3m： 
$w3m www.baidu.com 
这时打开网页，且处于交互模式下，可输入命令进行操作： 
H                     显示帮助信息 
j,k,h,l(或上下左右方向键)           移动光标 
space           向下翻页 
b                           向上翻页]]></description><category></category></item><item><title><![CDATA[bash命令行处理流程及关于双引号的源码解析]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/66111653</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/66111653</guid><author>MichaelPixer</author><pubDate>Sun, 26 Mar 2017 00:05:15 +0800</pubDate><description><![CDATA[之前在执行脚本时发现一个问题：cat a.sh
#!/bin/bash
OPTS="--conf javaOption=\"-Da=b -Dc=d\""
eval ./c.sh $OPTS
./c.sh $OPTScat c.sh
#!/bin/bash
n=$#
for ((i=0; i<n; i++));do
        echo "$i:{"$1"}"
        shift
done]]></description><category></category></item><item><title><![CDATA[matlab linspace函数]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/56016308</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/56016308</guid><author>MichaelPixer</author><pubDate>Mon, 20 Feb 2017 17:20:32 +0800</pubDate><description><![CDATA[今天看到这个，忘记用法了，顺手百度了一下记下来 
用法：linspace(x1,x2,N)　　 
功能：linspace是Matlab中的一个指令，用于产生x1,x2之间的N点行矢量。其中x1、x2、N分别为起始值、中止值、元素个数。若缺省N，默认点数为100。在matlab的命令窗口下输入help linspace或者doc linspace可以获得该函数的帮助信息。 
例一： 
　　在matla]]></description><category></category></item><item><title><![CDATA[matlab 进度条/waitbar 显示运行进度]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/55048754</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/55048754</guid><author>MichaelPixer</author><pubDate>Mon, 13 Feb 2017 14:40:18 +0800</pubDate><description><![CDATA[当运行大程序，需要跑大量数据的时候，使用进度条可以看到程序究竟运行到什么地方了，哈哈，要不干等着难受(╯﹏╰)…… 
先介绍简单用法： 
h=waitbar(x,’message’);%其中x必须为0到1之间的数，message为显示的信息h=waitbar(0,'please wait');
for i=1:1000
    %computation here%
    waitbar(i/100]]></description><category></category></item><item><title><![CDATA[SVM支持向量机和逻辑回归进行心音信号简单二分类]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/54947769</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/54947769</guid><author>MichaelPixer</author><pubDate>Thu, 09 Feb 2017 15:27:04 +0800</pubDate><description><![CDATA[%%
%本程序读取training-a中150个心音信号作为训练集，后150个心音信号作为测试数据，采用SVM支持向量机和逻辑回归分类器
%进行心音信号的分类
%%
clear;
clc;
rng=[0 1 149 1];%训练 rng=[r1 c1 r2 c2]定义读取csv文件的行列始末段
rng1=[150 1 299 1];%测试
train_label=csvread('./trainin]]></description><category></category></item><item><title><![CDATA[matlab 矩阵/数组使用总结]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/54947004</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/54947004</guid><author>MichaelPixer</author><pubDate>Thu, 09 Feb 2017 14:38:12 +0800</pubDate><description><![CDATA[>> a=[1 2 3;4 5 6] %空格或“,”代表同一行，";"代表下一行a =     1     2     3
     4     5     6如循环统计数据，可令a=[];
for循环
c=[m,n]; %m,n为计算中的数据
a=[a;c]; %按列统计数据
%a=[a,c]; %按行统计数据
endm=[1 2 3;4 5 6];
[~,y]=size(m);%其中~代表第一个]]></description><category></category></item><item><title><![CDATA[matlab cat函数]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/54946852</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/54946852</guid><author>MichaelPixer</author><pubDate>Thu, 09 Feb 2017 14:26:22 +0800</pubDate><description><![CDATA[cat函数用来连接数组 
格式：c=cat(dim,A,B) %dim为1，按列连接；dim为2，按行连接；dim=n，代
               %表构造出来的矩阵是n维的example：>>a=[1 2;3 4]
>>b=[5 6;7 8]
>>c=cat(1,a,b)%等价于c=[a;b]
c =     1     2
     3     4
     5     6
     7]]></description><category></category></item><item><title><![CDATA[matlab ismember函数]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/54946789</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/54946789</guid><author>MichaelPixer</author><pubDate>Thu, 09 Feb 2017 14:20:40 +0800</pubDate><description><![CDATA[>>a=[1 2 3 4 5]
>>b=[1 2 4 2 1 6 7] 
>>[bool,index]=ismember(a,b);%判断a中元素有没有在b中出现
bool =     1     1     0     1     0
index =     1     2     0     3     0bool返回一个和a同样大小的矩阵，a的元素在b中出现，bool相应位置上元素值为1，没有]]></description><category></category></item><item><title><![CDATA[matlab二维曲线绘制plot基本操作]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/54945798</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/54945798</guid><author>MichaelPixer</author><pubDate>Thu, 09 Feb 2017 14:13:53 +0800</pubDate><description><![CDATA[x=0:0.001:2*pi;
y=0.5*sin(x);
plot(x,y,'r');
axis([0 2*pi -1 1]);  %分别为[xmin xmax ymin ymax]
xlabel('时间')%x轴标签
ylabel('y')%y轴标签
title('正弦曲线')%标题
text(4.4,0.2,'正弦\rightarrow')%对曲线在指定坐标处进行文字标注
text(3.142]]></description><category></category></item><item><title><![CDATA[对符号表达式或函数表达式赋值]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/54945704</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/54945704</guid><author>MichaelPixer</author><pubDate>Thu, 09 Feb 2017 11:53:32 +0800</pubDate><description><![CDATA[syms x y;%定义变量x，y 
z=x^5*y^3;%表达式 
x1=[0:20]; 
y1=[0:20]; 
z1=subs(z,{x,y},{x1,y1});%可使用x1,y1,z1绘制三维图 
disp(z);%写出表达式]]></description><category></category></item><item><title><![CDATA[两篇喜欢的诗词]]></title><link>https://blog.youkuaiyun.com/MichaelPixer/article/details/52191510</link><guid>https://blog.youkuaiyun.com/MichaelPixer/article/details/52191510</guid><author>MichaelPixer</author><pubDate>Fri, 12 Aug 2016 14:47:49 +0800</pubDate><description><![CDATA[丑奴儿·书博山道中壁
少年不识愁滋味，爱上层楼。爱上层楼，为赋新词强说愁。
而今识尽愁滋味，欲说还休。欲说还休，却道天凉好个秋。

西洲曲





忆梅下西洲，折梅寄江北。
单衫杏子红，双鬓鸦雏色。
西洲在何处？两桨桥头渡。
日暮伯劳飞，风吹乌臼树。
树下即门前，门中露翠钿。
开门郎不至，出门采红莲。
采莲南塘秋，莲花过人头。
低头弄莲子，莲子清如水。
置莲怀]]></description><category></category></item></channel></rss>