From Our Blog

Best Practice Benchmarking For Legal Services Websites 2016

Abhijeet Chavan's picture

Nearly half of traffic to legal services websites comes from mobile devices.

Encrypting Sensitive Data in Drupal Node Fields

Gergely Lekli's picture

We needed to implement a method for content editors to encrypt some parts of the nodes' content.

A beginner's guide to Angular.js

Jill Lasak's picture

I'll introduce some concepts important to understanding Angular.js to help you get started.

Three Things to Ask When Reviewing Wireframes

Paris Hyun's picture

Advice for reviewing wireframes in preparation for a website redesign.

Basic Technical Tips for Developing Your First eBook

Everson Verissimo's picture

Here are some tips I wish I knew before getting started publishing ebooks.

Implementing an Activity Indicator in AngularJS

Gergely Lekli's picture

A single page app (SPA) sometimes needs to make API calls to let the user know that something is happening.

Night of the Living Spammer

Cate Miller's picture

Use a zombie role to hide all past and future associated content from a motivated spammer.

White House Forum on Access to Justice: Adapting to Mobile Trends

Abhijeet Chavan's picture

LSC convened a forum at the White House on increasing access to justice with senior officials from the Obama Administration, chief justices, business executives, and other distinguished leaders. Here are the slides and transcript of my presentation at the White House Forum on Increasing Access To Justice held on April 14th, 2015.

Embracing Laravel as a new toolkit

Ki Kim's picture

Laravel 5 has moved from being a Rails copycat to standing on it's own as a modern MVC framework. Here are some of the pros and cons I considered when adopting Laravel for a recent product that needed to ship quickly.


About Urban Insight

We create elegant, mobile-friendly websites.

We solve complex problems using Drupal and open source software.

Learn More


Find all .DS_Store files under the directory /Users/jsmith/www

sudo find /Users/jsmith/www -name .DS_Store -depth

And remove them as well.

sudo find /Users/jsmith/www -name .DS_Store -depth -exec rm {} \;

Add the command to crontab so it does it at 10:15am and 3:15pm every day.

# Enter the command and your password when prompted.
sudo crontab -e

# The command should have opened an editor of your choice.
# If an editor is not assigned, you can temporarily assign nano editor.
export EDITOR=nano

# In the editor, enter this line, save it and exit.
15 10,15 * * * root find /Users/jsmith/www -name .DS_Store -depth -exec rm {} \;

I could have removed all .DS_Store files in the system, but doing it with a directory that contains web sites, which can be copied over the network, was good enough for me. Version control softwares usually make exceptions for .DS_Store file by default, so no worry on unwillingly putting them in the code repositories, but it would not hurt to clean them up locally too.