To create virtual host in Apache is very easy. In 2.4, it becomes easier because Apache will automatically process those and NameVirtualHost won’t have any effect.

I assume you have read this nice guide,

If it’s still not working, set your SELinux permissive.

I tried git fsck and git gc without success. The one working solution is

$git gc
$git pull --rebase

After resolving any conflicts and finishing the rebase, then you can push again.

I have been using Amzon Cloud Drive to back up all my personal videos, but i noticed recently that many of my videos have a date taken as NO DATE or 1970.

After some research, i found the answer in this post. Amazon Cloud Drive seems to read the date from some video tags instead of the file creation date.

I wrote the below windows batch script to set those tags based on file creation date. The script is based on a system date format mm/dd/yyyy hh:ii tt.


SET filename="c:\your\video\file.mp4"

for %%a in (%filename%) do set filedatetime=%%~ta

ECHO %filedatetime%

set month=%filedatetime:~0,2%
set day=%filedatetime:~3,2%
set year=%filedatetime:~6,4%
set hour=%filedatetime:~11,2%
set minute=%filedatetime:~14,2%
set second=00
set pm=%filedatetime:~17,2%

if "%pm%" == "PM" (
set /a hour=1%hour%-100+12

if "%hour%" == "24" (
set /a hour=12

set finaldatetime="%year%:%month%:%day% %hour%:%minute%:%second%"

ECHO %finaldatetime%
:: set finaldatetime="2014:07:12 21:32:00"

exiftool %filename% -filecreatedate=%finaldatetime%
exiftool %filename% -filemodifydate=%finaldatetime%
:: exiftool %filename% -fileaccessdate=%finaldatetime%
exiftool %filename% -createdate=%finaldatetime%
exiftool %filename% -modifydate=%finaldatetime%
exiftool %filename% -trackcreatedate=%finaldatetime%
exiftool %filename% -trackmodifydate=%finaldatetime%
exiftool %filename% -mediacreatedate=%finaldatetime%
exiftool %filename% -mediamodifydate=%finaldatetime%


openssl s_client -connect -tls1_2
nmap --script ssl-enum-ciphers -p 443


I am trying the IdentitySamples in my own helloworld MVC project. I have added the controller, model and view codes, but when I tried to edit the user, it gives me the exception in the below line

return View(new EditUserViewModel()
            Id = user.Id,
            Email = user.Email,
            RolesList = RoleManager.Roles.ToList().Select(x => new SelectListItem()
                Selected = userRoles.Contains(x.Name),
                Text = x.Name,
                Value = x.Name

When debugging, i found that RoleManager is null. To resolve it, I need add the below line in Startup.Auth.cs


This error only came out recently and according to this post in stackoverflow, it seems a bug in Apple.

Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the new WWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.

Following Apple’s instruction, the error is resolved now.

I received this error after a XCode update recently (maybe they are not related).

To fix it, just remove the Apple account and add it again …