码迷,mamicode.com
首页 >  
搜索关键字:choice    ( 840个结果
Windows下单ip扫描工具
@echo offecho IP Ping 工具:x::set /p choice="请输入扫描类型:A or B :"set choice=Aif /i %choice%==a goto ipduan else goto y:yif /i %choice%==b go...
分类:Windows程序   时间:2014-07-22 23:09:16    阅读次数:591
获得N位数字字母随机组合
import stringimport randomdef get_rand(n): allw = string.letters+string.digits r = [] for i in range(n): r.append(random.choice(allw)) ...
分类:其他好文   时间:2014-06-24 13:51:24    阅读次数:320
java-第十三章-类的无参方法(一)-模拟一个简单的购房商贷月供计算器
package本章总结; publicclassA02class{ doubleMoney=0; publicdoubleshowA(doublemoney,intchoice){ switch(choice){ case1: Money=(money+money*0.0603)/36; break; case2: Money=(money+money*0.0612)/60; break; case3: Money=(money+money*0.0..
分类:编程语言   时间:2014-06-16 17:34:47    阅读次数:754
Codeforces Round #250 (Div. 2)
感觉不会再爱了,呜呜!A题原来HACK这么多!很多人跟我一样掉坑了!If there is some choice whose description at least twice shorter than all other descriptions, or at least twice long...
分类:其他好文   时间:2014-06-02 06:33:26    阅读次数:238
[Scala] Pattern Matching(模式匹配)
Scala中的match, 比起以往使用的switch-case有著更強大的功能, 1. 傳統方法 def toYesOrNo(choice: Int): String = choice match { case 1 => "yes" case 0 => "no" case _ => "error"...
分类:其他好文   时间:2014-05-26 20:45:46    阅读次数:285
package-info.java
问题:看开源项目发现这个package-info.java文件有些特殊,从名字上面也可以猜出这个类是与package有关的。具体是怎么回事呢?:就是记录包的信息To create a package comment file, you have a choice of two files to pl...
分类:编程语言   时间:2014-05-23 09:39:01    阅读次数:328
2E02-View-Lists-multiple -choice-list
介绍一个多选list /* * 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 with th...
分类:其他好文   时间:2014-05-23 00:52:57    阅读次数:455
python批量修改服务器密码,同时保存execl表格
#!/usr/bin/envpython#coding:utf8#随机生成自定义长度密码fromrandomimportchoiceimportstring,pickledefGenPassword(length=8,chars=string.ascii_letters+string.digits):return‘‘.join([choice(chars)foriinrange(length)])defpasslist(r_user,c_user,ip_list,web_list):di..
分类:编程语言   时间:2014-05-13 01:25:56    阅读次数:505
Conceptual blockbusting--chap5 Intellectual and Expressive blocks
Intellectual blocks result in an inefficient choice of mental tactics or a shortage of intellectual ammunition.Expressive blocks inhibit your vital ab...
分类:其他好文   时间:2014-05-01 08:26:33    阅读次数:317
GlusterFS源码解析 —— GlusterFS日志解析
Logging.c: /* Copyright (c) 2008-2012 Red Hat, Inc. This file is part of GlusterFS. This file is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any...
分类:其他好文   时间:2014-04-27 18:57:31    阅读次数:702
840条   上一页 1 ... 82 83 84
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!