• Explore Vox
  • Culture
  • Entertainment
  • Life
  • Music
  • News & Politics
  • Technology
  • Join Vox
  • Take a Tour
  • Already a Member? Sign in

Random bits

  • chickenandbeans’ Blog
  • Profile
  • Neighbors
  • Photos
  • More 
    • Audio
    • Videos
    • Books
    • Links
    • Collections

Make CPAN non interactive during module installs

  • Oct 3, 2009
  • Post a comment

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

Post a comment Tags: perl, cpan, module, auto, install, noninteractive

Pwetty Pwlease NexusLab stop posting rubbish spam like articles to me

  • Sep 23, 2009
  • Post a comment

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)


Post a comment Tags: spam, monty python, foodstuffs, nexuslab

Weird ssh-agent error: Could not open a connection to your authentication agent.

  • Sep 21, 2009
  • Post a comment

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

Post a comment Tags: unix, linux, ssh, openssh, ssh-agent, ssh-add

Adding a repository to the slooow zypper package manager on openSUSE 11.1

  • Aug 6, 2009
  • Post a comment


zypper addrepo http://download.opensuse.org/repositories/smart/openSUSE_11.1 "smart repo"


zypper install smart

Post a comment Tags: novel, suse, opensuse, opensus11.1, 11.1, zypper, package manager …

Encrypting a file using openssl

  • Aug 3, 2009
  • Post a comment

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

Post a comment Tags: encryption, encrypt, decrypt, ssl, decryption, openssl, decrypt a file, base64 …

Make an ISO Image from a datafolder

  • Jul 3, 2009
  • Post a comment

mkisofs -D -o myiso.iso /home/you/mydatafolder

-D is for deep folders

Post a comment Tags: unix, linux, iso, mkisofs

How To Kill The Extreamly Annoying Ubuntu 9.04 Update Manager Pop-up

  • May 9, 2009
  • Post a comment
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
Post a comment Tags: annoying, ubuntu, popup

Transact - list all tables within a given database with row counts

  • May 8, 2009
  • Post a comment

select a = "select " + "a= " + "'" + name + "'" +", count(*) from " + name from sysobjects where type="U"

Post a comment Tags: sql, sybase, trasact

vim - add to end of line

  • May 7, 2009
  • Post a comment
%       = for every line
norm = type the following commands
A* = append '*' to the end of current line
Post a comment Tags: unix, vim

Creating raw devices with LVM on openSUSE 11.1 for use by Sybase A.S.E 15.0.3

  • Apr 9, 2009
  • Post a comment

*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


 


Post a comment Tags: raw, sybase, lvm, raw devices, ase 15, mknod

Read more from chickenandbeans »

chickenandbeans

About Me

chickenandbeans
View my profile
/dev/random bits

My Groups

  • Unix
    Unix Updated: Sep 25, 2009
  • opensuse
    opensuse (host) Updated: Sep 21, 2009
  • Sybase - Adaptive Server Enterprise
    Sybase - Adaptive Server Enterprise (host) Updated: May 8, 2009

View my groups

Neighborhood

  • Team Vox
    Team Vox Updated: 5 days ago

Explore friends, family, friends & family, or entire neighborhood.

View my neighbors

Tags

  • apache
  • bcp
  • certificate authority
  • fix
  • howto
  • howto notes
  • iproute2
  • linux
  • micro-blog
  • networking
  • openssl
  • opensuse
  • ssh
  • ssl
  • suse
  • sybase
  • tips
  • unix
  • vi
  • vim

View my tags

Archives

  • October 2009 (1)
  • September 2009 (2)
  • August 2009 (2)
  • July 2009 (1)
  • May 2009 (3)
  • 2009 (42)
  • 2008 (5)

Subscribe

  • Subscribe to a feed of these posts
  • Powered by Vox
  • Theme designed by Lilia Ahner
  • Use this theme

Photos

  • Jimkelly

View more of my photos

Links

  • Chicken N Beans - We make things..

    Chicken N Beans - We make t...

    http://www.chickena...

    My microblog. Find out what i'm doing by the hour you sad...

View more of my links

  • Home
  • Explore
  • Tour Vox
  • Start a Vox Blog
Already a member? Sign in

Back to top

View Vox in your language: English | Español | Français | 日本語

Brought to you by Six Apart, creators of Movable Type, Vox and TypePad.
Six Apart Services: Blogs | Free Blogs | Content Management | Advertising

Vox © 2003-2008 Six Apart, Ltd. All Rights Reserved.
Help | Learn More | Terms of Service | Privacy Policy | Copyright | Advertise | Get a Free Vox Blog

Loading…

Adding this item will make it viewable to everyone who has access to the group.

Adding this post, and any items in it, will make it viewable to everyone who has access to the group.

Create a link to a person
Search all of Vox
Your Neighborhood
People on Vox

(Select up to five users maximum)

Vox Login

You've been logged out, please sign in to Vox with your email and password to complete this action.

Email:
Password:
 
Embed a Widget
Widget Title: This is optional
Widget Code: Insert outside code here to share media, slideshows, etc. Get more info
OK Cancel

We allow most HTML/CSS, <object> and <embed> code

Processing...
Processing
Message
Confirm
Error
Remove this member