码迷,mamicode.com
首页 >  
搜索关键字:nm    ( 658个结果
VMware虚拟机开机之后等好久才能ssh连接?
VMware虚拟机开机之后等好久才能ssh连接?因为开启了ipv6配置,服务器刷新网络需要很长时间,注释掉就行了vi/etc/sysconfig/network-script/ifcfg-eth0里面注销了下面两行#IPV6INIT="yes"#NM_CONTROLLED="yes"
分类:系统相关   时间:2016-01-17 21:53:28    阅读次数:271
BZOJ 1801: [Ahoi2009]chess 中国象棋( dp )
dp(i, j, k)表示考虑了前i行, 放了0个炮的有j列, 放了1个炮的有k列. 时间复杂度O(NM^2)--------------------------------------------------------------------------#include#include#incl...
分类:其他好文   时间:2016-01-12 22:48:12    阅读次数:153
nmap扫描工具
nmap:网络探测和安全扫描程序下载地址:https://nmap.org/download.html根据系统版本下载实验环境:Rhel6.5安装包:nmap-7.01-1.x86_64rpm-qa|grepnmap//查看系统下是否已经安装了nmap,如果有通过rpm-e卸载,有依赖关系加上--nodepsrpm-ivhnmap-7.01-1.x86_64.rpm//rpm安装nm..
分类:其他好文   时间:2016-01-09 06:30:59    阅读次数:434
Shell编程进阶 1.7 case选择
逻辑判断的格式vim case.sh#!/bin/bashread -p "please input a number:" nm=$[$n%2]case $m in 1) echo " It is a jishu'" ;; ...
分类:系统相关   时间:2016-01-02 12:07:05    阅读次数:182
VMware 增加了一块网卡 不能获取ip地址问题
最近在VMware上做ha双击热备实验,第一块网卡设置成桥接模式,第二块网卡设置成nat,第一块网卡能正常获取地址,第二块网卡不能获取到dhcp地址,改成静态地址也不行,解决办法:在两块网卡里增加一行代码:NM_CONTROLLED="no"这行代码的意思是不让NETMANAGE管理网卡,重启网卡..
分类:系统相关   时间:2015-12-28 12:33:26    阅读次数:178
长整数相加减
1 #include 2 #include 3 using namespace std; 4 5 const int N=30; 6 int min(int n,int m)//返回两个数中的最小一个数 7 { 8 return (nm) ? n : m; 14 } 1...
分类:其他好文   时间:2015-12-27 06:23:24    阅读次数:283
[搜索]Trie树的实现
trie这种树也被称为线索,搜索树。正如图以下是用stl 的map来实现class trie_item_c{public: trie_item_c(){} trie_item_c(const char nm) { name = nm; } void set_name(const char nm).....
分类:其他好文   时间:2015-12-15 14:18:46    阅读次数:86
notification的使用
示例: 1 NotificationManager nm = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); 2 Notification n = new Notification...
分类:其他好文   时间:2015-12-14 10:37:49    阅读次数:222
linux SO文件
1.nm -D libxxx.so 打印出符号信息。我一般这样用:nm -D libxxx.so |grep T2.ldd libxxx.so 查看依赖关系3.readelf -a libxxxx.so 用来读取elf信息我一般这样用:readelf libxxx.so |grep NEEDED 这...
分类:系统相关   时间:2015-12-12 16:56:53    阅读次数:244
将多幅图片保存为mat
%% 储存某目录所有的图片123456789pt='d:\imgs\';ext='*.jpg';dis=dir([ptext]);nms={dis.name};fork=1:length(nms)nm=[ptnms{k}];%注意要加上路径my_images{k}=imread(nm);endsav...
分类:其他好文   时间:2015-12-09 17:15:49    阅读次数:278
658条   上一页 1 ... 45 46 47 48 49 ... 66 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!