Archive for the ‘Uncategorized’ Category

Legal and mostly safe highs

Wednesday, March 22nd, 2006

Salvia Divinorum
Material – Leaves/Extract
Active Ingredient – Salvinorin A
Kappa opoid agonist, so produces effects similar to those known as “opium dreams”; unrelated to mu-opoid agonists (such as opiates) and no addictive potential whatsoever. Purely hallucinogenic (geometric visuals, warped feeling, “higher power” presence). Leaf must be smoked in a water pipe, extract is recommended for easier ingestion (water pipe not required). Mixing with cannabis enhances effects. Trip lasts 10-15 minutes, effects 30-45 minutes. No hangover. This is not a party drug.

Morning Glory
Material – Seeds
Active Ingredient – Lysergic Acid (LSA)
Trip similar to LSD but more laid back; mental coherence during the trip is greater than LSD. Seed extraction should be performed since the seeds are unpleasant to consume; basic extraction is to simply hull the seeds. Trip lasts several hours. Hawaiian Baby Woodrose (HBWR) is the best seed species. Seeds and crude extract are legal to possess, but not pure LSA. It should go without saying not to use any drug during pregnancy (with the exception of cannabis, which has been repeatedly proven safe), but especially DO NOT USE LSA OR ANY ERGOT-DERIVED PSYCHEDELIC DURING PREGNANCY, SPONTANEOUS ABORTION MAY RESULT. This is not a party drug and should be done in an outdoors setting for best results.

Psychedelic Mushrooms
Material – Whole Mushrooms
Active Ingredient – Psilocybin/Psilocin
Similar in effect to LSD/LSA but more closely related to DMT in chemical structure (as a tryptamine). 4-6 hour duration trip. Sleeping will be difficult afterwards. Minimal hangover. Overdose unlikely, but do not re-dose until an hour or more has passed. Only FRESH mushrooms are legal to possess, not dried or extracts. If using dried mushrooms anyway, consume at least 1 and no more than 4 grams. Caps are more potent than stems by weight. Caution: combining with MAOI chemicals or foods will roughly double the effect/dose. It is generally recommended to grow these rather than attempting to pick them in the wild, since mistaking a poisonous mushroom for a psychedelic one is possible. This is not a party drug and should be done in an outdoors setting for best results.

Opium Poppy (Papaver Somniferum)
Material – Dried/Closed Flower Pods
Active Ingredient – Morphine, Codeine, other opiates
Remove stems and seeds, grind several dried pods (approx 5 per 8oz cup of tea) in a coffee grinder or blender, and mix with water and citrus juice (for flavor and to expedite extraction). Stir/steep for 5-10 minutes, then filter and discard solid material. Disguise flavor with more juice or honey. Use a small amount first to calibrate dosage and tolerance, and do not drink more tea until 2-3 hours have passed since your first cup; the come-up is slowest of all methods of opiate ingestion. As a safety measure, do not use more often than once per month and NEVER more frequently than 48 hours, tolerance and dependence to poppy tea will happen quickly with regular use due to the combination of opiates it contains. Seeds are legal; plants, pods and tea are quasi-legal; any form of opiate extract or commerce in plant materials is ILLEGAL. Hens & Chickens is known to be a potent strain. Do not combine with alcohol. This is not a party drug and should be taken SERIOUSLY.

Cough Suppressant
Material – Liquid Capsules or Syrup
Active Ingredient – Dextromethorphan HBr
Do NOT consume any cough syrup which contains acetaminophen or ibuprofen, and avoid preparations with ingredients other than DXM HBr in general since many are included to induce vomiting at recreational doses. Do NOT combine with MAOI antidepressants or any foods which contain natural MAOI ingredients, toxicity can result. DXM effects and dosages are highly dependent on the individual, the effects are not always pleasant, and there is a possibility of permanent damage with continued high dose usage. Experimentation with first and second plateau doses is regarded as safe given that the precautions in the DXM FAQ are undertaken. This is not a party drug.

Nitrous Oxide
Material – Gas mixture
Active Ingredient – N2O
This is the ingredient of “whippits” or “hippy crack”. Obtain a commercial whipped cream dispenser (metal body is the best), several whipped cream chargers, and some “punching ball” balloons (the thick type). Use the screw-in handle to “crack” a charger. Place a balloon over the nozzle and dispense all of the gas into the balloon, pinching the neck of the balloon as you remove it from the nozzle. Then inhale the contents of the balloon in several deep breaths, pausing for a deep breath of air in between. Wash dispenser internals with soap and water after extended use. Short duration, intense, dissociative trip, very addictive. A mild hangover will occur and vitamin B12 should be taken after using Nitrous to avoid a deficiency. Recycle the used whippits at a facility that takes steel. DO NOT CONFUSE NITROUS WITH TETRAFLUOROETHANE AKA “AIR DUSTER” AKA R-134A REFRIGERANT LIKE MANY NIMRODS DO! TETRAFLUOROETHANE IS NOT SAFE FOR USE AS AN INHALANT!

PS: When referring to legality, I am referring only under US federal law. State laws may place further restrictions, and laws in other countries may be different.

how to ssh with multiple servers on same host

Sunday, March 19th, 2006

OK, this is a pretty common scenario, where someone has many machines with SSH servers behind their router, and only one external IP address, so the internal SSH servers are forwarded from different external ports. Unfortunately, this gives you problems managing SSH host keys, because SSH only associates the hostname (and not the port) with the key by default.

The way to fix this is to create an alias for each server that is behind the firewall. Create a stanza such as the following in your $HOME/.ssh/config:

