On the CPAN prompt type:
o conf prerequisites_policy follow
To make the change permanent, i.e survive a CPAN exit type:
o conf commit
Please NexusLab stop posting NexusLab like rubbish spam-like articles to me. I know you have to get your name on google, but these unsolicited spam like NexusLab articles are a bit much. I know it's all about word patterns and associating NexusLab with words in the spam like articles, but really.. ask first. ... then again by mentioning NexusLab (because of spam like articles) so many times in my blog perhaps this is what you were after?
I wonder how this google word / search association stuff works? (rhetorical question)
Thank you and goodbye.
On another note:
And now for something completely different... a song or two:
Lovely spam, wonderful spa-a-m,
Lovely spam, wonderful S Spam,
Spa-a-a-a-a-a-a-am,
Spa-a-a-a-a-a-a-am,
SPA-A-A-A-A-A-A-AM,
SPA-A-A-A-A-A-A-AM,
LOVELY SPAM, LOVELY SPAM,
LOVELY SPAM, LOVELY SPAM,
LOVELY SPA-A-A-A-AM...
SPA-AM, SPA-AM, SPA-AM, SPA-A-A-AM!
Spam in the place where I live (ham and pork)
Think about nutrition, wonder whats inside it now (oh boy)
Spam in my luchbox at work (its the best)
Really makes a darn good sandwhich any way you slice it at all
If youre running low, go to the store
Carry some money to help you buy more
The tab is there to open the can
The can is there to hold in the spam
Oh, spam on the table at home (ham and pork)
Think about selection, are there different flavors now (lets eat)
Spam in my office at work (its the best)
Think about the stuff its made from, wonder if its mystery of meat
If you need a spoon, keep one around
Carry a thermose to help wash it down
Now, if theres some left, dont just throw it out
Use it for spackle or bathroom grout, now
Spam in my pantry at home (have some more)
Think of expiration, better read the lable (oh boy)
Spam breakfast, dinner, or lunch (its the best)
Think about how its been precooked, wonder if Ill just eat it cold
Now, once you start in, you cant put it down
Dont leave it sitting or itll turn brown
The key is going to open the tin
The tin is there to keep the spam in
Oh, spam (spam)
Ham and pork
Think about nutrition, wonder whats inside it now (oh boy)
Spam (spam)
Its the best
Really makes a darn good sandwhich any way you slice it
Spam in the place where I live (have some more)
Think about addiction, wonder if Im a junkie now (lets eat)
Spam in the place where I work (youre obsessed)
Think about the way its processed, wonder if its some kind of meat
Spam in the back of my car (ham and pork)
Spam any place that you are (ham and pork)
The tab is there to open the can (spam any place that you are) (ham and pork)
The can is there to hold in the spam (spam any place that you are) (ham and pork)
Weird inexplicable ssh-agent error. Running ssh-add causes the following error:
Could not open a connection to your authentication agent.
The solution was to execute in your terminal:
"exec ssh-agent bash"
Then it suddenly works. Voodoo.
Really need to debug this at some point.
ssh version:
OpenSSH_5.2p1, OpenSSL 0.9.8k
zypper addrepo http://download.opensuse.org/repositories/smart/openSUSE_11.1 "smart repo"
zypper install smart
Encrypt:
Outputs a binary
openssl enc -rc4-40 -salt -in myPrivateFile.txt -out myPrivateFile.txt.enc
Outputs in base64 ascii, so one can paste email into file
openssl enc -rc4-40 -salt -a -in myPrivateFile.txt -out myPrivateFile.txt.enc
Decrypt:
Decrypt binary:
openssl enc -d -rc4-40 -in myPrivateFile.txt.enc
Decrypt base64-encoded version:
openssl enc -d -rc4-40 -a -in myPrivateFile.txt.enc
mkisofs -D -o myiso.iso /home/you/mydatafolder
-D is for deep folders
gconftool -s --type bool /apps/update-notifier/auto_launch false
--- never thought i'd see the say with a Linux/GNU O.S.
Shame on the few (because it could not have been the majority) people that thought this was a great idea
Edit: The above doesn't seem to kill it. I install something using apt-get via the command line and the thing popped up again! Seems to be unstoppable!
--Check out the messed up formatting
select a = "select " + "a= " + "'" + name + "'" +", count(*) from " + name from sysobjects where type="U"
% = for every line
norm = type the following commands
A* = append '*' to the end of current line
*THIS IS A WORK IN PROGRESS. IF YOU FOLLOW THIS WITHOUT KNOWING WHAT YOU ARE DOING YOU ARE CRAZY.
Create LVM volume group.
I'm going to create 34 2 GB lvm partitions (named sybaseraw1, sybaseraw2 ... sybaseraw34) with the following command:
for ((i=1;i < 35;i++)) do echo "lvcreate -L 2GB -n sybaseraw$i sybase"; done
Run lvmdisplay to see if the devices were created.
On my system the devices are created in:
/dev/sybase
34 raw devices need to be created and bound to the 34 lvm devices created in the above command:
create a directory for the raw devices: mkdir -p /dev/raw
Edit the /etc/init.d/raw file. Here the actual raw devices need to be created. The 'start' case block is where this code should be located:
for ((i=1;i<35;i++));do
mknod /dev/raw/raw$i c 162 $i
done
for i in $line;do
rawdev=`echo $i | cut -f1 -d:`
rawbind=`echo $i | cut -f2- -d:`
echo -n "bind /dev/raw/$rawdev to /dev/$rawbind..."
$RAW_BIN /dev/raw/$rawdev /dev/$rawbind > /dev/null 2>&1
chmod 660 /dev/raw/$rawdev
chown sybase:sybase /dev/raw/$rawdev
rc_status -v
done
Edit the /etc/raw file. The /etc/init.d/raw reads this file to bind the devices to the lvm devices:
raw1:sybase/sybaseraw1
raw2:sybase/sybaseraw2
raw3:sybase/sybaseraw3
raw4:sybase/sybaseraw4
raw5:sybase/sybaseraw5
raw6:sybase/sybaseraw6
raw7:sybase/sybaseraw7
raw8:sybase/sybaseraw8
raw9:sybase/sybaseraw9
raw10:sybase/sybaseraw10
raw11:sybase/sybaseraw11
raw12:sybase/sybaseraw12
raw13:sybase/sybaseraw13
raw14:sybase/sybaseraw14
raw15:sybase/sybaseraw15
raw16:sybase/sybaseraw16
raw17:sybase/sybaseraw17
raw18:sybase/sybaseraw18
raw19:sybase/sybaseraw19
raw20:sybase/sybaseraw20
raw21:sybase/sybaseraw21
raw22:sybase/sybaseraw22
raw23:sybase/sybaseraw23
raw24:sybase/sybaseraw24
raw25:sybase/sybaseraw25
raw26:sybase/sybaseraw26
raw27:sybase/sybaseraw27
raw28:sybase/sybaseraw28
raw29:sybase/sybaseraw29
raw30:sybase/sybaseraw30
raw31:sybase/sybaseraw31
raw32:sybase/sybaseraw32
raw33:sybase/sybaseraw33
raw34:sybase/sybaseraw34
*note: when editing the /etc/raw file do not specify the full paths the devices. i.e. /dev/raw/raw34:/dev/sybaseraw34 won't work :)
Run chkconfig -s raw on so the devices start at boot time