<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[sprawling的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/sprawling</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; sprawling]]></copyright><item><title><![CDATA[android studio 3.4.1引用AAR 的一些事情]]></title><link>https://blog.csdn.net/sprawling/article/details/93997166</link><guid>https://blog.csdn.net/sprawling/article/details/93997166</guid><author>sprawling</author><pubDate>Fri, 28 Jun 2019 14:07:10 +0800</pubDate><description><![CDATA[1.aar 是使用模块的方式创建的，创建是以库的方式进行的，后面可以加入C++的内容，主要注意的是要在build.gradle里面加入ndk方面的配置项。

aar模块的创建主要遇到问题为__android_log_print未定义，按照通用的说法就是log库没有链接，加入log库在CMakeLists.txt里面就可以了。



需要注意的是其中的${log-lib}因为前面没有定义，所以没有起...]]></description><category></category></item><item><title><![CDATA[mdk中在文件中加入工程标识]]></title><link>https://blog.csdn.net/sprawling/article/details/78767436</link><guid>https://blog.csdn.net/sprawling/article/details/78767436</guid><author>sprawling</author><pubDate>Sun, 10 Dec 2017 20:59:21 +0800</pubDate><description><![CDATA[#!/usr/bin/env python2
# -*- coding:utf-8 -*-

import re,glob
import os,sys
import ipdb
import shutil

fn_a = "Main.c"
patt1="proj_name"
patt2=r'(\").*(\")'
p1 = re.compile(patt1)

flist=["Main.c", "a]]></description><category></category></item><item><title><![CDATA[archlinux vsftpd pam 问题]]></title><link>https://blog.csdn.net/sprawling/article/details/78122597</link><guid>https://blog.csdn.net/sprawling/article/details/78122597</guid><author>sprawling</author><pubDate>Thu, 28 Sep 2017 13:24:56 +0800</pubDate><description><![CDATA[Why won't vsftpd let me log in with a virtual user account?按照wiki的方法创建虚拟用户,却无法登陆.

后来发现是.passwd文件创建的问题
https://superuser.com/questions/386531/why-wont-vsftpd-let-me-log-in-with-a-virtual-user-accou]]></description><category></category></item><item><title><![CDATA[gdb調試遇到的一些問題]]></title><link>https://blog.csdn.net/sprawling/article/details/53995531</link><guid>https://blog.csdn.net/sprawling/article/details/53995531</guid><author>sprawling</author><pubDate>Tue, 03 Jan 2017 16:27:16 +0800</pubDate><description><![CDATA[auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
----------------------------------------
解决办法
gdb -iex "set auto-load safe-path /"
根本解决办法;
在家(h]]></description><category></category></item><item><title><![CDATA[archlinux 默認瀏覽器(file manager)]]></title><link>https://blog.csdn.net/sprawling/article/details/53700620</link><guid>https://blog.csdn.net/sprawling/article/details/53700620</guid><author>sprawling</author><pubDate>Fri, 16 Dec 2016 23:28:20 +0800</pubDate><description><![CDATA[[big1@big ~]$ cat /usr/share/applications/mimeapps.list
[Default Applications]
#inode/directory=org.gnome.Nautilus.desktop
inode/directory=pcmanfm.desktop



ref:
https://wiki.archlinux.org/in]]></description><category></category></item><item><title><![CDATA[fedora xorg configure screen resolution]]></title><link>https://blog.csdn.net/sprawling/article/details/53467674</link><guid>https://blog.csdn.net/sprawling/article/details/53467674</guid><author>sprawling</author><pubDate>Mon, 05 Dec 2016 17:47:50 +0800</pubDate><description><![CDATA[[hxz@bogon xorg.conf.d]$ cat 30-graphic.conf 
Section "Device"
    Identifier      "Intel Integrated"
    Driver          "intel"