Host leenux
HostName myhost.dynip.com
Port 2206
HostKeyAlias leenux

Then, when you want to connect to that particular internal machine, use 'leenux' as the host when you invoke ssh. When you use that, it will connect to the host myhost.dynip.com:2206, but it will store the key under the alias instead of the actual hostname. So as long as you don't have conflicting aliases, you should not encounter key conflicts anymore.

What's your problem with evolution?

Sunday, March 12th, 2006

Is it that you don't believe Darwin's theory of natural selection adequately explains why evolution occurs?

Is it that you believe evolution does not adequately explain the origins of life?

Is it that you believe evolution does not adequately explain the origins of sentient life?

Is it that you reject the set of observations collectively referred to as evolution as invalid? If so, why?

Would you accept that evolution occurs, were it accompanied by the caveat that a powerful invisible entity was required to initiate the evolutionary process from some starting point?

update-rc.d

Wednesday, March 8th, 2006

I'm seeing a lot of people giving advice to Debian users to use update-rc.d to REMOVE links for a package to prevent it from starting up. That's nice, but update-rc.d saves no state, so the next time the package is installed, all the links will be reinstalled! The correct way to disable starting of program foo is to remove /etc/rc2.d/S??foo and not through update-rc.d. If you use any other runlevels, remove the link from those as well.

udev rules

Sunday, March 5th, 2006

You might find several nice udev tutorials on the web. But when you place your rule snippet in /etc/udev/rules.d, udev doesn't seem to pay any attention to it. The secret is that the file must be executable, and must have an extension of '.rules', or it will be ignored.

X forwarding and XDMCP configuration

Sunday, January 29th, 2006

To setup X forwarding to run single applications remotely, not much work is necessary. On the X server (the display), ensure that connections are allowed from localhost. Then configure the SSH client to allow X11 forwarding through localhost:0. On the remote host (the machine you are logging in to), you should immediately be able to run any X application like xterm, xeyes, etc. If you have problems, check the DISPLAY environment variable; it should be set and the value should be the X server's network address and some screen offset.

XDMCP is how you obtain an entire login session from xdm to be spawned on a different X server. First, on the remote host (the one running xdm), edit Xaccess and ensure that your workstation's network address is permitted; restart xdm if necessary. Then, on the workstation, start the X server and create a new XDMCP session. (For X.Org, the command is X -query ) You should see a login window appear. Log in as you would at the console.

Strange terminal characters in Red Hat RHEL3 from gcc, g++, man, etc

Thursday, January 26th, 2006

The default locale for RHEL3 is en_US.UTF-8. If you do not have a UTF-8 terminal (most people do not), this will cause strange characters to be printed in place of certain characters, such as the pipe character. Setting LANG/LANGVAR in /etc/profile won't work, because these variables are overwritten by the locales support in glibc.

The proper fix is to edit /etc/sysconfig/i18n and replace en_US.UTF-8 with en_US wherever it appears in that file.

cpp macro dump

Thursday, January 26th, 2006

Ever wanted to know what macros GCC/G++ are predefining for you? Here is how.

For gcc: cpp -dM -gcc -x c /dev/null
For g++: cpp -dM -gcc -x c++ /dev/null

Strangely, _GNU_SOURCE seems to always be defined for C++.

Compiling Debian kernel package with distcc

Monday, January 16th, 2006

DISTCC_HOSTS=”localhost host1 host2″ CONCURRENCY_LEVEL=4 MAKEFLAGS=”CC=distcc” fakeroot make-kpkg –revision=custom1 –bzimage –initrd kernel_image kernel_headers

How to recover from deleted /usr on Debian

Monday, December 5th, 2005

Ok, this is the second time I have lost my /usr partition. The first was due to overwriting it, and this time a hard drive crashed. Fortunately, as long as you keep /usr/local and /usr/tmp either backed up or empty, the rest can be rebuilt reasonably automatically.

A second machine is required.

On the second machine:
1. Use dselect and update the package list (/var/lib/dpkg/available)

2. Build a list of required and important packages using the Package: and Priority: lines

3. apt-get clean; apt-get –download-only –reinstall install `cat required-essential-list`

4. Use dpkg -x to unpack all of the debs in /var/cache/apt/archives into a single directory

5. Tar/gz that up and either put it on a floppy/cd, or use netcat to send it over.

6. On the target machine, unpack the files directly into /usr

7. dpkg –get-selections | cut -f1 to create a list of packages to reinstall

One by one, reinstall the packages. I do this by first reinstalling all packages that start with lib, then going through the list alphabetically. If you see some programs not running, because of missing shared libraries, dpkg -S for the library and then reinstall the package it is in before proceeding.

In order to get alternatives to reinstall, remove them first using update-alternatives –remove-all [name]. This is to get commands like 'editor' back. You may want to remove all alternatives before beginning so that they will be automatically repaired as the packages get reinstalled (for a list, look under /var/lib/dpkg/alternatives)

Some packages will not be able to be reinstalled since you don't have sources for them anymore, just purge those packages. Others will not be able to be reinstalled because they depend on a library which conflicts with another package; just purge the package for now and put it in a list of things to be reinstalled later.

Some maintainer scripts will behave weirdly if things they expect to be installed actually are not around. Edit the offending script in /var/lib/dpkg/info/package.{pre|post}{inst|rm} and prepend an 'exit 0' to the top. You should probably reinstall all such packages later in order to get things back to a consistent state.

Then once everything has been reinstalled at least once and all the dependency problems cleared up, go through and reinstall everything again.

In the end, things should be mostly back to normal.