码迷,mamicode.com
首页 >  
搜索关键字:pass    ( 8592个结果
[leedcode 92] Reverse Linked List II
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.No...
分类:其他好文   时间:2015-07-16 18:23:01    阅读次数:123
ZH奶酪:Python按行读取文件
1:readline()file = open("sample.txt") while 1: line = file.readline() if not line: break pass # do somethingfile.close()一行一行得从文件读数据,显然...
分类:编程语言   时间:2015-07-16 15:50:49    阅读次数:167
几个小脚本
1、批量建20个账号,从user1,user2,user20;密码为user后跟五位随机字符[root@novashell]#catGuseradd#!/bin/bashforiin{1..20};dox="user"pass=$x$(tr-dc\~\`\!@#\$\%\^\&\*\(\)\-\_\+\=\|\\\?\/\.\>\,\<a-za-z0-9_</dev/urandom|head-c5|xargs)##/dev/urandom产..
分类:其他好文   时间:2015-07-16 14:24:57    阅读次数:119
How to pass multiple parameters in PowerShell invoke-restmethod
Link:http://www.tagwith.com/question_322855_how-to-pass-parameters-in-powershell-invoke-restmethod-postExamples: Invoke-RestMethod -Uri http://localho...
分类:系统相关   时间:2015-07-16 11:22:03    阅读次数:177
Windows下nginx+php配置
1. 首先,将 nginx.conf 中的PHP配置注释去掉。# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000##location ~ \.php$ {# root html;# ...
分类:Windows程序   时间:2015-07-15 12:39:33    阅读次数:203
ubuntu自动备份数据库
在/home/backluc/下创建文件touch back.shvim back.sh加上:#!/bin/shDUMP=/usr/bin/mysqldumpOUT_DIR=/home/backuplucLINUX_USER=rootDB_NAME=nameDB_USER=userDB_PASS=p...
分类:数据库   时间:2015-07-14 16:59:55    阅读次数:129
在 WinForm 中打开页面采用POST方式传参http。可以多个参数传递,返回json字符串
//调用方法DictionarypostData=newDictionary();postData.Add("user","aaa");postData.Add("pass","bbb");GetPageByPost("http://www.xxx.com/send.aspx",postData,E...
分类:Windows程序   时间:2015-07-14 15:15:13    阅读次数:270
华为交换机vlan配置
Trunk口设置interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 2 to 3Access口设置interface GigabitEthernet0/0/4port link-type acces...
分类:其他好文   时间:2015-07-14 15:08:33    阅读次数:109
nginx proxy https
server {listen 443;server_name mail.jb51.net;ssl on;ssl_certificate server.crt;ssl_certificate_key server.key;location / { proxy_pass https://192.1...
分类:Web程序   时间:2015-07-13 18:17:36    阅读次数:165
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!