life

【嘤格利希】THE MEANING OF LIFE

心已入冬 提交于 2020-03-27 07:28:49
I start to looking for the meaning of life from my highschool period. One day, in a chemistry class, I looked out the window, the teacher called my name because he found me hadn't focused on the class.He asked me what am I think about, and I told him, I was thinking the meaning of life. He thought for severial seconds and told me he did the same thing in his univercity period, he wanted me to move on and focused on the chemistry class after I finished the thinking. That's the earliest memory I have about exploring the meaning of life. When I get older, I felt curious about prediction, I wanna

Oracle修改数据库密码有效期修改

我的梦境 提交于 2020-03-17 03:34:30
select * from dba_profiles s where s.profile=‘DEFAULT’ and resource_name=‘PASSWORD_LIFE_TIME’; alter profile default limit password_life_time unlimited; 参考链接:https://www.cnblogs.com/xgxhellboy/archive/2013/06/14/3135005.html 来源: CSDN 作者: Jackson_Wzx 链接: https://blog.csdn.net/weixin_40720406/article/details/104903527

while循环与for循环

最后都变了- 提交于 2020-03-03 23:31:07
while循环 while 条件 : 代码块 inp_age = input('>>>Please input the age :') inp_age = int(inp_age) if inp_age < 18: print("it's too small!") elif inp_age == 18: print('congratulatin!!!') else: print("it's too big!!!") >>>Please input the age :23 it's too big!!! while True: inp_age = input('>>>Please input the age :') inp_age = int(inp_age) if inp_age > 18: print("it's too big!!!") elif inp_age == 18: print('Congratulations!!!') break else: print("it's too samll!!!") >>>Please input the age :16 it's too samll!!! >>>Please input the age :19 it's too big!!! >>>Please input the age :18 Congratulations!!!

[珍藏]If life cheats you

纵然是瞬间 提交于 2020-02-13 05:09:22
If life cheats you - [ Russia ] Alesander Pushkin If life cheats you , don't be disappointed and worried . Calmness is needed in melancholy days . Believe that pleasantness is coming . Long for the bright future though you are unhappy . All will pass by and everything will be over . Past things will be pleasant memories. 假如生活欺骗了你, 不要悲伤,不要心急。 阴郁的日子需要镇静。 相信吧,那愉快的日子即将来临。 心永远憧憬着未来,尽管现在常常是阴沉的。 一切都是瞬息,一切都会过去,而过去了的,将会变成亲切的怀念。 -- [俄]普希金 注:大学毕业时,毕业典礼上,一个朋友引用了此诗句,点滴,回忆,回味,逝去,遐想,曾今,远久,记忆,美好。。。 SkySeraph Oct.17th,2010 HQU XiaMen China Email: zgzhaobo@gmail.com QQ:452728574 来源: https://www.cnblogs.com

java的23种设计模式

血红的双手。 提交于 2020-02-06 01:24:57
java 23种设计模式 深入理解 1、设计模式(Design Pattern)是一套被反复使用、多数人知晓的、经过分类的、代码设计经验的总结。 使用设计模式的目的:为了代码可重用性、让代码更容易被他人理解、保证代码可靠性。 设计模式使代码编写真正工程化;设计模式是 软件工程 的基石脉络,如同大厦的结构一样。 2、设计模式的六大原则 2.1、开闭原则(Open Close Principle) 开闭原则就是说 对扩展开放,对修改关闭 。在程序需要进行拓展的时候,不能去修改原有的代码,实现一个热插拔的效果。所以一句话概括就是:为了使程序的扩展性好,易于维护和升级。想要达到这样的效果,我们需要使用接口和抽象类,后面的具体设计中我们会提到这点。 2.2、里氏代换原则(Liskov Substitution Principle) 里氏代换原则(Liskov Substitution Principle LSP)面向对象设计的基本原则之一。 里氏代换原则中说,任何基类可以出现的地方,子类一定可以出现。 LSP是继承复用的基石,只有当衍生类可以替换掉基类,软件单位的功能不受到影响时,基类才能真正被复用,而衍生类也能够在基类的基础上增加新的行为。里氏代换原则是对“开-闭”原则的补充。实现“开-闭”原则的关键步骤就是抽象化。而基类与子类的继承关系就是抽象化的具体实现

[LC] 289. Game of Life

Deadly 提交于 2020-02-05 22:40:48
According to the Wikipedia's article : "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970." Given a board with m by n cells, each cell has an initial state live (1) or dead (0). Each cell interacts with its eight neighbors (horizontal, vertical, diagonal) using the following four rules (taken from the above Wikipedia article): Any live cell with fewer than two live neighbors dies, as if caused by under-population. Any live cell with two or three live neighbors lives on to the next generation. Any live cell with

Intermediate Python

只愿长相守 提交于 2020-01-28 23:07:48
Intermediate Python 1. Matplotlib </> Line plot print() the last item from both the year and the pop list to see what the predicted population for the year 2100 is. Use two print() functions. print ( year [ - 1 ] ) print ( pop [ - 1 ] ) 2100 10.85 Before you can start, you should import matplotlib.pyplot as plt. pyplot is a sub-package of matplotlib, hence the dot. Use plt.plot() to build a line plot. year should be mapped on the horizontal axis, pop on the vertical axis. Don’t forget to finish off with the show() function to actually display the plot. from matplotlib import pyplot as plt plt

Zen Book of Life by Mark Zocchi

人走茶凉 提交于 2020-01-16 13:45:26
Although I try to hold the single thought of Buddha's teaching in my heart, I cannot help but hear the many crickets' voices calling as well. ISUMI SHIKIBU // When my house burned down I gained an unobstructed view of the moonlight sky ZEN WISDOM // Out of clutter, find simplicity. From discord, find harmony. In the middle of difficulty lies opportunity. ALBERT EINSTEIN // Sit quietly doing nothing, Spring comes, And the grass grows By itself. ZEN WISDOM (SAYING) // There is no place in Buddhism for using effort. Just be ordinary and nothing special. Relieve your bowels, pass water, Put your

End of Life check fails with NullPointerException

末鹿安然 提交于 2020-01-11 00:11:57
Checks if the running version of JIRA is approaching, or has reached End of Life. Details Type: Bug Status:RESOLVED ( View Workflow ) Priority: Low Resolution:Tracked Elsewhere Affects Version/s:7.6.0 Server, 7.6.1 Server, 7.6.2 Server Fix Version/s: 7.6.3 Server Component/s: System Administration - Support Tools Labels: warranty Support reference count: 21 Symptom Severity: Minor UIS: 20 Description Summary End of Life check (under Atlassian Support tool) fails with NullPointerException Checks if the running version of Jira is approaching, or has reached End of Life. Result Exception during

1001 Quotes and Sayings by Skylar Sorren

早过忘川 提交于 2020-01-01 02:28:33
“Comparison kills.” ~Chris Guillebeau, The Art of Non-Conformity // “You have suffered enough at war with yourself. Its time that you won.” ~The Frames, Falling Slowly // “Be miserable or motivate yourself. Whatever has to be done, it’s always your choice.” ~Wayne Dyer // “Love is an act of endless forgiveness, a tender look which becomes a habit.” ~Peter Ustinov // “A wise man, recognizing that the world is but an illusion, does not act as if it is real, so he escapes the suffering.” ~Buddha // “The winner of the rat-race will always remain a rat.” ~Unknown // “You will be the same person in