EndSection
[hxz@bogon xorg.conf.d]$ cat 40-monitor.conf
Section ]]></description><category></category></item><item><title><![CDATA[disown,fg,bg]]></title><link>https://blog.csdn.net/sprawling/article/details/53447289</link><guid>https://blog.csdn.net/sprawling/article/details/53447289</guid><author>sprawling</author><pubDate>Sat, 03 Dec 2016 20:07:57 +0800</pubDate><description><![CDATA[disown是bash内部命令，nohup是外部命令
disown跟bg,fg一样是针对job进行操作，nohup是针对命令操作
disown -h 和nohup一样，在退出bash后，把进程的控制权都交给init]]></description><category></category></item><item><title><![CDATA[Linux下更好用的帮助命令—cheat]]></title><link>https://blog.csdn.net/sprawling/article/details/53444398</link><guid>https://blog.csdn.net/sprawling/article/details/53444398</guid><author>sprawling</author><pubDate>Sat, 03 Dec 2016 14:53:47 +0800</pubDate><description><![CDATA[來自與這個地址
点击打开链接




What you do when you are not sure of the command you are running especially in case of complex commands which uses a lot of options. We use man pages to get some help in such ]]></description><category></category></item><item><title><![CDATA[xmonad设置]]></title><link>https://blog.csdn.net/sprawling/article/details/53261751</link><guid>https://blog.csdn.net/sprawling/article/details/53261751</guid><author>sprawling</author><pubDate>Mon, 21 Nov 2016 17:45:42 +0800</pubDate><description><![CDATA[-- default desktop configuration for Fedora

import System.Posix.Env (getEnv)
import Data.Maybe (maybe)

import XMonad
import XMonad.Config.Desktop
import XMonad.Config.Gnome
import XMonad.Config.Kde]]></description><category></category></item><item><title><![CDATA[my xterm configure]]></title><link>https://blog.csdn.net/sprawling/article/details/53228218</link><guid>https://blog.csdn.net/sprawling/article/details/53228218</guid><author>sprawling</author><pubDate>Sat, 19 Nov 2016 10:44:48 +0800</pubDate><description><![CDATA[1 !===============================
  2 ! - Setting for xterm
  3 ! --------------------
  4 XTerm*locale: true
  5 XTerm*utf8Title: true
  6 XTerm*fontMenu*fontdefault*Label: Default
  7 XTerm*f]]></description><category></category></item><item><title><![CDATA[vim 常用插件安装]]></title><link>https://blog.csdn.net/sprawling/article/details/52390113</link><guid>https://blog.csdn.net/sprawling/article/details/52390113</guid><author>sprawling</author><pubDate>Wed, 31 Aug 2016 23:21:00 +0800</pubDate><description><![CDATA[" Use Vim settings, rather than Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible              " be iMproved, required
filetype off ]]></description><category></category></item><item><title><![CDATA[vimcaps插件补充]]></title><link>https://blog.csdn.net/sprawling/article/details/52370194</link><guid>https://blog.csdn.net/sprawling/article/details/52370194</guid><author>sprawling</author><pubDate>Tue, 30 Aug 2016 16:07:22 +0800</pubDate><description><![CDATA[解决问题，远程通过ssh连接的时候不出现警告
if !has('win32')
    let sc5 = "echo $SSH_CLIENT"
    let v1 = system(sc5)
    let v2 = matchstr(v1,'\m\([0-9]\{1,3}\)\.\d\+\.\d\+\.\d\+')
    if len(v2) == 0 
"       echo "ca]]></description><category></category></item><item><title><![CDATA[vim 脚本测试]]></title><link>https://blog.csdn.net/sprawling/article/details/52355344</link><guid>https://blog.csdn.net/sprawling/article/details/52355344</guid><author>sprawling</author><pubDate>Mon, 29 Aug 2016 18:00:26 +0800</pubDate><description><![CDATA[delfunction Mytest
function Mytest()
if has('win32')
    !dir > 1.txt

else
    let sc =  "if [[ \$(who am i) =~ \\([-a-zA-Z0-9\\.]+\\)\$ ]] ; then echo SSH; else echo no; fi"
    let sc1 = "who mom l]]></description><category></category></item><item><title><![CDATA[gvim 设置字体]]></title><link>https://blog.csdn.net/sprawling/article/details/52261893</link><guid>https://blog.csdn.net/sprawling/article/details/52261893</guid><author>sprawling</author><pubDate>Sat, 20 Aug 2016 16:03:55 +0800</pubDate><description><![CDATA[(1)首先通过gui设置好满意的字体
