git branch --set-upstream 本地关联远程分支 最近使用git pull的时候多次碰见下面的情况: There is no tracking information for the current branch.Please specify which branch you w ...
分类:
其他好文 时间:
2019-08-31 19:42:41
阅读次数:
94
分享一个自己编写的递归查找子目录,将所有cpp文件编码修改为utf-8编码格式的小脚本 ...
分类:
编程语言 时间:
2019-08-30 18:42:47
阅读次数:
73
Error:The module ‘libcocos2dx‘ is an Android project without build variants, and cannot be built. Please fix the module’s configuration in the build.gradle file and sync the project again.
分类:
移动开发 时间:
2019-08-30 17:28:46
阅读次数:
310
1 交互式脚本:变量内容由用户决定 2 随日期变化:利用日期创建文件 3 数值运算:简单的加减乘除 4 test命令 5 判断符号[] 1 #!/bin/bash 2 3 read -p "Please input y/n: " yn 4 5 if [ "$yn" == "Y" ] || [ "$y ...
分类:
系统相关 时间:
2019-08-27 17:44:19
阅读次数:
190
#!/usr/bin/python # -*- coding: UTF-8 -*- letter = raw_input("Please input first letter:") letter = letter.upper() if letter == 'S': letter = raw_inpu... ...
分类:
其他好文 时间:
2019-08-27 17:21:08
阅读次数:
103
昨天刚配置好的git,今天刚要commit一些修改,就遇到了这个问题** Please tell me who you are.Run git config --global user.email "you@example.com" git config --global user.name "Yo ...
分类:
其他好文 时间:
2019-08-26 18:01:27
阅读次数:
124
RAID全称是独立磁盘冗余阵列(Redundant Array of Independent Disks),基本思想是把多个磁盘组合起来,组合一个磁盘阵列组,使得性能大幅提高。最初是为了组合小的廉价磁盘来代替大的昂贵磁盘,同时希望磁盘失效时不会使对数据的访问受损失而开发出一定水平的数据保护技术。
分类:
其他好文 时间:
2019-08-25 01:04:43
阅读次数:
102
1. case 实现程序流程的选择,循环 系统管理工具箱 case 实行简单的JumpServer python 1. 执行脚本后,需要看到所有能管理的主机 2. 选择菜单,提示输入连接某个主机 !/usr/bin/bash 定义一个函数可以调用多次 meminfo(){ cat ...
分类:
系统相关 时间:
2019-08-24 20:54:41
阅读次数:
111
K-th occurrence Time Limit: 5000/5000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 461 Accepted Submission(s): 125 ...
分类:
其他好文 时间:
2019-08-24 13:27:37
阅读次数:
94
Control Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5636 Accepted Submission(s): 2289 Problem ...
分类:
其他好文 时间:
2019-08-24 09:59:04
阅读次数:
98