Find all files and directories modified at a specific date in Linux
To find all files modified on, for example, January 21 2013: find . -newermt 2013-01-21 ! -newermt 2013-01-22
I was born a nerd! As a child I was fond of fiddling with all kind of thechnical stuff, discovering how things work and often fixing them. As a 6 year old I fixed my grandmothers 220 volts wiring.
The interest in technical stuff grown even bigger in the teenage years where I got my amateur radio license and developed a keen interest in computers.
Today I am proud to be a nerd. It is a part of my profession.
To all of you nerds and geeks out there - remember that nerd is the new sexy! :)
To find all files modified on, for example, January 21 2013: find . -newermt 2013-01-21 ! -newermt 2013-01-22
When you are dealing with a hacked or otherwise compromised website where someone has installed a backdoor or other kinds of malicious code you will often find php files with code packed into non-readable format using php eval, like eval(gzinflate(base64_decode. To find out what the code does, copy the entire eval code (including “eval(“) into this […]
USB memory sticks or external disks that has been formatted on a Mac might not be readable if you connect it to a Windows computer. The reason is that the Mac has formatted it using a file system unknown by Windows. To read the disk you can use the free tool hfsexplorer.
If you have your contacts exported into .vcf files, they can easily be imported into for example iCloud, Google or your email program. However, if you have a couple of hundreds or thousands of contacts, and equally amount of .vcf files it will be very inefficient to import each contact one by one. A solution […]
When trying to upgrade Magento from 2.0.2 to 2.0.4 I got a windows saying Update in progress and the last line from the system log says “./composer.json has been updated” then nothing more happens for quite a long time. Finally an error screen displays “Error in Update!”. To restart the update process while trying to […]
When running the Magento readiness test it failed with the message that always_populate_raw_post_data should be set to -1 since it is running under php 5.6. Even though I tried different methods of setting it to -1 and I could verify it by calling phpinfo(); Magento still complained. The way I solved is a bit rough and […]
First of all, check the Magento guide on this problem here. In my case, at first I didn’t get any errors in the cron logs in <web-root>/var/log. When running the scripts by hand as the website user I got the not so informing “Cron readiness check failed” in the <web-root>/var/log/update.cron.log. The reason the “Cron readiness failed” was […]
Greylisting is a way of reducing the amount of incoming spam and virus emails, in addition to other counter measures. Postgrey is a good choice if you are running postfix. However, to be able to recieve emails from senders using outlook.com you need to whitelist it. This is because outlook.com is using a different host […]
There is no built-in function to export the mailinglist subscriber in mailman. If you want to migrate to another software or move to another mailman installation you are in need to export the subscribers. I found this to be the easiest way: Log in to your mailman mailinglist administration panel, like http://hostname/cgi-bin/mailman/admin/mylist Replace “admin” with “roster” […]
There are several third party products available to connect a Windows client to a WebDAV drive. This guide will explain how to do it with using native Windows and has been tested using Windows 7 but should work for other versions too. For Windows server 2003, Windows XP and Vista users, you first need to […]