Related Posts
WordPress: Cannot create directory error, got everything chmoded to 777?
So you went as far as chmod’ing your entire folder structure to 777 (very unsafe), you’ve hacked wp/wp-admin/includes/file.php return new WP_Error( ‘mkdir_failed_ziparchive’, __( get_current_user() . ‘ Could not create directory. (‘.$_dir.’)’ )… to print out exactly what directory it cannot create and what user is trying to create the folder, everything is correct, yet it […]
It’s 2012 and elevator designers still haven’t put an UNDO button in panels
Don’t you hate when the wrong floor has been selected by someone and then everybody in the elevator has to pay with time for that error. Enter the UNDO button for elevators. Such a simple idea. It could work in 2 ways. 1. You press the button and it unselects the last button pressed, and […]
s3cmd – how to put files with expiration on S3/CloudFront #AWS #s3
[bash]s3cmd put –add-header "Cache-Control: 604800" -P ./* s3://mybucket.com/path/to/files/[/bash] If you have your CloudFront Distribution pointed to your S3 bucket, files will expire after the number of seconds specified in Cache-Control have passed. You will need the wonderful s3cmd tool