(2)以下内容来自网络（zhidao.baidu.com/question/410896316.html）
利用"="寄存器获取当前使用的字体再进行修改。
在命令行如下操作：
:set guifont==
会提示继续输入，输入&guifont可获取到当前使用的字体，将最后的字体大小修改为所需的大小即可。
注意是在输入模式下的寄存器使用命令
(3)]]></description><category></category></item><item><title><![CDATA[gvim 配置(lnh)]]></title><link>https://blog.csdn.net/sprawling/article/details/52259596</link><guid>https://blog.csdn.net/sprawling/article/details/52259596</guid><author>sprawling</author><pubDate>Sat, 20 Aug 2016 09:45:25 +0800</pubDate><description><![CDATA[" An example for a vimrc file.
"
" Maintainer:    Bram Moolenaar 
" Last change:    2014 Feb 05
"
" To use it, copy it to
"     for Unix and OS/2:  ~/.vimrc
"          for Amiga:  s:.vimrc
"]]></description><category></category></item><item><title><![CDATA[mingw 编译c++ 最简单的程序出现Program received signal SIGSEGV, Segmentation fault.]]></title><link>https://blog.csdn.net/sprawling/article/details/50932964</link><guid>https://blog.csdn.net/sprawling/article/details/50932964</guid><author>sprawling</author><pubDate>Sat, 19 Mar 2016 20:46:01 +0800</pubDate><description><![CDATA[现象是基本程序
#include 
#include 
#include "time.h"
#include "receive.h"

void receive::recv(void)
{
	time_t t1;
	time(&t1);
	std::cout << "current time" <<ctime(&t1)<<std::endl;
//	printf("hello o\n");
	r]]></description><category></category></item><item><title><![CDATA[qt编程 不现实命令行窗口]]></title><link>https://blog.csdn.net/sprawling/article/details/50925424</link><guid>https://blog.csdn.net/sprawling/article/details/50925424</guid><author>sprawling</author><pubDate>Fri, 18 Mar 2016 17:40:01 +0800</pubDate><description><![CDATA[有时候不想让qt运行的时候出现一个黑色的窗口,
到网上搜了搜,基本就两个答案比较靠谱.
http://stackoverflow.com/questions/4441551/how-to-stop-mingw-g-opening-a-console-window-in-windows



一个链接的时候加入 -mwindows
另外一个也是链接的时候加入 -Wl,-subsyste]]></description><category></category></item><item><title><![CDATA[linux mv 类型过滤]]></title><link>https://blog.csdn.net/sprawling/article/details/50909374</link><guid>https://blog.csdn.net/sprawling/article/details/50909374</guid><author>sprawling</author><pubDate>Wed, 16 Mar 2016 23:01:07 +0800</pubDate><description><![CDATA[我想把文件移入文件夹里面。[huangxinzhen@localhost cxx]$ find . -type f -exec mv {} t1 \;
mv: `./t1/test' and `t1/test' are the same file
[huangxinzhen@localhost cxx]$ find . -type f -exec mv {} t1/ \;
mv: `./t1/te]]></description><category></category></item><item><title><![CDATA[浅谈正则表达式]]></title><link>https://blog.csdn.net/sprawling/article/details/50801404</link><guid>https://blog.csdn.net/sprawling/article/details/50801404</guid><author>sprawling</author><pubDate>Fri, 04 Mar 2016 11:50:11 +0800</pubDate><description><![CDATA[说起正则表达式,那是又爱又恨啊,
从来没有一个工具,如此打动一个码农的心.自从用上了正则表达式,就变懒了,再也不想自己去写代码分析语句了.
可是,正则表达式的毒性开始发作了,其中有几个让人非常的不爽,
(1)转义字符的使用,字符串需要转义,元字符有时也需要转义,而且有些字符要转义,有些字符不需要,太费神啊,
(2)正则表达式的版本很多,多的有几种,搞都搞不清,
grep, awk, fi]]></description><category></category></item><item><title><![CDATA[ipython无法使用nbtstat的问题]]></title><link>https://blog.csdn.net/sprawling/article/details/50610451</link><guid>https://blog.csdn.net/sprawling/article/details/50610451</guid><author>sprawling</author><pubDate>Sat, 30 Jan 2016 10:14:10 +0800</pubDate><description><![CDATA[背景:python2.7(32bit), win8.1,ipython2.4.1


很明显,在ipython中运行nbtstat命令时,解释器无法正常执行命令,而在dos下面却可以正常执行,通过google,找到了答案,
https://mail.python.org/pipermail/python-win32/2012-March/012121.html




le da]]></description><category></category></item></channel></rss>