Amazon package delivering drones

Holy crap! This is just crazy!  Amazon is working on a project to use drones for ultra fast package delivery (2.5 kg in less then half an hour):

He says we’re four or five years from drones being able to deliver small packages right to your house, largely because the company has to work with the FAA to make sure it’s legally allowed to run the Prime Air program — Amazon doesn’t have Zookal’s luxury of operating in Australia without the FAA’s regulatory oversight.

I always regarded Amazon as an innovative company – but this is in a category by itself.  Welcome to the future, once again.

List.js – Search, sort, filters, flexibility to tables, list and more

List.js – Search, sort, filters, flexibility to tables, list and more

Tiny, invisible and simple, yet powerful and incredibly fast vanilla Javascript that adds search, sort, filters and flexibility to plain HTML lists, tables, or anything.

Source code on GitHub.

Global .gitignore

gitignore is a very handy tool for ignoring unnecessary files in the project.   Most large projects have .gitignore file included.  Most small projects would benefit from one too.  However, working as a developer on a variety of projects, it’s often difficult to add your own rules to all .gitignore files around.  And that’s exactly what I wanted.

I’m using Vim editor for all my coding needs, and I wanted to add Vim swap file and backup file to all .gitignore files.  That sounded like annoying, so instead I looked around for a global gitignore solution.  As always, StackOverflow has an answer for everything.  There is a way to disable extra files in Vim, but there is an even better way to have your own global .gitignore.  Here is how to do it:

  1. Edit .gitconfig file in your home folder, and add excludesfile=~/.gitignore line to the core section.
  2. Create .gitignore file in your home folder with whatever rules you desire.

Once that is done, all your projects will ignore the files matching the rules.  If you are not sure which rules to start with, borrow one of the gitignore files from this GitHub project.