-
Notifications
You must be signed in to change notification settings - Fork 1
/
mod.ts
49 lines (47 loc) · 3.29 KB
/
mod.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
export const quotes = [
"Act only according to that maxim whereby you can, at the same time, will that it should become a universal law. - Immanuel Kant",
"An unexamined life is not worth living. - Socrates",
"Be present above all else. - Naval Ravikant",
"Do what you can, with what you have, where you are. - Theodore Roosevelt",
"Happiness is not something readymade. It comes from your own actions. - Dalai Lama",
"He who is contented is rich. - Laozi",
"I begin to speak only when I am certain what I will say is not better left unsaid. - Cato the Younger",
"I have not failed. I've just found 10,000 ways that won't work. - Thomas Edison",
"If you do not have a consistent goal in life, you can not live it in a consistent way. - Marcus Aurelius",
"It is never too late to be what you might have been. - George Eliot",
"It is not the man who has too little, but the man who craves more, that is poor. - Seneca",
"It is quality rather than quantity that matters. - Lucius Annaeus Seneca",
"Knowing is not enough; we must apply. Being willing is not enough; we must do. - Leonardo da Vinci",
"Let all your things have their places; let each part of your business have its time. - Benjamin Franklin",
"Live as if you were to die tomorrow. Learn as if you were to live forever. - Mahatma Gandhi",
"No surplus words or unnecessary actions. - Marcus Aurelius",
"Nothing worth having comes easy. - Theodore Roosevelt",
"Order your soul. Reduce your wants. - Augustine",
"People find pleasure in different ways. I find it in keeping my mind clear. - Marcus Aurelius",
"Simplicity is an acquired taste. - Katharine Gerould",
"Simplicity is the consequence of refined emotions. - Jean D'Alembert",
"Simplicity is the essence of happiness. - Cedric Bledsoe",
"Simplicity is the ultimate sophistication. - Leonardo da Vinci",
"Smile, breathe, and go slowly. - Thich Nhat Hanh",
"The only way to do great work is to love what you do. - Steve Jobs",
"The whole future lies in uncertainty: live immediately. - Seneca",
"Very little is needed to make a happy life. - Marcus Aurelius",
"Waste no more time arguing what a good man should be, be one. - Marcus Aurelius",
"Well begun is half done. - Aristotle",
"When there is no desire, all things are at peace. - Laozi",
"Walk as if you are kissing the Earth with your feet. - Thich Nhat Hanh",
"Because you are alive, everything is possible. - Thich Nhat Hanh",
"Breathing in, I calm body and mind. Breathing out, I smile. - Thich Nhat Hanh",
"Life is available only in the present moment. - Thich Nhat Hanh",
"The best way to take care of the future is to take care of the present moment. - Thich Nhat Hanh",
"Nothing in life is to be feared, it is only to be understood. Now is the time to understand more, so that we may fear less. - Marie Curie",
"The biggest battle is the war against ignorance. - Mustafa Kemal Atatürk",
"Always remember that you are absolutely unique. Just like everyone else. - Margaret Mead",
"You must be the change you wish to see in the world. - Mahatma Gandhi",
];
if (import.meta.main) {
const quote = quotes[Math.floor(Math.random() * quotes.length)];
const [text, author] = quote.split(/\s*-\s*/);
console.log(` %c“ ${text} ”`, "font-weight: bold");
console.log(` %c— ${author}`, "color: gray");
}