So I have 100 json objects and copy pasted from one object, now I want to change the name from a list of random names; I will only show the first 3
"name": "Tim", # ...
Ever been annoyed by the multitude of AWS S3 logs you see inside a celery task on file operations? If the answer is yes then the solution is simple
add the following lines before your LOGGING settings in your Django settings file
logging.getLogger('boto').propagate = False...
This is a quick guide to how you deploy a single page web application to S3 behind cloudfront
get your CloudFront distribution id
aws cloudfront list-distributions
Invalidate all files in the distribution, so CloudFront fetches fresh ones
aws cloudfront create-invalidation --distribution-id=S11A16G5KZMEQD --paths /
The actual full release script is
echo "Building production"
if npm run build:prod ; then
echo "Build Successful"
ERROR with rpm_check_debug vs depsolve: yum-plugin-fastestmirror is needed by yum
If you get an error like the following one:
ERROR with rpm_check_debug vs depsolve:
yum-plugin-fastestmirror is needed by yum-3.2.29-60.el6.centos.noarch
** Found 1 pre-existing rpmdb problem(s), ‘yum check’ output follows:
yum-3.2.29-40.el6.centos.noarch has missing requires of yum-plugin-fastestmirror
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2015-06-19-01-55B6BTlV.yumtx
yum install yum-plugin-fastestmirror
and you'er done!...