Monthly Archive for June, 2004

New simplelink

I updated the simplelink pluggin to recognize ?, = , &, and + characters.

http://johnjosephbachir.org/si
mplelink

Gmail compose button

One problem I have with essentially all email clients I’ve used other than pine is that there is no way to guarantee that I will only look at my inbox when I explicitly choose to. I like to do this so that in the middle of working I can compose and send email without being distracted by new email that I may have gotten.

Now this is possible with gmail, too! Just make a bookmark to this url:

http://gmail.google.com/gmail?view=page&name=compose&cmid=0&fs=1&tearoff=1

If you are logged into gmail, going to this address will bring up a compose form. You can compose, spell check, and send email without going back to the main menu and inbox. If you put the bookmark in your bookmarks bar, then you’ve created yourself a little compose button.

I’m brilliant!

update: It doesn’t work anymore. Gmail has changed the code, and I haven’t gotten around to figuring out the new url myself (last time I farmed it from Gmailto, http://gu.st/code/Gmailto, which has not yet been updated for the new url).

another update: Thanks to gCount, here is the current url to use:

http://gmail.google.com/gmail?view=cm&cmid=0&fs=1&tearoff=1

another update:

Drag this link to your bookmarks bar

compose

another update:

Drag this link to your bookmarks bar

compose

Michael Moore’s Media Techniques

Here’s a well written look at how Michael Moore positioned his film to be palat able to a general audience, and to create the right hype at the right time.

http://tinyurl.com/36zwk

The Ten [Business] Commandments

Excerpts from The Ten Crack Commandments by The Notorious B.I.G., with my interpretations in bold.

[1] Never let no one know how much dough you hold; the cheddar breed jealousy ’specially if that man fucked up, get your ass stuck up.

Do not talk about your success to others. Doing so may result in jealousy from those around you, tempting the more desperate of them to harm your business for their personal gain.

[2] Never let em know your next move; don’t you know Bad Boys move in silence or violence.

Do not let competitors know about your business plans. Successful businesses act with discretion or resolve, never in between.

[3] Never trust no-bo-dy; Your moms’ll set that ass up, properly gassed up; Hoodie to mask up, shit, for that fast buck; she be layin’ in the bushes to light that ass up.

Be wary of who you trust. It is possible for even a seemingly good hearted loved one to take advantage of you when you least expect it.

[4] Never get high on your own supply.

Do not take your assets for granted and foolishly use them for projects that are unlikely to turn a profit.

[5] Never sell no crack where you rest at; I don’t care if they want a ounce, tell em bounce.

Only deal with large, dependable markets. It may be tempting to earn some quick revenue by taking advantage of a small but convenient market in the short term, but this will be detrimental to the size and quality of your customer base in the long term.

[6] That god damn credit, dead it; You think a crackhead payin you back, shit forget it.

Do not sell your products on credit in the hopes of taking advantage of the wealth of a future economy. If your current customers cannot afford your products then you should target a different market or use a different business model.

[7] This rule is so underrated: keep your family and business completely separated.

[8] Never keep no weight on you; Them cats that squeeze your guns can hold jums too.

Don’t take on unnecessary burdens in terms of (a)liability and (b)responsibility. a: The more of a project that you are in charge of, the more accountable you will be for its failure. b: Be sure to fully exploit the talent and ability of your human capital.

[9] If you ain’t gettin bags stay the fuck from police; If niggaz think you snitchin ain’t tryin listen; They be sittin in your kitchen, waitin to start hittin

Limit contact with competitors and organizations who regulate your industry. If your coworkers begin to fear that you are leaking intellectual property and other information, it will be hard to convince them otherwise, and they are more than likely to attempt to damage your career.

[10] A strong word called consignment; Strictly for live men, not for freshmen; If you ain’t got the clientele say hell no; Cause they gon want they money rain sleet hail snow

Do not make commitments you can not meet. In particular, if you receive merchandise on credit, do not maintain a larger inventory than your market can absorb in time to pay back your supplier. If your market is in a slow period, keep your inventory light, instead of compromising the relationship with your supplier.

Follow these rules you’ll have mad bread to break up

If you follow these rules, you will find much success in your business.

If not, twenty-four years, on the wake up; Slug hit your temple, watch your frame shake up; Caretaker did your makeup, when you pass

If you do not follow these rules, your business is sure to fail.

Your girl fucked my man Jake up; heard in three weeks she sniffed a whole half of cake up; Heard she suck a good dick, and can hook a steak up

Your girlfriend is a slut and a crackhead and a freak.

ssh/ssh2 no-password authentication

A great little guide to setting up two accounts so that you don’t have to type in your password when sshing between them. btw, OS X uses OpenSSH. I don’t know what it is for other platforms.

http://bumblebee.lcs.mit.edu/ssh2

Update: the page seems to be down, but archive.org had it. hooray:

Basic Idea

No-password authentication works because of public key crypto. Let’s say you have a local machine Ooga and a remote machine Booga. You want to be able to ssh from Ooga to Booga without having to enter your password. First you generate a public/private RSA key pair on Ooga. Then you send your public key to Booga, so that Booga knows that Ooga’s key belongs to a list of authorized keys. Then when you try to ssh fromOoga to Booga, RSA authentication is performed automagically.

Here are detailed steps on how to do this.

NOTE: The following examples and scenarios assume you are creating only a single key, e.g. one RSA key or one DSA key. If it turns out that you’ve created both keys on your (client) system, then you will need to send both of them to the SSH/SSH2 server; otherwise, you may still be asked to enter a passphrase. Thanks to Steve McCarthy for pointing this out.

ssh1

If you’re using ssh1, then do this:

ooga% ssh-keygen -f ~/.ssh/identity 

This will generate a public/private rsa1 key pair. When it asks you to enter your passphrase, just hit return (i.e. leave it empty). Now you need to send your public key to the remote server.

ooga% cd .ssh
ooga% scp identity.pub user@booga:~/.ssh 

Now you need to log into Booga and add Ooga’s public key to Booga’s list of authorized keys.

ooga% ssh user@booga
booga% cd .ssh
booga% cat identity.pub >> authorized_keys
booga% chmod 640 authorized_keys
booga% rm -f identity.pub 

That’s it! You can now ssh from Ooga to Booga without entering your password.

ssh2

It’s harder for ssh2. There are two common implementations of ssh2: OpenSSH and SSH2. Let’s say we want to ssh from Ooga to Booga. If Ooga and Booga both run the same implementation then it’s easy. Otherwise, we need to do some extra work to make them talk to each other properly.

My particular situation is that my local machine is running Windows 2000 with the Cygwin tools and OpenSSH 3.2.x. The remote machines may either have OpenSSH or SSH2. I’ll cover these two cases below.

ssh2: Ooga = OpenSSH, Booga = OpenSSH

First, generate a public/private DSA key pair on Ooga.

ooga% ssh-keygen -t dsa -f ~/.ssh/id_dsa

When you are asked for a passphrase, leave it empty. Now send the public key to Booga.

ooga% cd .ssh
ooga% scp id_dsa.pub user@booga:~/.ssh

Next, log in to Booga and add the public key to the list of authorized keys.

ooga% ssh user@booga
booga% cd .ssh
booga% cat id_dsa.pub >> authorized_keys2
booga% chmod 640 authorized_keys2
booga% rm -f id_dsa.pub

Note that the filename is authorized_keys2, not authorized_keys. That’s it; you’re ready to ssh from Ooga to Booga without having to enter a password.

ssh2: Ooga = OpenSSH, Booga = SSH2

First, generate a public/private DSA key pair on Ooga.

ooga% ssh-keygen -t dsa -f ~/.ssh/id_dsa 

When you are asked for a passphrase, leave it empty. This key is stored in a format that OpenSSH can use, but SSH2 cannot. You need to export the key to a format that SSH2 understands.

ooga% ssh-keygen -e -f .ssh/id_dsa.pub > id_dsa_ssh2_ooga.pub 

Note: the exact flags you need to specify may differ in your case. Check the man pages if the line above doesn’t work. Now send the exported public key to Booga.

ooga% scp id_dsa_ssh2_ooga.pub user@booga:~/.ssh2/ 

Note: the target directory is .ssh2, not .ssh. Next, log in to Booga and add the public key to the list of authorized keys.

ooga% ssh user@booga
booga% cd .ssh2
booga% cat >> authorization  key id_dsa_ssh2_ooga.pub
booga% chmod 640 authorization 

For SSH2, there is an authorization file in which you list the file names of the authorized public keys. Note that this step is different than the case in which Booga is running OpenSSH.

Now you are ready to ssh from Ooga to Booga without having to enter a password.

Rezedents Rights & Rispansabilities

Simply amazing.

http://www.thememoryhole.org/feds/hud/rezedents_rights.htm

Nader on Reagan

http://www
.suntimes.com/output/elect/cst-nws-nader131.html

“He was not good on the environment. On our issues of consumer protection, he w
as almost contemptuous. He campaigned in Michigan in 1980 against air bags, say
ing that air bags interfered with personal freedom. Well, in some way he was ri
ght,” Nader said. “[It] interfered with the freedom to go through a windshield.

“I wouldn’t classify him as one of the great presidents of all,” he said. “I th
ink the Soviet Union collapsed out of its own corruption and its own internal a
buse and inability to put food on the table. . . . He developed a huge military
budget. He developed more national debt than all the presidents from George Wa
shington through Jimmy Carter combined.”

“On the other hand, Nader said, “compared to this president, he was kindly, con
genial. He was not nasty in any way, and he didn’t have a messianic streak.”

Pat Buchanan interviews Ralph Nader

A fascinating read. Some topics covered: taxes, free trade, foreign policy. If
you don’t read the whole thing, make sure to skip to the bit about Senator Hank
Brown.

http://baltimorechron
icle.com/061304Nader.shtml




Close
Powered by ShareThis