Friday, November 22, 2013

Memory Curios

  1. Life Without Memory: The Case of Clive Wearing; Part 1a, 1b, 2a, 2b, 2c, 2d 
  2. Forgot password: 1, 2, 3
  3. Test PHP mail on localhost: 1, 2 (generate app specific password for gmail and use it in sendmail.ini)
  4. PHP mail on the server: ssmtp, php dot ini
  5. PHP debugging: 1
  6. Internet media types: 1; PHP File Upload: 1, Deny Access to Server Directory: put "Options -Indexes" in a .htaccess file inside the directory; Download file from server: 1
  7. For downloading with correct mime extension, use finfo_file(); on windows you need to uncomment "extension=php_fileinfo.dll" in php.ini and then restart Apache
  8. Typing speed: 1; hidden field: 1, 2; key codes: see page source of 1
  9. LAMP on server
  10. Restrict access to a folder on Ubuntu Apache: put .htaccess with "deny from all" inside the target folder and follow instructions in this link.
  11. To dump database: from the system shell use "mysqldump -u username -p dbname > dbname.sql"

Thursday, November 7, 2013

Note

A week. No significant urge. Psychologically it is becoming a non-news.

Monday, November 4, 2013

Note

Has been four days, one hour, and 52 minutes. Feeling good about getting rid of the smell. Taste improved.

Sunday, November 3, 2013

Note

Three days and four hours. I did not sleep well last night, so a general feeling of lethargy; other than that feeling fine and enjoying being non-smoker.

Saturday, November 2, 2013

Note

Two days and forty nine minutes without smoking. A feeling of loss came to me when I saw a woman standing by the doorway of Mayfair Mall with a cigarette in her hand, other than that pretty uneventful in terms of urges. This fitness age calculator says, I am 38 years old; very bad! I need to exercise to sweating, daily, and for at least 30 minutes.

Friday, November 1, 2013

Note

It has been 1 day and half an hour since I smoked my last cigarette. No great urge for relapse came so far and I think QuitNow! on my Android phone is a good thing as it shows the healing process as a set of dynamically changing information - good persuading.