对于git的提交一直很小心翼翼,感觉一不小心就会踩到莫名的坑。 这不, 某天commit 就遇到了On branch master nothing to commit (working directory clean) 一查意思。你的分支很干净? 干净?excuse me? 然后git push o ...
分类:
数据库 时间:
2019-01-15 19:07:13
阅读次数:
223
[From] http://bigdataprogrammers.com/string-date-conversion-hive/ Please refer below table to convert any date format into fixed format i.e yyyy-MM-dd ...
分类:
其他好文 时间:
2019-01-15 15:49:45
阅读次数:
642
In a verbatim string (a string starting with @"") to escape double quotes you use double quotes, e.g. @"Please press ""Ok"".". If you want to do it wi ...
# 格式化输出# % s d# name = input("please input your name : ")# age = input("please input your age : ")# job = input("please input your job : ")# # msg = ' ...
分类:
编程语言 时间:
2019-01-15 10:42:36
阅读次数:
209
导入 安卓项目报错 Error:The module 'app' is an Android project without build variants, and cannot be built. Please fix the module's configuration in the build ...
分类:
移动开发 时间:
2019-01-14 15:08:46
阅读次数:
993
自从修改了树莓派的Ubuntu 16.04 MATA 系统的 /home/ 下的用户文件夹名后,使用vncserver远程操作,看到桌面每次都提示 Configured directory for incoming files does not exist Please make sure that ...
分类:
系统相关 时间:
2019-01-14 00:18:21
阅读次数:
1253
1.带有 yield 的函数不再是一个普通函数,而是一个生成器generator,可用于迭代。 2.yield 是一个类似 return 的关键字,迭代一次遇到yield时就返回yield后面(右边)的值。重点是:下一次迭代时,从上一次迭代遇到的yield后面的代码(下一行)开始执行。可以减少内存占 ...
分类:
其他好文 时间:
2019-01-13 13:06:53
阅读次数:
853
//给定程序中fun函数的功能是:将p所指的字符串中每个单词的最后一个字母改成大写。(这里的“单词”是指由空格隔开的字符串) //重难点:指针对数组的遍历。大小写转换的方法。第一种使用加减32 得到,第二种通过函数转换。gets()函数的使用。 ...
分类:
编程语言 时间:
2019-01-13 10:22:34
阅读次数:
256
1.Unable to find Mach task port for process-id 1527: (os/kern) failure (0x5). (please check gdb is codesigned - see taskgated(8)) 参考资料:解决GDB在Mac下不能调试的 ...
分类:
数据库 时间:
2019-01-11 23:24:05
阅读次数:
528
Lock your swarm to protect its encryption key上锁你的集群来保护你的加密密钥 在Docker 1.13及更高版本中,默认情况下,群管理器使用的Raft日志在磁盘上加密。这种静止加密保护你的服务的配置和数据不受获得加密Raft日志访问权的攻击者的攻击。引入该 ...
分类:
其他好文 时间:
2019-01-10 16:31:44
阅读次数:
146