Styled-Components: CSS-in-JS Library for the Modern Web

2018-06-25 11 min read Uncategorized
This post was written by Jeremy Davis, JavaScript Developer for Toptal. CSS was designed for documents, what the “old web” was expected to contain. The emergence of preprocessors like Sass or Less shows that the community needs more than what CSS offers. With web apps getting more and more complex over time, CSS’ limitations have become increasingly visible and difficult to mitigate. Styled-components leverages the power of a complete programming language—JavaScript—and its scoping capabilities to help structure the code into components. Continue reading

tora installation on Fedora 17.

2012-06-22 1 min read Database Fedora
Here are the previous links on Tora: Tora on F16 Tora on Fedora And if you are interested in installing from source then you can always use this link: http://blog.amit-agarwal.com/2012/02/06/tora-fedora-16-mysql-oracle/ And if you are interested in just installing it then you can always do: rpm -ivh "http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc17.i686.rpm" Related articles Upgrade to Fedora 17 from 16.(amit-agarwal.co.in) Fedora 17 warning: kernel panic after upgrade (part 2)(kparal.wordpress.com) Fix Fedora 17 Kernel Panic after Preupgrade(loviniltra. Continue reading

bash prompts — some good links

2012-03-08 1 min read bash
Here are some pretty good links on the subject. Since there are already so many blog posts, does not make sense to add one more 🙂 http://tldp.org/HOWTO/Bash-Prompt-HOWTO/c816.html http://www.gilesorr.com/bashprompt/prompts/ https://bbs.archlinux.org/viewtopic.php?id=84386 Bash themes – http://onlamp.com/onlamp/2006/02/02/bash_themes.html Related articles set prompts for bash Osx? (stackoverflow.com) Difference between Bash shell and Bash terminal? (stackoverflow.com) The Hollywood Reporter Rounds Up Jessica Chastian and Owen Wilson For a Pre-Oscars Bash (popsugar.com)

debug call function() to debug a function in vim

2011-09-04 1 min read Vim Tips
Image via Wikipedia Have you ever wished that you could either see what is going on initially at the vim startup like you could do with C program in the gdm mode, but really did not want to go through gdb. Or rather you sometime felt that some function defined by some plugin is causing some issue and you wanted to debug just that function. Well you need not wish anymore, the functionality is already there. Continue reading

Shape Collage – Simple software to create collage with a java application.

2010-07-31 1 min read Linux Photo
Download from <a href="http://www.shapecollage.com/download.html">here. Very useful utility to create collage in variety of ways. Here are some screenshots to give you a idea of how this works. <a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_0011.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_0011.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1292" /> <a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_002.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_002.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1293" /> <a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_003.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_003.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1294" /> <a href="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_004.bmp"><img src="http://blog.amit-agarwal.com/wp-content/uploads/amit-agarwal.co.in/wp-content/uploads/2009/10/screenshot_004.bmp" alt="Shape Collage Settings" title="Shape Collage Settings" class="aligncenter size-full wp-image-1295" /> Continue reading