nickkkkkkk

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2019年11月26日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-26 14:20 nickkkkkkk 阅读(1) 评论(0) 推荐(0)

2019年6月26日

摘要: #!/usr/bin/env python import getopt import time import sys, glob from healthy import HealthyService from healthy.ttypes import * from thrift import Thrift from thrift.transport import TSocket from... 阅读全文
posted @ 2019-06-26 10:47 nickkkkkkk 阅读(125) 评论(0) 推荐(0)

2019年3月28日

摘要: # -*- coding: utf-8-*- # import sys import os import io import json reload(sys) sys.setdefaultencoding('utf-8') def unicode_convert(input): if isinstance(input, dict): return {unicode_co... 阅读全文
posted @ 2019-03-28 16:03 nickkkkkkk 阅读(136) 评论(0) 推荐(0)

2018年8月27日

摘要: struct stu *reserve(struct stu *head) { struct stu *p1,*p2,*p3; p1=head; p2=p1->next; // 这个结点为要移动的结点 while(p2) { p3=p2->next... 阅读全文
posted @ 2018-08-27 11:36 nickkkkkkk 阅读(109) 评论(0) 推荐(0)

2018年8月21日

摘要: #include int main() { int cnt[128]={0};//用来统计个数。 char str[200];//存储字符串。 int i; gets(str);//输入字符串。 for(i = 0; str[i]!='\0'; ++i)//遍历字符串。 cnt[str[i]]++;//统计... 阅读全文
posted @ 2018-08-21 10:01 nickkkkkkk 阅读(225) 评论(0) 推荐(0)

2018年8月20日

摘要: #!bin/bash message_counts="" succeed_counts="" all_succeed_counts="" fail_counts="" all_fail_counts="" #获取昨天的日期 # Set the current month day and year. month=`date +%m` day=`date +%d` year=... 阅读全文
posted @ 2018-08-20 11:37 nickkkkkkk 阅读(138) 评论(0) 推荐(0)

2018年6月4日

摘要: 一、more命令 more功能类似 cat ,cat命令是整个文件的内容从上到下显示在屏幕上。 more会以一页一页的显示方便使用者逐页阅读,而最基本的指令就是按空白键(space)就往下一页显示,按 b 键就会往回(back)一页显示,而且还有搜寻字串的功能 。more命令从前向后读取文件,因此在 阅读全文
posted @ 2018-06-04 17:50 nickkkkkkk 阅读(201) 评论(0) 推荐(0)

2018年5月4日

摘要: Traceback (most recent call last): File "C:/Users/lcl/PycharmProjects/untitled/day1/修改haproxy配置文件.py", line 105, in <module> zzz=str(" "+"server "+web 阅读全文
posted @ 2018-05-04 16:36 nickkkkkkk 阅读(191) 评论(0) 推荐(0)

2018年5月3日

摘要: #查询 f=open("C:\\aaaaaaaaaaaaa\\haproxy.txt", "r", encoding="utf-8") haproxy_list = f.readlines() website_address = input("请输入要查询的网址:") website_address = "backend " + website_address lenth=len(haproxy... 阅读全文
posted @ 2018-05-03 15:59 nickkkkkkk 阅读(139) 评论(0) 推荐(0)

摘要: # def change_name(name):# global school # school = "Mage Linux"# print("before change",name,school)# name ="Alex li" #这个函数就是这个变量的作用域# age =23# print(" 阅读全文
posted @ 2018-05-03 10:42 nickkkkkkk 阅读(2378) 评论(0) 推荐(0)