分类目录归档:LINUX

linux下用vim写matlab程序

使用matlab自带的编辑来写脚本感觉并不美妙,无法享受来自vim操作带来的便利,然而单纯使用vim来编辑,与matlab的交互性并不好,需要进行一定量的配置。所幸linux的工具众多,通过工具的的组合,也得与matlab的交互有了一定量的改善。一、vim插件推荐为了更好的完成matlab程序编辑工作,有一些插件是能是必须的。1.1 ale或syntastiale/syntastic 是语法检查...阅读全文
发表在 CODING, LINUX | 标签为 , , | 一条评论

AUR快速打包流程

一、编辑PKGBUIL二、测试PKGBUIL三、上传PKGBUIL三、更新PKGBUIL修改版本号(至少要把小版本号有所变更),否则无法更新重复上传4-7步四、问题小结打包之后二进制文件体积变小,无法运行。在option选项中增加('!strip')即可。由于makepkg默认移除二进制文件的多余信息(如gcc -g留下的debug信息),但是这种移除有可以会带错误。阅读全文
发表在 LINUX | 标签为 | 留下评论

Terminal Key Map Do not work

When you need a keymap such as Ctrl+H, you may write as <C-h>. However, it may not work as you want. What should you do next? The first thing is that, to determine what the key are interpreted ...阅读全文
发表在 LINUX | 标签为 | 留下评论

Run Firefox Background under Linux

The long start up time of firefox is general, especially with many add-ons. Is there any way to run firefox as background in order to obtain faster start up speed? If under windows, I have no idea, bu...阅读全文
发表在 LINUX, 软件安装 | 标签为 | 留下评论

Underfined Reference to “xxx” When Use GCC

1. Problem DescirblIt is common for us to meet the problem when we use gcc to link and generate the executable problem, such asHence, What should we do next2. Reason and SolutioIt is a command pro...阅读全文
发表在 CODING, LINUX | 标签为 | 留下评论

Compile Qt5.5.1 With Gcc7.2 Under Arch

When compiling qt5.5.1 under arch, I meet some compile errors because of the newer version compiler of python3 and gcc, so just do some record.1. Python3 Type ErroProblem dumpRepair is easy, just fi...阅读全文
发表在 LINUX, 软件安装 | 标签为 | 留下评论

MATLAB set figure background

It is ugly to take a screenshot from matlab figure directly because of the grey background. Sometimes I wanna change it to white and look more harmonious.In matlatb, we could use following command to ...阅读全文
发表在 LINUX, 软件安装 | 标签为 | 留下评论

firefox自定义搜索引擎

平时写写博客不仅仅是别人看的,最重要的是一个给自己看的笔记,关键时刻能够快速地获取以前的解决方案来解决眼前的问题。所以如何方便的使用blog的搜索引擎也是相当重要的。下面说说如何在firefox下自制一个搜索引擎。firefox 52有效1. 准备素材首先要说明的是,以下操作均是在linux下完成的,其它的操作虽原理相同,然而操作方法却可能大相径庭。所以在此处要准备的东西也就只就只有:一台能联网且...阅读全文
发表在 LINUX | 标签为 | 留下评论