码迷,mamicode.com
首页 >  
搜索关键字:maximum depth of bin    ( 47942个结果
MacOS下安装gdb
http://blog.panks.me/posts/2013/11/install-gdb-on-os-x-mavericks-from-source/注意最后两步:killall taskgated (不行可以加sudo)codesign -fs gdbc /usr/local/bin/gdb ...
分类:数据库   时间:2014-05-08 13:53:15    阅读次数:304
Linux自动修改IP脚本(手动编写)
#!/bin/bashnetmask=255.255.255.0IP_PATH=/etc/sysconfig/network-scripts/ifcfg-eth0GM_PATH=/etc/sysconfig/networkecho -e "Please input IP(FORMAT:192.168...
分类:系统相关   时间:2014-05-08 12:59:48    阅读次数:318
Shell编程
1.shell程序格式 #! /bin/bash 首行#!指定shell编译器 # program 除首行的#外,其他的都表示注释 # read var1 read var2 if[ $var1 -eq $var2 ] then echo "$var1 is equal to $var2" elif...
分类:其他好文   时间:2014-05-08 10:36:56    阅读次数:252
基于地理位置信息的traceroute
我们在机房选择、测试网络的质量的时候,往往只根据跳数、延迟、抖动、网络吞吐量等指标来衡量,很多时候跳数并不能完全显示网络拓扑优劣,于是写了个traceroute结合whois的小脚本来直观显示每一跳所处的网络位置。 需要安装mtr和whois 脚本: [root@localhost ~]# more  geotrace.sh          #!/bin/bash ec...
分类:其他好文   时间:2014-05-07 23:56:29    阅读次数:474
跳板机定期改密码脚本
很早写的,最近别人问过一次,贴出来吧。#!/bin/bash # source/etc/profile&>/dev/null basedir=$(cd`dirname$0`;pwd) nowmonth=`date+%m` nowday=`date+%d` email="$basedir/email/sendemail.sh" functionGaiMiMa(){ user="$1" passwd=$(/usr/bin/mkpasswd-l20-d5-c2-C..
分类:其他好文   时间:2014-05-07 22:26:08    阅读次数:951
微信公众平台开发
关于微信公众平台确实是个很好的东西,鉴于需要完成这样一个作业花了2天时间来研究这个,做出了一个简单的东西。        我们选择的语言是JAVA(当然PHP开发这个更简单,不过我没学,考虑时间成本而继续用自己熟悉的),所用的服务器是SAE(BAE也可以),以及一个微信公众平台测试账号。http://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=san...
分类:微信   时间:2014-05-07 21:39:24    阅读次数:724
Leetcode:Max Points on a Line
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 解题想法: 其实判断一个直线上最好的方法是判断斜率。如果在同一直线上,那么直线上一点与其他点的斜率相...
分类:其他好文   时间:2014-05-07 21:13:02    阅读次数:323
《鸟哥linux》--第十一章课后习题答案
1.在linux上可以找到哪些shell?哪个档案记录可用的shell?儿linux预设的shell是? 1./bin/bash,/bin/tcsh,/bin/csh 2./etc/shells 3.bash,亦即是/bin/bash2.在shell环境下,有个提示符(prompt),他可以修...
分类:系统相关   时间:2014-05-07 21:08:15    阅读次数:720
NOSQL之【WIN7的安装配置】
1.下载安装大家根据各自系统配置,下载相对应的redis版本。我下载是redis 2.6将redis.conf 复制到 bin/release/redisbin 里面redis-server.exe 服务程序redis-check-dump.exe:本地数据库检查redis-check-aof.ex...
分类:数据库   时间:2014-05-07 21:04:48    阅读次数:459
[Nagios] Error: Template 'timman' specified in contact definition could not be not found (c
Check nagios配置文件报错如下:[nagios@2 etc]$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios Core 4.0.6Copyright (c) 2009-present Nagios Core Development Team and Community Contributor...
分类:移动开发   时间:2014-05-07 15:47:14    阅读次数:449
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!