Create an Account
username: password:
 
  MemeStreams Logo

Lost's MemeStream

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
GPG Cheat Sheet
Topic: Technology 6:38 am EST, Mar  6, 2007

Cheat for the GPG.

GPG Cheat Sheet


How to mysqldump a single table's entries for the previous day, encrypt them with GPG, and mail them home OR The longest shell command of my career
Topic: Technology 6:17 am EST, Mar  6, 2007

mysqldump --user=me --password=pass --no-create-db --no-create-info -w 'SUBSTR(myTimeStampField FROM 1 FOR 10) = SUBSTR(DATE_SUB(now(), INTERVAL 1 DAY) FROM 1 FOR 10)' myDatabase myTable | gpg --yes -e -a -o - -r me@myaddress.com | mailx -s "Entries in myDatabase.myTable for `date`" me@myaddress.com

If you export your public key and copy it to the database server for encryption, you will need to sign it with that server's key. So, generate a key with 'gpg --gen-key' and then sign your public key with 'gpg --lsign me@myaddress'

I was totally unable to get gpg on OS X or solaris to manually adjust the trust of my public key, so signing it was the only choice. It works.

Now, I know this is just two pipes and single set of back-ticks but... if you knew how long it took to get gpg to use my public key, and to get it to work without asking me if I was sure, and to get mysqldump to take a where clause, and to get it to generate useful output for day - 1 after I happened to fix the timezone for that server, and to be sure it worked with the delay in mail delivery...

You would pat me on the baxor.

How to mysqldump a single table's entries for the previous day, encrypt them with GPG, and mail them home OR The longest shell command of my career


YouTube - Royksopp - Remind Me
Topic: Arts 1:02 pm EST, Mar  5, 2007

This song was used in the Geico Caveman Airport Commercial. The video is a whimsical exploration of infographics.

I can't get enough of these kinds of animations. I love infographics. They reduce everything to their structural core, and this makes me happy.

YouTube - Royksopp - Remind Me


BBC NEWS | Health | Gay men seek 'female cancer' jab
Topic: Health and Wellness 3:17 am EST, Mar  4, 2007

Homosexual men are requesting a controversial "sex disease" vaccine designed to prevent a female cancer.

Gardasil protects against the most common of sexually transmitted infections, human papillomavirus (HPV), which can cause cervical cancer.

But HPV also causes genital warts and anal and penile cancer, and men argue the jab would guard against these.

Many private clinics are offering it to men. One in London says it has immunised dozens in the last six weeks.

BBC NEWS | Health | Gay men seek 'female cancer' jab


Solaris Things: How small can you make Open Solaris - Part 1
Topic: Technology 2:02 am EST, Mar  3, 2007

How small can you make Open Solaris - Part 1

Solaris started its life as operating system for workstations and then progressed to servers. It has always been an operating system dominated by features, showing Sun's R&D capability. This is great if you are installing a server or a desktop, but has far too many features for building an appliance. Luckily the installing comes with some reduced installation clusters which tries to bring the installation down to the bare minimum. Unfortunately the last time I looked the smallest install was still several hundred megabytes. Linux on the other hand has had a project going for while now called "Damn Small Linux", which strips Linux down to around 50 megabytes. This is a perfect base to start building an appliance, build your own distro, or strip the kernel down further for an embedded device.

Can Solaris become as small as "Damn Small Linux". The answer is a resounding yes (and probably smaller). Lets investigate how this can be done. The first thing to do is to state the goal, which is to be able to successfully boot into a shell and execute a simple command such as 'ls'. The logical place to start is with the smallest running version of Solaris supplied by Sun. If you have a x86 grub version of Solaris you will find a 52 megabyte file in your /boot directory called x86.miniroot-safe. This file is a gzipped UFS image that is booted when you select "Solaris failsafe" from the grub menu. Using it to boot to single user mode will mount the root filesystem and give you a root shell. It also contains the code to start a Solaris installation.

Now we have found an ideal candidate, lets start ripping it apart. The first step is to copy it (as you may need it if you break something), and setup new menu option in grub.

Solaris Things: How small can you make Open Solaris - Part 1


FreeNAS - The Free NAS server - Home
Topic: Technology 12:08 am EST, Mar  3, 2007

FreeNAS is a free NAS (Network-Attached Storage) server, supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI protocols, S.M.A.R.T., local user authentication, Software RAID (0,1,5) with a Full WEB configuration interface. FreeNAS takes less than 32MB once installed on Compact Flash, hard drive or USB key.
The minimal FreeBSD distribution, Web interface, PHP scripts and documentation are based on M0n0wall.

FreeNAS - The Free NAS server - Home


How to setup openvpn on OS X, and Solaris
Topic: Technology 10:20 pm EST, Mar  2, 2007

General and Solaris instructions here: Toby's Memestreams

