Out the box iTerm2 and oh-my-zsh make using the terminal a whole lot easier, but there is one thing that has always annoyed me - not being to move the cursor to the prev / next words whilst entering long commands, until now...
Recent Posts by Matt Bryson
Had a very odd issue with CSS files being loaded, but the css not being applied (and any @imports not loading either).
As part of our deployment process, we include the short git SHA as a build number against our SemVer version number.
We wanted this available in our application UI to help identify running versions. Easy I thought, Beanstalk sets this as the
Version Label when deploying, so we should be able to access that from the environment vars in PHP.
Unfortunately not, this is one of the many EB values you cant easily get to. After a lot of failed attempts, here is how we managed it as a one-liner in the
Back in Feb I wrote about how to compile phantomJS 2.0.0 for linux, using centOS as the build machine. However, the resulting bin files are not portable across all linux distros, hence why the official binaries aren't out yet.
If you need to run phantomJS on one of the AWS machine images, here is how we compiled it on AWS.
Had this little annoying error with docker the other day.
We were upgrading our automated screen shot process of our core product, moving it over to phantomJS 2.0 as it uses a much newer QT WebKit engine, that produces far more accurate results.
However, there is currently no download for the linux build, so we decided to build it ourselves. After quite a few failed attempts, (using various bash scripts and trying the
deploy vm that is in the repo), this is how we finally got it working If you want to cut to the chase, you can grab the 64bit bin file here...
The new updates to chrome have added a nicer looking user / avatar menu, but have added a few more clicks when changing user profiles.
If like us you use this to manage different profiles, rather than users - such as work, home, or even profiles per project, then it becomes very cumbersome having to make these extra clicks.
However, you can enable this...
Turns out that the instructions in the AWS bulletin don't apply to Elastic Beanstalk deployed servers. After some searching, we found the answer.
We recently converted a Mongo DB backed Node app from a single monogo instance to a Replica Set. Which threw up a few errors, heres what we did....