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

Port php mysql scripts to php 7.0 from 5.x version

2018-04-23 2 min read Learning
Recently I got a script or series of scripts that were written for PHP 5.6x and hence used mysql_connect which as you know by now does not work with PHP 7.0. Since there were number of scripts, I thought it would be waste of time to change them manually and wrote a script to fix them. If you have similar situation then probably this few lines could help you. Since my scripts did not use all the functions so I did not put the sed commands for all of them but you get the idea 🙂 Continue reading

Eight CSS Tips for Advanced Layouts and Effects

2017-07-03 11 min read GuestPost
The realm of web front-end development has made considerable progress over the last few years. However, the web front-end, as the users see it, is still the same: HTML markup styled with CSS. Many layout problems can seem simple at first but often proves to be tricky. Without extensive knowledge of how certain CSS features work, these advanced layouts can seem impossible to achieve with CSS alone. In this article, you will find eight expert CSS tips and tricks that leverage lesser known CSS features to implement some of these advanced layouts and effects. Continue reading

remove the background the easy way — online

2013-07-17 1 min read Uncategorized
Here is a nice link to web application that lets you remove the unwanted background. Just head over to the side, follow the simple instructions of marking the background and the subject and you are done. http://clippingmagic.com/ Pretty good results you will get here, you may need to do a little work on the results but otherwise pretty good results. Related articles Remove Unnecessary Jars! What are the names of frameworks for creating android applications? Continue reading

Your own local search engine.

2012-04-09 1 min read Fedora Learning Uncategorized
There are times when you would want to have a local search engine capable of indexing even pdf and doc files. So here is a solution. You can use “Omega” and here are the instructions. download omega from http:// xapian.org/download yum install xapian libuuid-devel And then make and install omega and for this you can follow the instructions. Federated Search Engine Diagram (Photo credit: Wikipedia) Create index using command omindex Continue reading

cd across parallel directories

2011-03-14 1 min read bash Linux
Image via Wikipedia Here is a simple and fast way to cd across parallel directory. 1 <td> <div class="text codecolorer"> cd ${PWD/test/actual} </div> </td> </tr> Related articles Linux command line tips: wget (ghacks.net) Article Directory Submissions (tjantunen.com) Article Directory Submissions (cash-bandit.com) Create a repository from your fedora DVD (annupandey.wordpress.com)

Empty a file

2010-12-26 1 min read Learning Linux
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;"> Image via <a href="http://commons.wikipedia.org/wiki/File:Calculator.NET_Screenshot.png">Wikipedia</a> </dd> </dl> This one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output. Empty a file 1 <td> <div class="text codecolorer"> touch file </div> </td> </tr> * View this command to comment, vote or add to favourites * View all commands by noisy Continue reading
Older posts