https://conemu.github.io/
windows cmd tools
https://conemu.github.io/
None and that's it. However, there is a time and place for all of these. The following instructions are basically how the different methods should be used (or at least how I was taught they should be used), but they are not absolute rules so you can mix them up if you feel necessary to.return NoneNone. This value None can then be used elsewhere. return None is never used if there are no other possible return values from the function.person's mother if the person given is a human. If it's not a human, we return None since the person doesn't have a mother (let's suppose it's not an animal or so).def get_mother(person):
if is_human(person):
return person.mother
else:
return None
returnbreak in loops. The return value doesn't matter and you only want to exit the whole function. It's extremely useful in some places, even tho you don't need it that often.prisoners and we know one of them has a knife. We loop through each prisoner one by one to check if they have a knife. If we hit the person with a knife, we can just exit the function cause we know there's only one knife and no reason the check rest of the prisoners. If we don't find the prisoner with a knife, we raise an the alert. This could be done in many different ways and using return is probably not even the best way, but it's just an example to show how to use return for exiting a function.def find_prisoner_with_knife(prisoners):
for prisoner in prisoners:
if "knife" in prisoner.items:
prisoner.move_to_inquisition()
return # no need to check rest of the prisoners nor raise an alert
raise_alert()
var = find_prisoner_with_knife(), since the return value is not meant to be caught.return at allNone, but that value is not meant to be used or caught. It simply means that the function ended successfully. It's basically the same as return in void functions in languages such as C++ or Java.def set_mother(person, mother):
if is_human(person):
person.mother = mother
var = set_mother(my_person, my_mother), since the return value is not meant to be caught.在git的那个模式里,找到一个工程,pull一下,保存就行了
能不能用spring的想法来服务现实世界呢!?让控制反转来减轻客户的负担!能实现的话真是太棒了!
一般的买东西==去买,自己行动
定期便==cron,定时的执行,没有什么新意
仔细分析一下:
需要的时候就被提供。怎么知道需要呢?用到了,用的时候直接取,已经准备好了,提供了。。。
比如说厕所手纸,
基本上可以实现,使用的频率,家族构成,日程,分析一下,判断什么时候需要买手纸了。
手纸的话,价格,品牌可以事先设定。。。
数据分析,AI?!!
世界还在发展中。。。
对,准备一个特定的容器,刚开始是满的,没有了的话,自动补充。。。。!
这个容器是象征性的还是实物呢?
实物的话,就变成仓库了。
象征性的话,得想办法反应现实世界。。
自动并且准确的反应现实世界,然后行动
目的是想解决gcs的resource数组对应问题。
editer.setAsText()
这个地方很重要啊,好像是做一些转换
不同类型的resource被不同的类处理?
Resource[]被安排到了ResourceArrayPropertyEditor了
这里面没有对应的protocolReslover是问题点。
对比单个gcs resource 的流程可以洞晓
在GoogleStorage Protocol Resolver
里添加相应的处理就可以了?!
好像是gcloud或者机器登录帐号,或者安装gcp sdk的时候,这个变量被设置了。
gcloud auth login
设置了之后,eclipse还是用另外一个账号。。
为什么呢?以前解决了,又忘记了。。。
写在笔记本上也找不着了。
细细地查了一下
gcloud auth application-default login
试了一下,可以了。。。
在我可以理解的范围之内,我只能理解成故弄玄虚。。