Delete large amount of OS X files quickly
Submitted by Ivan on Sun, 2009-06-28 21:41
Let's say you want to delete a backup from an external drive you don't need anymore. This backup will be millions of files if it includes all the system files. If you want to delete such large amount of files using the Finder's Empty Trash command it may take you hours.
A simple trick in Terminal will reduce the time by 40% to empty your trash significantly. Carefully enter this command:
sudo rm -r
Now click and drag the folder you want to delete to the end of the line. This operation will insert the correct path. It will look something like this:
sudo rm -r /Volumes/Backup_Disk/Backups
Press enter and you will be asked for your admin password. Now just wait for the command to complete.
This method is not just faster, but it also runs in the background so you can use Finder normally.
Save a directory list to a file
Submitted by Ivan on Sat, 2009-06-27 11:35
If for whatever reason you need a list of files within a certain directory in text format you can do so using the ls Terminal command.
Just open Terminal, navigate to the required directory and then enter one of these commands to save the information to the directory.txt file:
Only the files within the directory: ls > directory.txt
Lists all subdirectories recursively: ls -R > directory.txt
Sorts by time of last modification: ls -t > directory.txt
For more options check this page.
Nike Basketball Paper Battlefield
Submitted by Ivan on Thu, 2009-06-25 17:53
Check out these Design Lion Grand Prix winning call-for-entry posters for the annual Nike Basketball League Competition in Hong Kong.
The creative team Mccann Hong Kong literally translated the spirit of competition onto the posters. 350 posters were handmade by the players. Images of the top 10 players, each representing a unique skill were turned into printing templates. Then they were invited to a silkscreen workshop to print their image on top of each other. The posters became their battlefield. The random cross-printing became their battles. And the printing process became our message.
How to speed up your site according to Google
Submitted by Ivan on Wed, 2009-06-24 21:35According to Google speed is everything. I personally agree. I can't stand slow sites. Speed is probably the second most important thing for me after content.
Here is a list of tips from Google on how you can improve your site's speed:
- CSS: Using every declaration just once
- How gzip compression works
- HTTP caching
- Improving website performance with Page Speed
- Minimizing browser reflow
- Optimizing JavaScript code
- Optimizing web graphics
- PHP performance tips
- Prefetching resources
- Properly including stylesheets and scripts
- Reducing the file size of HTML documents
- UI messaging and perceived latency
Drupal, the CMS engine behind creativebits uses many of these techniques successfully to speed up pages. It compresses the CSS files and it can pack several files into one single CSS file. It can cache pages so there are less php and mysql requests.
On Ads of the World because of the huge traffic we had to use http caching on top of Drupal's built in features as well.
The web designers' guide to cloud hosting
Submitted by Ivan on Tue, 2009-06-23 23:50Cloud computing is quietly taking over the world and changing the way we use our computers forever. Whether you're storing your photo collection on Flickr or logging on to Gmail, everyone's now using the cloud, even if they don't realise it. But how does it work and how can we as web designers and developers make it work for us?
Get ImageWell or Shutterbug for 50% off through June 21st
Submitted by JimD (2453 points) on Fri, 2009-06-19 12:37
XtraLean Software is pleased to announce its fifth annual Father's Day Sale, offering Mac Dads a chance to treat themselves to two fantastic Mac OSX applications that make life on the Web a little easier at half price.
From June 19 to June 21, users can get ShutterBug and/or ImageWell for a 50% discount using the special links below, no fussy coupon codes to enter!
- ShutterBug, $19.95 (reg. $39.95) CAD, is a website creation tool that helps users create and publish custom built websites easily through a WYSIWYG interface. Requires OSX 10.3.9 or higher.
- ImageWell, $9.95 (reg. $19.95) CAD, is an image editor that lets users quickly and easily edit, crop, and resize with the click of a button. Requires OSX 10.4 or higher.
I've been a long-time user of ImageWell for its ease-of-use and one-click uploading of my edited images to servers (FTP, SFTP, MobileMe, Flickr, SmugMug or ImageShack). The developers are quick to respond to questions and suggestions via the support forums, and the software runs smoothly on any supported Mac. Visa, Mastercard, AmEx and PayPal are accepted, and demos are available.
Pixel precise screenshoot
Submitted by Ivan on Thu, 2009-06-18 20:10I'm sure you knows how to make screen shoots in OS X: press the Apple-Shift-4 (Cmd-Shift-4) key combo to select just a part of the screen.
However, you may not know that once you started dragging the cursor to select a rectangle you can press Space to move the starting point of the selection.
Also you can press shift to fix the horizontal or vertical dimensions and only resize the selection to one direction.
Notice that while you move your cursor the starting point or dimensions of screenshoot are shown in pixels.
Fix the iPhone activation server temporarily unavailable error
Submitted by Ivan on Wed, 2009-06-17 21:44
If you're experiencing issues with your iPhone 3.0 software update because the Apple servers are overloaded try this:
- Click Update in iTunes.
- Wait till you get the message "Expanding package" with a progress bar.
- Disconnect your internet (Turn Airport off or simply take the Ethernet cable out).
- Wait for the update to complete.
- Reconnect internet.
Have fun with your new iPhone OS!
Green support icons for Twitter #iranelection campaign
Submitted by Ivan on Tue, 2009-06-16 09:57Twitter is one of the most important channels for informing the world about what is happening in Iran. The #iranelection tag has been the trending topic for over 3 days now with hundreds of messages every minute. Twitter even delayed their critical maintenance update on request from the US government just to let people tweet without interruption.

