Recently I faced an issue where I needed to use variables coming from json response with $scope and after lots of hit-trial and searching came across a solution.
Quick post after smashing my head off the desk for 5 hours trying to understand YTF I couldn’t get Mongo 3.2 running in a Docker container on my Mac. Hopefully this post spares others the elastoplasts 🙂
Pitfall #1 – Mongo cannot write data to the host OSX machine
There are three factors that cause this issue:
- A lot of mongo/docker docs tell you to mount a local volume
- By default docker-machine uses the virtualbox driver to create a local VM
- Mongo uses mmap to turbo-charge access to files on disk
So it’s pointless trying to tell mongo, via docker, to mount a local data volume, as the above bug means mongo isn’t going to be able…
View original post 502 more words
I have been twisting my mind around having this error fixed as soon as possible. After spending considerable amout of time searching solution to get it fixed I found following solution and it really worked for me like a charm.
Actually this error is about conflicting between files coming from more than one places in the project.
Sometime ago I needed to sort data on the basis of date in XSLT file. So I found a way to do this and thought to share it. It’s very easy one but could be quite difficult to implement.
The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog.
Here’s an excerpt:
The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 13,000 times in 2015. If it were a concert at Sydney Opera House, it would take about 5 sold-out performances for that many people to see it.
This is a question that I get a lot, especially from co-workers or friends that are just beginning their journey as a software craftsman.
What book should I read to become a better developer? Do I need to read books?
I think it’s a great question, and it is one that I asked many of my mentors as I was becoming a software engineer. The problem was that many people suggested different books on different topics. All the books they suggested were great in their own right, but no one was able to give me a list that would be the ESSENTIAL books, the MUST READS, that any engineer with hopes of being great should most certainly read.
Well, I’ve learned a lot from my mentors and realized that I still had a lot to learn with the many different books that were suggested to me. I decided to develop a routine…
View original post 2,144 more words
Recently I needed to use tag input just like Gmail uses to input recipient’s email addresses in compose email dialog box. As I was using AngularJS in my project so the solution must be compatible with it. I searched a lot about it and then finally found a good autocomplete lib on Github but couldn’t find autocomplete and tags input combo. So i decied to develop tags input onmy own with found autocomplete solution.