This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3api list-objects --bucket <bucket-name> --output json --query "[sum(Contents[].Size), length(Contents[])]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Slugifies the text in pure javascript | |
Converts | |
What's the best way to learn PHP ? => whats-the-best-way-to-learn-php | |
*/ | |
function slugify(text) | |
{ | |
return text.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################## | |
# | |
# install-lamp.sh (Server) | |
# | |
# Installs LAMP (PHP Version 5.6) Stack and other dev tools on ubuntu 14.04 Server | |
# | |
# Author: Napoleon Arouldas S. | |
# | |
# Lead Developer of http://grandappstudio.com/roll-out/ | |
# |
NewerOlder