How To Restore a Docker Container with Time Machine (Mac OS)
If you are like me and use Docker as a part of your developer environment – you will likely needed to restore a container at some point and here is how you do it.
If you are like me and use Docker as a part of your developer environment – you will likely needed to restore a container at some point and here is how you do it.
This morning I had to send over a PDF file to the printer and they wanted my color version in greyscale. To create a greyscale version of a PDF there are a few steps you need to follow: Go to the File menu and click “Print”. Once you are there – click on the PDF […]
Perhaps you come to this site because you personally know me or like some of the WordPress hints I like, or like my CSS posts, or just like my personal rants (which seem to happen less…hmm I need to get on that!). If you are only interested in some of my posts but not others, […]
Ever wonder how to get rid of the nasty outline that Firefox puts around some images/buttons? Add this little bit of code to your CSS that controls the button or image and you will no longer see these ugly outlines:
I recently ran into a situation where there were two versions of PHP on a server and I needed to make sure PHP 5 was being used. To pick the version – all you need to do is add the following into your .htaccess file (assuming you do not have access to your httpd config): […]
Ever need to find your location using latitude and longitude? Do a search for your destination using Google Maps and then when your destination is in the center of the map – type: into the browser address bar (no http or www) and your coordinates will appear.
If you install WordPress and use the media uploader to manage your images in your posts – you can easily style your images quickly by adding the following code to your theme’s stylesheet. This code will set up your images to float appropriately, as well as give a nice border as seen below. Note* This […]
Ever need to find and replace something in your WordPress database? (perhaps you changed domain names and have the old domain name or folder structure hard coded into some of your posts) You can easily update your database by using phpMyAdmin or by using the following code in any SQL interface: The first part of […]
Ever delete something with svn (svn del) and then realize you needed it again? You can get it back by using: svn copy -r HEAD filenameyoudeleted.extension filenameyoudeleted.extension svn copy is the command to get a working copy back -r is short for revision. I used HEAD which will give you the latest in repository. You […]
In order to take a look at WordPress 2.5 before it was released, I used subversion to check out the latest code available using the instructions given on the WordPress site. Once WordPress 2.5 was released, I wanted to keep my sites using 2.5 and not the bleeding edge releases (2.6) so I needed to […]
The last few weeks I have been extremely busy and on top of that I have been dealing with a sick child and also being sick myself. There is no time to be wasted so efficient use of the time I had was crucial. I feel that since owning my own business, I have had […]
If you do any sort of web development, it is more than likely that CPANEL and phpMyAdmin are good friends of yours…and you depend on them. Even though those are extremely handy to create/modify databases and create backups, it is extremely helpful to know how to do the same thing by using only SSH and […]