自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

岳麓丹枫

{万法皆空

  • 博客(16)
  • 资源 (10)
  • 问答 (1)
  • 收藏
  • 关注

原创 sublime workspace与project的关系以及如何手动安装插件

参考:https://www.zhihu.com/question/22681628手动安装插件(以emmet为例)https://www.cnblogs.com/zhiyingzhou/p/5922420.html推荐一个好用的插件 project manager

2018-12-28 15:17:59 610

原创 库文件找不到

问题描述error while loading shared libraries: libboost_system.so.1.45.0: cannot open shared object file: No such file or directory解决方法先找到libboost_system.so位置updatedblocate libboost_system.so假设发...

2018-12-27 14:43:32 428

原创 linux数组

关联数组定义数组data=( [101]=D101 [102]=D102_103 [103]=D102_103)array=(["jim"]=158 ["amy"]=168)遍历数组for i in &

2018-12-24 20:42:09 515

原创 linux rpm包相关操作

rpm2cpio glint-1.0-1.i386.rpm | cpio -dium

2018-12-24 10:00:26 205

原创 shell字符串相关操作

字符串比较不等值比较在[[]]中支持,在[]中不支持只支持大于与小于不管是使用[[]]还是使用[],请注意在靠近括号的字符与括号之间要使用空格实例1 支持小于-> # cat -n test.sh 1 #!/bin/sh 2 if [[ 133 < 133SP01 ]];then 3 echo yes 4 else ...

2018-12-21 16:13:35 174

原创 Shell调试设置

设置方法export PS4='+{$LINENO:${FUNCNAME[0]}}'sh -x test.sh

2018-12-18 14:30:48 283

转载 sublime text3支持函数跳转配置

具体操作点击Preferences->Browse Packages进入Packages目录,然后打开User目录,查看User目录里面有没有Default (Windows).sublime-mousemap文件,如果没有则创建一个。这个文件是用来配置sublime的鼠标操作的。在文件中输入如下内容:[{"button": "button2","count": 1,

2018-12-18 13:54:06 1937

原创 在VIM中进行文本替换

替换当前行中的内容:

2018-12-07 17:39:58 362

原创 PSQL copy使用

实例1实例2

2018-12-07 14:22:36 2013

原创 shell检查语法模式

方法sh -n test.sh直接上例子

2018-12-07 14:21:02 1017

原创 exists与count(*)

使用count(*)SELECT count(*)FROM actor aJOIN film_actor fa USING (actor_id)WHERE a.last_name = 'WAHLBERG'执行计划使用existsSELECT EXISTS ( SELECT * FROM actor a JOIN film_actor fa USING (actor_id)...

2018-12-06 18:39:02 2468

原创 Linux Shell中捕获CTRL+C

实例#!/bin/bashtrap 'onCtrlC' INTfunction onCtrlC () { echo 'Ctrl+C is captured'}while true; do echo 'I am working!' sleep 1donehttps://www.jianshu.com/p/b81783fee7da

2018-12-06 09:47:56 11538 1

原创 PG COPY导入导出数据

导出实例1/home/postgres/pgsql/bin/psql -U postgres -c "copy(select datname from pg_database where datname not in ('postgres','template0','template1','zabbix') order by datname) to '/home/postgres/pgsql/...

2018-12-05 14:27:10 1249

原创 linux read实例

实例

2018-12-04 20:39:23 419

原创 shell中exit与return以及source与sh的区别

直接看例子[root@localhost test]# cat b2.shecho b2exit 1[root@localhost test]# cat c2.shsource ./b2.shreturn $?[root@localhost test]# sh c2.sh b2[root@localhost test]# [root@localhost test]# [roo...

2018-12-04 16:45:30 2143

原创 PG dblink

查询操作create extension dblink;drop view view_remote_tb1;CREATE VIEW view_remote_tbl_version AS select * from dblink('dbname=imos host=207.101.67.94 port=5432 user=postgres password=passwd'::te...

2018-12-04 11:56:34 351

datagrip 插件相关

datagrip 插件相关

2022-06-24

mysql_install.sh

基于CentOS7自动化安装MySQL5.7.28脚本

2021-05-09

refman-8.0-en.a4.pdf

mysql8参考手册

2021-04-11

refman-5.7-en.a4.pdf

mysql 5.7参考手册

2021-04-11

grafana-7.5.3.linux-amd64.tar.gz

grafana

2021-04-11

prometheus-2.26.0.linux-amd64.tar.gz

prometheus-2.26.0.linux-amd64.tar.gz 最新版

2021-04-11

PostgreSQL流复制原理

PostgreSQL11.2 中文文档 chm版; PostgreSQL是世界上最强大的开源数据库, 堪比商业版的Oracle,

2020-11-29

oracle rac 2 day's guide

oracle rac 2 day's guide;oracle rac 安装教程; oracle rac 2 day's guide;oracle rac 安装教程;

2018-02-05

Linux 命令行 - v1.0

Linux 命令行 - v1.0;Linux 命令行 - v1.0;Linux 命令行 - v1.0

2017-12-18

《妙趣横生的算法》源代码

此压缩文档中包含的是《妙趣横生的算法》一书中的源代码,欢迎大家下载并参考、学习!

2017-02-17

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

TA关注的人

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