Don’t you think if we all practice even one of these principles, the world will be a better place?
Originally published at https://www.facebook.com/notes/danilo-stern-sapad/my-7-rules-for-living/10151925227189165 on
October 15, 2013. Last updated June 30, 2020.
This is a very short tutorial on how to fix the dreaded “Backup and Sync has encountered a fatal error, and will now terminate.” error when installing and then opening Backup and Sync from Google on macOS. I’ve had this issue with macOS Mojave, High Sierra, and Sierra. None of the solutions I found online fixed this issue. This is how I fixed it.
Go to your Applications folder and delete Backup and Sync from Google by moving it to your Trash.
Download and Install Backup and Sync from Google: https://www.google.com/intl/en-GB_ALL/drive/download/backup-and-sync/
This is a simple guide on how to set up name-based virtual hosts in Apache on Mac OS X 10.10 Yosemite. This tutorial is intended as a supplement to my article, How to setup Apache, PHP & MySQL on Mac OS X 10.10 Yosemite. If you know what you’re doing this guide should also work for Leopard, Snow Leopard, Lion, Mountain Lion, and Mavericks with minor changes as the setup hasn’t changed much since I originally wrote about this in 2009.
What are virtual hosts used for?
In the case of this tutorial we will create a virtual host to let…
This is a tutorial on how to set up Apache 2.4, PHP 5.5, and MySQL 5.6 on Mac OS X 10.10 Yosemite. This tutorial is a good reference for PHP developers who want to set up a local MAMP development environment. I should note I mainly program in Scala these days, but PHP is a really popular and useful programming language to know.
If you know what you’re doing this guide should also work for Leopard, Snow Leopard, Lion, Mountain Lion, and Mavericks with minor changes as the setup hasn’t changed much since I originally wrote about this in 2007.
For those of you who didn’t learn your lesson in, “The No BS Guide To Getting Things Done,” here is something further to waste your time reading. Hopefully, this will point you in the right direction (or maybe not). Oh, and guess what? It’s incomplete. Why? Time management is a waste of time.
Time management is simply focussing on your priorities. Productivity is when you work on those priorities.
Now, you can read the rest of this drivel or smarten up already and get to work!
I’m a person who reads time management books to put off doing my work…
Step 1: Stop reading this and do what you need to do!
If you’re still reading this stop! Seriously, quit wasting your time with blogs and other distractions and just get to work. Focus, focus, focus. Productivity books, articles, audiobooks, manifestos, etc. are all major timesinks (i.e. significant wastes of time). I wouldn’t even know what that term meant if I took my own advice!
The only real secret to getting things done is to get to work.
Goodbye and good luck.
PS: If you insist on wasting your time or simply feel this article is lacking (it’s not) read my incomplete blog entry entitled, “Time management is a waste of time!”
Originally published at http://danilo.ariadoss.com on August 17, 2009.
The following command will remove all .DS_Store files in a directory where it is executed as well as that particular directory’s subdirectories:
find . -name ‘*.DS_Store’ -type f -delete
Why would you want to remove .DS_Store files? The .DS_Store files store Finder-specific preferences concerning the display of each of your folders. Removing these files is an easy way to reset your display preferences. Also, if you’re moving files between your Mac and another operating system such as Windows or Linux these files can cause unexpected problems and should be removed prior to transfer.
This command works on Mac OS X…
This a very simple guide on how to change a file’s “date modified” and “date created” attributes on Mac OS X I wrote back in May 2009. Since then these directions have been updated for Mac OS X 10.10 Yosemite.
Date Format Key:
YYYY — The year (the first two digits/century can be omitted).
MM — The month of the year, from 1 to 12.
DD — The day of the month, from 1 to 31.
hh — The hour of the day, from 0 to 23.
mm — The number indicating minutes, from 0 to 59.
This is a further supplement to my posts “Decoding eval gzinflate base64_decode” and “Decoding eval gzinflate base64_decode str_rot13” originally published on my Tangential Musings blog back in May 2007.
To decode files that look roughly like this:
<?php $_F=__FILE__;$_X=’encoded text’;eval(base64_decode(‘pointless crud’)); ?>
Just copy the text in between:
‘;eval(base64_decode(‘encrypted junk’)); ?>”;
Then paste it into the $contents variable in the code below:
$contents = "in-between text goes here (e.g. 3e4jf+jFTYhf=)";
$contents = base64_decode($contents);
$contents = "<textarea rows=\"6\" cols=\"25\">".strtr($contents, "123456aouie", "aouie123456")."</textarea>";
Execute the code by saving it as a file (e.g. decode.php) and visiting…
This is a supplement to the PHP snippet I shared describing how to decode code obfuscated using eval(gzinflate(base64_decode(‘encoded text‘))); and was originally posted on my Tangential Musings blog back in November 2006.
The following code snippet is a simple PHP class found at the post by macosbrain entitled, “Decode Function: eval gzinflate base64_decode str_rot13.”
Contrary to this post’s title, the class is capable of decoding the following functions that are commonly used for obfuscating PHP code:
Prior to decoding something with this script make sure to remove any comments or code that’s not encoded (i.e. …
Entrepreneur, Technologist & Product Guy