THE SPEW - Land where drunk cows swim and home to my daily hand...
streaming media & music | Home | Archives | Albums | Pics

Improved Squirrel Launcher-Catapult

12 September, 2008 09:57

Remember my post: Squirrel Catapult - Serves them all right?  Well, here is a video of a new and improved version (a day late, though couldn't wait for next week for this one):

[RSS Viewers - click on the post link for the video]

[Squirrel Thursday]
[Comments(0)] [Trackbacks(0)] [Permalink]

HOWTO: remove and allow USER and system environment variables from or into your Linux processes

11 September, 2008 07:01

A user executing a process usually passes their account environment information in which an application could use, or rather others could take advantage of this additional and sensitive information such as: path info, user name, group name, PWD, SHELL, etc..

First let's look at a bash script to remove and allow USER and system environment variables from or into your Linux processes:

#!/bin/sh

 ALLOWED_ENV="PATH"

This defines environment data that you would like your process to have access too.

Let's try this while executing a process using variables that are needed by the process in conjunction with the only extra PATH env data you have defined to be passed to it - a couple extra for the command execution itself.

RUNTIME=10

TIMEOUT=3

SWITCHES="-d 100 --db 50"

At this time you would want to export these variables until your current environment that are passed indirectly to your process.

export RUNTIME

export TIMEOUT

Now lets combine RUNTIME, TIMEOUT, and PATH.

ALLOWED_ENV="$ALLOWED_ENV RUNTIME TIMEOUT"

Now lets define a variable with the application & command line parameter.

RUNME="/usr/local/bin/server-app $SWITCHES"

Now we want to create a NULL variable to recreate the environment variables which were not defined as above.

NICETOMEETYOU=

Now let's compare and contrast them, and have NICETOMEETYOU fully introduced to your new environment.  You may reference the Bash man page.

for i in $ALLOWED_ENV; do

NICETOMEETYOU="$NICETOMEETYOU $i=${!i}"

done

Hey, we are getting there.  NICETOMEETYOU now contains your new environment.  Now we want to switch your current environment with your new user or system environment variables and execute your process:

env - $NICETOMEETYOU $RUNME

To finish up the Bash script, enter any appropriate exit code when customizing something similar to this.

Your application now has its very own system, user, and group environment.

[Software] [Projects]
[Comments(1)] [Trackbacks(0)] [Permalink]

Chamomile Essential Oil & Internal Cleansing

09 September, 2008 06:36

Chamomile Essential Oil:

"..anti allergenic, help cure acne by removing toxins and cleaning Sebaceous and Eccrine glands through sweating, clean up the urinary system and the kidneys through increased urination (being diuretic), detoxify blood and increase strength as they are also fortifying in nature. They can help cure viral infections like mumps, measles etc. Can be used in mouth wash too, to keep away bad breath and eliminate oral infections. German Camomile oil is a vasoconstrictor."

"Carminative: Expel gas from the intestines and stomach and also check gas formation. This also helps relax the body and lower blood pressure. It also ends the chances of other risks from gas, such as trapping of gas in the wind pipe etc."

"Stomachic, Digestive and Hepatic & Cholagogue: Being stomachic, they tone up stomach and set it to proper function. They promote secretion of digestive juices into stomach and facilitate digestion. They also promote digestion. Being Hepatic (meaning good for liver), they ensure good health of liver and proper flow of bile from it. They are also Cholagogue, meaning they increase secretion of Hydrochloric Acid, bile and enzymes in stomach, thereby promoting digestion."

"Anti Septic, Anti Biotic, Disinfectant, Bactericidal & Vermifuge: They have very good anti septic and anti biotic properties and do not let biotic infections (infections due to biotic factors such as bacteria, fungi etc.) develop. They also wipe off infections already present. These are good vermifuge too and kill all sorts of intestinal worms. If applied on hair, it kills lice and mites, keeping hair and scalp free from infections and damage."

-- Health Benifits of Chamomile Essential Oil

The link above with this information was provided by wikipedia:

http://en.wikipedia.org/wiki/Anthemis_nobilis (Anthemis nobilis)

[Aromatherapy]
[Comments(0)] [Trackbacks(0)] [Permalink]

going camping and cooking squirrel - evil squirrel

04 September, 2008 16:49

I am going camping this weekend, and a feast I shall have:

[Squirrel Thursday]
[Comments(0)] [Trackbacks(0)] [Permalink]

Noonan and Murphy on Palin

04 September, 2008 05:51

"It's funny what Republican pundits say when they think nobody's watching. Today, John McCain's former campaign chief Mike Murphy and former Reagan speechwriter Peggy Noonan were caught on tape after an NBC interview. They shared their real thoughts on McCain's judgment in selecting Alaska Governor Sarah Palin as his running mate.

Noonan asked, "The most qualified? No." She called the selection of Palin "political [B.S.]." Murphy called McCain's selection gimmicky and cynical. The video and transcript are below. This is a breaking story today—it's on many top blogs and is climbing the YouTube charts." -- http://www.moveon.org

[Day to Day]
[Comments(0)] [Trackbacks(0)] [Permalink]

Hecker is right, Picasa DOES rock

03 September, 2008 12:44

For my primary play and play desktop I use Picasa (a Google picture management application) for organizing my massive collection of, porn (no, just kidding), vacation pictures, things of geek, and a few PICS of personal experiences here and there).

It interfaces with every camera I have used, with Linux using emulation.  I greeted, and have used this application for all my pictorial and publicly available pictures I have available for this domain.  The high organizational level of this application with its simplicity of use makes this wine accessible application the perfection to what I have experienced - the most available, and desirable semi-native media managers for Linux.

Thanks Hecker for your informative Picasa Post.

[Software]
[Comments(0)] [Trackbacks(0)] [Permalink]

Land where drunk cows swim and home to my daily hand