(Most of the rest pulled from user toby's instructions as well)

Download latest lzo library from http://www.oberhumer.com/opensource/lzo/download/

# cd lzo-2.02
# ./configure
# make install

Download latest openvpn 2.0.x from http://openvpn.net/download.html

# cd openvpn-2.0.8
# ./configure
# make install

Download & install tun driver: http://www-user.rhrk.uni-kl.de/~nissler/tuntap/

Create openvpn client config directory and copy 5 supplied files into it (substitute the right names for your cert and key files):

# mkdir -p /etc/openvpn/
# mv ca.crt ta.key local.conf mypc-vpnclient.* /etc/openvpn/
# cd /etc/openvpn/
# chmod 400 ta.key mypc-vpnclient.key.pem
# chmod 444 ca.crt mypc-vpnclient.cert.pem
# chown -R root:wheel .

(Note the two private key files are confidential)

To connect:

# /usr/local/sbin/openvpn --config /etc/openvpn/local.conf --daemon

To disconnect:

# kill `cat /var/run/openvpn.pid`
or
# killall openvpn

To set openvpn to init on boot, do this:

http://openvpn.net/archive/openvpn-users/2005-12/msg00424.html

The second string in that example is the path to the config file. The other paths are to the directory that file and the keys reside in.

How to setup openvpn on OS X, and Solaris


Kurt Vonnegut's Last Paid Speaking Appearance
Topic: Arts 7:38 pm EST, Mar  2, 2007

“To hell with the advances in computers,” he says after he finishes singing. “YOU are supposed to advance and become, not the computers. Find out what’s inside you. And don’t kill anybody.

“There are no factories any more. Where are the jobs supposed to come from? There’s nothing for people to do anymore. We need to ask the Seminoles: ‘what the hell did you do?’’ after the tribe’s traditional livelihood was taken away.

Answering questions written in by students, he explains the meaning of life. “We should be kind to each other. Be civil. And appreciate the good moments by saying ‘If this isn’t nice, what is?’

“You’re awful cute” he says to someone in the front row. He grins and looks around. “If this isn’t nice, what is?

“You’re all perfectly safe, by the way. I took off my shoes at the airport. The terrorists hate the smell of feet.

“We are here on Earth to fart around,” he explains, and then embarks on a soliloquy about the joys of going to the store to buy an envelope. One talks to the people there, comments on the “silly-looking dog,” finds all sorts of adventures along the way.

As for being a midwesterner, he recalls his roots in nearby Indianapolis, a heartland town, the next one west of here. “I’m a fresh water person. When I swim in the ocean, I feel like I’m swimming in chicken soup. Who wants to swim in flavored water?”

A key to great writing, he adds, is to “never use semi-colons. What are they good for? What are you supposed to do with them? You’re reading along, and then suddenly, there it is. What does it mean? All semi-colons do is suggest you’ve been to college.”

Make sure, he adds, “that your reader is having a good time. Get to the who, when, where, what right away, so the reader knows what is going on.”

As for making money, “war is a very profitable thing for a few people. Jesus used to be so merciful and loving of the poor. But now he’s a Republican.

“Our economy today is not capitalism. It’s casino-ism. That’s all the stock market is about. Gambling.

Kurt Vonnegut's Last Paid Speaking Appearance


Sun's Website is a Piece of Crap
Topic: Business 6:56 pm EST, Mar  2, 2007

I like Sun products. I use Solaris. I buy Sun Servers. I recommend Sun products. I tell people to buy Sun stock. I have had good experiences with Sun Support. I participate in the local OpenSolaris Users' Group. I believe in Sun as a company.

But Sun's website is a piece of shit. It is terrible. It is difficult to navigate, downloading anything is a pain, finding anything is impossible, and if anything is broken you can always rely on the outsourced web staff to not fix the problem. Which happens frequently. I have had Sun sales staff inform me that ever since their website was outsourced, these problems have plagued them. Gee whiz, who would have thought?

I want to believe in Sun, but its hard when they make the ENORMOUS MISTAKE of outsourcing their website development. They are a technology company, and their website BLOWS.

Here's one example that just pisses me off:

The Sunray 2. Here it is "From $249. (US)"

So click there and it still says "From $249 (US)." Now click "Customize it." It starts at $374. There is a non-optional license for each Sunray 2.

One moment it starts at $249. The next moment it is $374. What kind of total bullshit is that? The kind that makes me buy from someone else, thats what kind.

Of all the companies on planet earth, Sun has the LEAST excuse to have a bad, slow, crappy website. And yet they do. And they're supposed to be recovering. Well guess what? By the looks of their website, Sun is rotten. Rotten to the core.

Fire whoever was in charge of this, and get someone competent. And hire a westerner or two in the website department.

Sun's Website is a Piece of Crap


Planet Catalyst
Topic: Miscellaneous 1:57 pm EST, Mar  2, 2007

calling

Planet Catalyst


(Last) Newer << 130 ++ 140 - 141 - 142 - 143 - 144 - 145 - 146 - 147 - 148 ++ 158 >> Older (First)
 
 
Powered By Industrial Memetics
RSS2.0