Copy file to clipboard in terminal quickly with xclip alias

Having to copy content from files to the clipboard is a quite common task. The worst possible way of doing this, which I did for long enough, is a simple cat and manual copy (Ctrl-Shift-C). $ cat myfile loremipsumloremipsum There's a more convienient way with the excellent xclip. To install it…

Read this article

Micro hacking microjs into a sorted list

On my last visit to microjs.com, the lovely "micro frameworks and micro libraries" curated list, I noticed lots of interesting projects which I never heard about. However, many libraries there are not very popular, which unfortunately is a criterion when picking a technology for a long-term project. The problem…

Read this article

Cooking with developers #1

You're home after a hard day's work. You're hungry. You can't cook. Or can't you? The ingredients 2 to 4 tablespoons of coconut oil Garlic A carrot An onion A green bell pepper A small chicken breast Start - 5 minutes Put the oil on a fridge. Put the fridge…

Read this article

Chain your solutions with Underscore

After getting to know the basics of Underscore in part I, it's time to delve a little deeper. If you are not familiar with each, map, or reduce, you should probably read it before proceeding. Otherwise, let's move on! Let's consider this array of students and these utilitary functions for…

Read this article

Reduce your problems with functional programming - getting started with Underscore

There are some inflection points when learning JavaScript - moments when you learn something that doesn't merely add to your productivity, but increase it exponentially. Learning Underscore was, for me, one of those moments. It was my first contact with functional programming concepts and this, by itself, is a Big…

Read this article

Lead by example or don't lead at all

Around 2494 years ago, a battle happened on a narrow coastal pass called Thermopylae. In this battle, 300 Spartans and a thousand more soldiers led by King Leonidas held the pass for three days against an overwhelmingly larger Persian army. They were eventually betrayed and lost. This weakened and delayed…

Read this article