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. This helps to avoid the common pitfalls of writing and maintaining CSS for large projects. A developer can describe a component’s style with no risk of side effects.

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"
Enhanced by Zemanta

debug call function() to debug a function in vim

2011-09-04 1 min read Vim Tips

Drawn in Autosketch + pasting in words from Excel
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