Thursday, June 21, 2012

Synthetic, natural, and whole-food vitamins

From: http://training.fitness.com/supplements/mulit-vitamins-2-33823.html

Regarding Centrum or One-a-day's, multis come in one of three forms: synthetic, natural, and whole-food. A good way to differentiate is to learn to read labels. Synthetic multiples will have the vitamin C listed as ascorbic acid but will lack a boiflavanoid complex. Vitamin C should be ascorbic acid, but we cannot metabolize it properly without the presence of bioflavanoids, so make sure that somewhere on the label is a bioflavanoid complex. Reptiles and older orders of birds make ascorbic acid in their kidneys. Recent orders of birds and most mammals make ascorbic acid in their livers where the enzyme L-gulonolactone oxidase is required to convert glucose to ascorbic acid. Humans, guinea pigs, and some other primates are not able to make L-gulonolactone oxidase because of a genetic defect and are therefore unable to make ascorbic acid in their livers.
They will also have a synthetic vitamin E (dl-alpha tocopheryl). As a general rule, if your vitamin contains these, you can be certain it is synthetic (like Centrum). Natural multis will contain natural ingredients (thus, ascorbic acid and bioflavanoids and d-alpha tocopheryl). Another indication is that the raw materials used to produce either a natural or whole food multi can not be compressed into one pill. Usually a one-per-day formula is synthetic. While synthetic multis are really poorly absorbed (like twenty percent due to the rate of compression and lack of protein bonding), natural and whole food multis are much more readily assimilated by the body. Most of the chain store (Costco, Sam's, Wal Mart, etc) vits are synthetic and are not only poorly absorbed but also really bad for the body.
A whole food multi is one that was created from raw materials found in actual whole foods, not created in a chemist's lab somewhere. Studies have shown that synthetic vitamins contain- in addition to the actual vitamins- coal tars, artificial coloring, preservatives, starches, and sugars. Vitamins that come from whole food sources are protein-bonded, and are absorbed, utilized, and retained better than supplements that are not protein-bonded.

Chemically derived vitamins are not protein-bonded, and thus are not absorbed well. That's where the bioavailability comes in- it has to do with how much of the actual nutrient you absorb. Basically, scientists have created synthetic vitamins that are cheap to make and are supposed to be identical to their whole-food counterparts. They are not. A study using polarized light showed that when the light is placed through whole food vitamins, the light beam bends to the right, due to its molecular rotation. When the same light passes through a synthetic vitamin, the beam splits in half.

This proves 2 things- first, synthetic vitamins are not the same as whole food vits in their atomic structure, and second, researchers concluded that in a best case scenario, only 50% of the biological activity of the vitamin is available. (Vinson, JA., Bose P. "Comparative Bioavailabilty to Humans of Ascorbic Acid Alone or in Citrus Extract." American Journal of Clinical Nutrition, 1998, Vol 38, No 3, p. 601-604. AND Duke, James. Handbook of Chemical Constituants of Grasses, Herbs, and other Economical Plants. CRC Press, Boca Raton. 1992.) Add to that the fact that most synthetics are compressed at a rate of about 12,000 PSI's, and you're looking at maybe a 20% absorption rate.

Monday, May 28, 2012

Maru gif

 

Saturday, May 26, 2012

Funny Gifs

 

Sunday, April 15, 2012

Scheduling with CronTab

  • Run as root

crontab –e

  • Usage

# m h  dom mon dow   command

For example, schedule a reboot at 8pm(system time) on every sunday

00 20 * * 7 shutdown -r now

Time sync with NTP

 

  • Install NTP

apt-get install ntp

  • Update server list

vi /etc/ntp.conf

Example -

server 0.us.pool.ntp.org iburst
server 1.ca.pool.ntp.org iburst
server 2.debian.pool.ntp.org iburst
server 3.debian.pool.ntp.org iburst

  • Restart NTP

/etc/init.d/ntp restart

  • Monitor

ntpq -p

Setting server timezone on Debian

 

The interactive way

dpkg-reconfigure tzdata

The manual way

  1. echo 'Etc/UTC' > /etc/timezone or echo 'Asia/HongKong' > /etc/timezone
  2. dpkg-reconfigure --frontend noninteractive tzdata

Saturday, March 10, 2012

Install OpenVPN on Debian

source
First check whether your server supports the device dev/tun
  • # ls -al /dev/net/tun
  • You'll get results like the following if it supports
    # ls -al /dev/net/tun
    crw------- 1 root root 10, 200 Aug  1 14:12 /dev/net/tun
Then check if the device dev/tun is enabled
  • cat /dev/net/tun
  • You'll get results like the following if it is enabled
    # cat /dev/net/tun
    cat: /dev/net/tun: File descriptor in bad state
If it is enabled you should contact the VPS provider
Install OpenVPN
  • apt-get update to update the OS
  • apt-get install openvpn
Install OpenSSL
  • apt-get install openssl
  • mkdir /etc/openvpn/easy-rsa to make new directory
  • cp -rp /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa to copy the files to the new folder
  • cp -rp /usr/share/doc/openvpn/examples/sample-config-files/ /etc/openvpn/sample
Edit vars and change variable
  • cd /etc/openvpn/easy-rsa/
  • vi vars to edit the file named "vars"
  • OPTIONAL: Change KEY_SIZE to 2048
Run vars to export variable
  • sh vars
  • source ./vars to execute vars script
Make the certificate authority
  • ./clean-all to remove any previous keys
  • ./build-ca to build the certificate authority.
  • Press enter for each line it asks to confirm your details, but where it asks for "Common Name" change to your server name
Make server key
  • Type ./build-key-server <server hostname>
  • Press enter for fields to confirm and leave the "A challenge password" and "An optional company name" fields blank
Create VPN client .key and .crt
  • ./build-key <client hostname>
  • Press enter again for fields to confirm and leave the "A challenge password" and "An optional company name" fields blank. A different key is needed for each VPN client
  • ./build-dh This allows sharing between peers
Now copy relevant files and place in the correct folder
  • cd /etc/openvpn/easy-rsa/keys
  • cp <server hostname>.key /etc/openvpn/
  • cp <server hostname>.crt /etc/openvpn/
  • cp ca.crt /etc/openvpn/
  • cp dh1024.pem /etc/openvpn/  or dh2048.pem for 2048 encryption
Create OpenVPN server config and edit
  • cd /etc/openvpn/sample
  • gunzip server.conf.gz
  • vi server.conf
  • Change server.crt to <server hostname>.crt
  • Change server.key to <server hostname>.key
  • Change "dh1024.pem" to "dh2048.pem" if using 2048 encryption
  • Uncomment max-clients 100
Create OpenVPN client config
  • cd /etc/openvpn/sample
  • vi client.conf
  • change my-server-1 to your IP address of your VPS
  • Change "client.crt" to "<client hostname>.crt"
Export these 4 OpenVPN client config files to C:\Program Files (x86)\OpenVPN\config
  • /etc/openvpn/easy-rsa/keys/<client hostname>.key
  • /etc/openvpn/easy-rsa/keys/ca.crt
  • /etc/openvpn/easy-rsa/keys/<client hostname>.crt
  • /etc/openvpn/sample/client.conf (Rename to client.ovpn)
Start OpenVPN as a service and start
  • service openvpn start
  • Query service  ps -aux | grep openvpn or ps –wwwaux
  • Make the service be started with init.d scripts by editing /etc/default/openvpn  AUTOSTART="all"