From ba0eb2c4b7e6900d704f79085d45742a8f94e2bc Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 26 Feb 2018 13:00:57 -0500 Subject: [PATCH] new fortune plus new windoze game script zap fallout task will stop any process with fallout in the name on windows, using taskkill --- infobase/fortunes.dat | 28 +++++++++++++++++++ .../fred/scripts/games/zap_fallout_task.sh | 12 ++++++++ 2 files changed, 40 insertions(+) create mode 100644 scripts/customize/fred/scripts/games/zap_fallout_task.sh diff --git a/infobase/fortunes.dat b/infobase/fortunes.dat index c1ee8956..b192b515 100644 --- a/infobase/fortunes.dat +++ b/infobase/fortunes.dat @@ -43199,4 +43199,32 @@ Into a single space. Remember this and practice Dharma from your heart. -- Longchenpa, from "Finding Rest in the Nature of the Mind", published by Shambhala Publications +~ + The most important thing is to have faith and trust in the Buddha’s +words. The Buddha’s teachings were not taught to deceive us but to explain +the way things actually are. Many people try to analyze the Buddha’s +teachings, but how is it possible to scrutinize a buddha’s qualities? We +don’t even know what will happen tomorrow, or when we will die, or anything +about our future lives, so how could we possibly examine the teachings of the +Omniscient One? Since we are totally obscured by our strong disturbing +emotions, in order to progress on the path toward enlightenment, we have no +choice but to have faith in the Buddha’s teachings and apply them in our own +lives. + The ability to practice Dharma depends on certain conditions. For +example, this is a rare time during which the teachings of the Great +Perfection are said to flourish. We’re very fortunate that through +Padmasambhava’s blessings, such teachings have appeared and we’re able to +receive them. We must have accumulated incredible merit and made fervent +prayers very sincerely over numerous lifetimes to be able to encounter such +amazing teachings now. Still, most people are just too involved in worldly +activities to have time to practice the Dharma, and very few people in this +world totally dedicate themselves to the teachings. Most people work for the +sake of success in this life, to gain wealth, fame, power, and so on, but none +of these worldly aims can liberate us from the suffering of samsara; in fact, +they only create further conditions for ensuring that we remain in samsara for +countless lifetimes to come. + -- Penor Rinpoche, from "An Ocean of Blessings: Heart Teachings of Drubwang + Penor Rinpoche", translated by Ani Jinba Palmo, published by Shambhala + Publications + diff --git a/scripts/customize/fred/scripts/games/zap_fallout_task.sh b/scripts/customize/fred/scripts/games/zap_fallout_task.sh new file mode 100644 index 00000000..21e1ddf5 --- /dev/null +++ b/scripts/customize/fred/scripts/games/zap_fallout_task.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# windows compatible process killer for any stray processes started as +#"fallout" something. + +source $FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh + +procid="$( psa fallout | tail -n 1 | awk '{ print $1; }' )" + +if [ ! -z "$procid" ]; then + taskkill.exe /f /pid ${procid} +fi -- 2.34.1