As a software program engineer that lives an excessive amount of of his life on a pc, I like protecting my machine as clear as doable. I do not preserve rogue downloaded information and removes apps once I do not want them. A part of protecting a clear, performant system is eradicating empty directories.
To determine empty directories, I take advantage of the next command:
discover . -type d --empty
To take away empty directories, we are able to add a --delete
flag:
discover . -type d --empty --delete
Maintaining a clear machine is straightforward when you recognize the instruments that may enable you to. discover
makes figuring out and eliminating simple, so do not be afraid to make use of it!
Create Namespaced Courses with MooTools
MooTools has at all times gotten a little bit of grief for not inherently utilizing and standardizing namespaced-based JavaScript lessons just like the Dojo Toolkit does. Many builders create their lessons as globals which is mostly frowned up. I largely disagree with that stance, however every to their very own. In any occasion…
CSS Filters
CSS filter assist lately landed inside WebKit nightlies. CSS filters present a technique for modifying the rendering of a fundamental DOM component, picture, or video. CSS filters permit for blurring, warping, and modifying the colour depth of parts. Let’s have…
Create a Twitter AJAX Button with MooTools, jQuery, or Dojo
There’s nothing like a delicate, slick web site widget that successfully makes use of CSS and JavaScript to reinforce the consumer expertise. After all widgets like that take many hours to good, but it surely does not take lengthy for that effort to be rewarded with above-average consumer retention and…
Animated AJAX File Deletion Utilizing MooTools
I am an enormous fan of WordPress’ methodology of particular person article deletion. You click on the delete hyperlink, the menu merchandise animates purple, and the merchandise disappears. Here is tips on how to obtain that performance with MooTools JavaScript. The PHP – Content material & Header The next snippet goes on the…