摘要:
cmd="/home/scue/bin/ipclient $ipclient"exist=$(ps aux | grep -v 'grep' | grep "$cmd" | awk '{print $2}')kill_process(){ kill -9 $exist}if [[ "$1" != "" ]] ; then kill_processelse if [[ "$exist" != "" ]]; then kill_process fi 阅读全文
摘要:
#!/bin/bash - #===============================================================================## FILE: fin.sh# # USAGE: ./fin.sh # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: linkscue (scue), linkscue@gmail.com#... 阅读全文
摘要:
1 /* 2 * ===================================================================================== 3 * 4 * Filename: proc_more.c 5 * 6 * Description: 7 * 8 * Version: 1.0 9 * Created: 2013年08月07日 11时34分40秒 10 * Revision: none 11 * Compiler: g... 阅读全文
摘要:
#!/bin/bash - #===============================================================================## FILE: boot_test.sh# # USAGE: ./boot_test.sh # # DESCRIPTION: # # OPTIONS: ---# REQUIREMENTS: ---# BUGS: ---# NOTES: ---# AUTHOR: linkscue(scue),# ORGANI... 阅读全文
摘要:
--------- beginning of /dev/log/mainI/installd( 1377): installd firing upI/DEBUG ( 1370): debuggerd: Aug 3 2013 18:29:43D/STMD ( 1371): STMD STATE: BOOTD/STMD ( 1371): value_to_int() - No numeric value foundV/STMD ( 1371): read_config_file: modem reset enable = 1V/STMD ( 1371): read_c... 阅读全文
摘要:
1. 编译和安装vim74b(参考:http://t.cn/zQa8R7h)sudo apt-get install -y hgsvn libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev ruby-dev mercurial cscope exuberant-ctagssudo apt-get remove vim vim-runtime gvim #这一 阅读全文
摘要:
1. 安装ctags和cscopesudo apt-get install -y exuberant-ctags cscope2. vimrc中的配置"""""""""""""""""""""""""""""""""""""&qu 阅读全文
摘要:
这篇Bash Shell Shortcuts的快捷键总结的非常好。值得学习。下面内容大多数是拷贝粘贴与总结.CTRL 键相关的快捷键:Ctrl + a - Jump to the start of the lineCtrl + b - Move back a charCtrl + c - Termi... 阅读全文
摘要:
错误1:hardware/samsung/exynos4/hal/libhdmi/SecHdmi/SecHdmiV4L2Utils.cpp: In function 'int android::hdmi_gl_set_param(int, int, int, int, unsigned int, unsigned int, int, int, int, int, int)':hardware/samsung/exynos4/hal/libhdmi/SecHdmi/SecHdmiV4L2Utils.cpp:1689:92: warning: extended initialize 阅读全文
摘要:
bluedroid.so for k860/k860i1./media/Enjoy/AndroidCode/cm10.1/device/lenovo/stuttgart/bluetooth/bluetooth.c [new file]/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance 阅读全文