Category Archives: Notes

Notes

Cuban Radio Stations

La cancion de la trova (link for media player)
Radio Campesina Cubana
Trova Radio (link for media player)

Notes

Quote from Wilhelm Stekel

«The mark of the immature man is that he wants to die nobly for a cause, while the mark of a mature man is that he wants to live humbly for one.» – Wilhelm Stekel

Notes

Blood Donation – Length of the Regeneration Phase

Question

How long will it take for the body to replenish the pint of blood I donate?

Answer

«Your body will replace the blood volume (plasma) within 48 hours. It will take four to eight weeks for your body to completely replace the red blood cells you donated. The average adult has eight to 12 pints of blood. You will not notice any physical changes related to the pint you donated.» (Quelle: mskcc.org)

Notes

Excel Formula for Discount Price Calculation

=IF(C1="",A1*B1,(100-C1)/100*A1*B1)

A1: Number of items
B1: Price per item
C1: Discount (percent)

Notes

WooCommerce – Renaming the «Place Order» Button

Problem

The translation of the button «Place order» doesn’t seem to work with the current version of WooCommerce (2.4.10). It’s simply ignored.

(Possible) Solution

1. In the file «payment-method.php» look for the following code:

data-order_button_text="<?php echo esc_attr( $gateway->order_button_text ); ?>"

2. Replace the code within the quotes with the desired text. Example:

data-order_button_text="Bestellung abschicken"

Note

This procedure is a rather dirty solution. Especially because you have to redo it after every plugin update.

Notes

Linux Mint – Starting Arm

On Linux Mint, the following command lets you start Arm, the monitoring program for Tor.

sudo -u debian-tor arm

Maybe you have to adjust the username, «debian-tor» in this case.

Notes

Linux – Download an Entire Directory

On Linux, the following command lets you download an entire directory:

wget -r --no-parent http://ip-address-or-domain-name/directory-path/

Notes

Simple File Sharing on Linux Mint

1. Right-click the folder with the files you want to share.
2. Choose «Open in Terminal».
3. Enter the following command:
python -m SimpleHTTPServer

The files are now accessible under ip-address-of-the-computer:8000.

Notes

Edward Snowden T-shirts

edward-snowden-t-shirt-1-klein
edward-snowden-t-shirt-2-klein

edwardsnowden.com

Notes

POPFile Doesn’t Filter E-mails

Problem

POPFile doesn’t filter e-mails despite training. All e-mails remain in the bucket «unclassified».

(Possible) Solution

At least at the beginning all e-mails ending up in the bucket «unclassified» need to be manually reassigned to another bucket.

Note

If you leave e. g. e-mails, which aren’t spam, in the bucket «unclassified» and you only reassign the spam to another bucket, the filter won’t work. Besides «unclassified», you always have to use at least two other buckets, e. g. «spam» and «no-spam». «Unclassified» serves only as transition bucket for e-mails, which need to be manually reassigned to another bucket.