-
Shell scripts for easier website scaffolding part 2
Another bit of Bash script fun for prepping a directory or file for deployment. deploy() { echo “Which directory or file do you want to deploy?” read sourcedirectory echo “ZIP’ing up directory/file” zip -r –exclude=\.git –exclude=\node_modules –exclude=\bower_components –exclude=\.npm –exclude=\.idea –exclude=\.hg $sourcedirectory $sourcedirectory echo “Syncing ZIP’ed folder/file to Deploy directory” rsync -r –progress $sourcedirectory.zip ~/Deploy echo…
-
Shell scripts for easier website shell scaffolding
So I’ve played around with Yeoman. And I’ve played with NPM, Gulp, and Grunt. There’s lots of things I like about these tools. But one thing that I dislike about all of them is the general difficulty of building your own customized website scaffolding system with them. And there’s an over-abundance of dependencies in my…
-
An interesting CSS flexbox issue with Apple’s iOS
I ran into an interesting issue recently with CSS Flexible Box Layout and Apple’s iOS Safari (latest version) – and the issue only occurs on iOS Safari. Let’s say you have a parent element with a display: flex;. And let’s say some children elements of this parent element also use display: flex;. These children elements…