There is no time limit

For what it’s worth: it’s never too late or, in my case, too early to be whoever you want to be. There’s no time limit, stop whenever you want. You can change or stay the same, there are no rules to this thing. We can make the best or the worst of it. I hope you make the best of it. And I hope you see things that startle you. I hope you feel things you never felt before. I hope you meet people with a different point of view. I hope you live a life you’re proud of. If you find that you’re not, I hope you have the strength to start all over again.

— Benjamin Button

portraits

portraits

This photo was the one that got me started with portrait photography.

This was taken when Cherry and I were just starting to go out. It feels like it happened just a year ago.  Time is biased. It goes so quickly during the happy  times and walks all too slowly during the not so good times. As of late, time seems to just linger about as if waiting for something to happen.

The photo was taken with a borrowed Pentax film camera loaded with a Kodak black and white film. ISO 400, if I remember correctly.

Removing old kernels

check the kernel you’re using:

$ uname -r

4.4.0-104-generic

Do NOT delete that kernel!

 

List the old kernels:

$ sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r`

linux-image-4.4.0-103-generic
linux-image-extra-4.4.0-103-generic

 

Remove the old kernels one by one:

$ sudo apt-get purge linux-image-3.19.0-25-generic

 

Remove the packages that are not needed anymore:

$ sudo apt-get autoremove

 

Update the grub kernel list:

$ sudo update-grub

 

References :
Safest way to clean up boot partition – Ubuntu 14.04LTS-x64

dyaryo

This is one of the first few photos that I took that I liked.

This was taken early morning, the first of January, New Year’s day,  some decades ago. The mist is actually the smoke left over from the previous night’s New Year fireworks and revelry. The guy on the bicycle is what one can call a newspaper delivery boy on the way towards the Malacañang area.  One can still see the barbed-wire barricades further down the street guarding the entrance to the Palace gates.

This was photo taken on film — the dark patches on the left is from its deterioration because I’m bad at keeping this thing.

force https

Backup your .htaccess file.

In the .htaccess  file add this to the top:

# Always use https for secure connections
# Replace 'www.example.com' with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

Important! Replace www.example.com with your own domain name.

That  should do it (worked for me)

Changing directory or file permissions or ownerships

Recursively change ownership of directories or files

find /www -type d -exec chown root:root {} \;

find /www -type -f -exec chown root:root {} \;

1: find directories under /www and execute the chown command on each directory found and change their ownership to root
2: find files under /www and execute the chown command on each directory found and change their ownership to root

 

Recursively change permissions for a directory or file

find /www -type d -exec chmod 644 {} \;

find /www -type f -exec chmod 644 {} \;