Here’s possibly the geekiest way to Rickroll someone

Screenshot 2015-06-29 18.41.31
The Rickroll is still one of the Web’s purest troll moves. And now there’s an easy way to bring that Astley action to the terminal. London-based developer Radek Pazdera has outlined a way to display images in terminal that uses just nine lines of Ruby. Of course, you can use it for noble acts, like sharing a lovely picture of Pikachu, but deploying it for the dark arts is even better. Pazdera started by combining two gems – rmagick (to read the images) and tco (to map pixels from RGB to the extended terminal color palette.) The sample code He then extended the original code…

This story continues at The Next Web

from The Next Web http://ift.tt/1IGLHUf
via IFTTT

0 Kommentare:

Kommentar posten