码迷,mamicode.com
首页 >  
搜索关键字:minimum depth of bin    ( 47234个结果
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
基于地理位置信息的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
《鸟哥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
linux下如何让控制台程序后台运行
方法1:./test &方法2:(./test &)方法3:nohup 和bg方法4:screen -mS test /root/test 退出程序需要手动进入screen创建的test虚拟终端去退出方法5:修改并保存一下代码为脚本,运行 #!/bin/bash NAME=$(basename "....
分类:系统相关   时间:2014-05-07 15:03:04    阅读次数:421
python tkinter学习
Downloading the module:sudo apt-get install python-tksimple example:#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode Tkinter tutorialThis script sho...
分类:编程语言   时间:2014-05-07 14:46:05    阅读次数:454
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!