Archive by Author

Power Tip #4: Showing & Hiding Hidden Files on a Mac

power-tip-4-hidden-files

As a web developer I'm often working with .htaccess files in my projects. When I want to test a new .htaccess configuration for mod_rewrite I usually make an upload directly to the ftp server (not quite the best development cycle ;-) … I know).

Trying to locate the file in Finder I had no luck. The reason is that Mac OS an unix based operating system is and all files starting with a dot won't be shown in Finder.
One could however upload the file via Terminal with a command line, but that's not a solution to me.

There is a Mac OS command that reveals these hidden files:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

And you can hide them again with:

defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder

It's important to kill Finder to apply the changes.

 

Now there is even a better solution without any command line typing: a widget for your Dashboard.

It's called hiddenfiles and you can download it directly from Apple's website.

hiddenfiles

Making Screenshots on your iPhone

iphone-screenshots-header

Recently I was asked about how to make a simple screenshot on an iPhone. Although it’s not much of a secret there are still iPhone owners that don’t know how to do it.

You can achieve that by a very simple key combo: Press shortly the Home button and the Power button at the same time (until the screen flashes up).

screenshot-instruction-iphone

The screenshot is stored inside the Camera Roll in your Photos App. Now you can sync it with iTunes and finally your screenshot is placed in iPhoto (or any folder you have selected in iTunes for syncing photos).

Taking a screenshot works at any time within any application you are currently using.

Activating Missing Ant Plugin in PDT Eclipse

ant-with-eclipse-header

Did you ever wonder why there is no Ant support in your Eclipse installation?

If you are working with Eclipse as your standard IDE for PHP Projects you will probably use the PDT Eclipse environment which doesn’t include much of the Java project tools. Ant is one of the very handy ones.


What is Ant?

With Ant you can write simple and as well sophisticated batch jobs for compiling and deploying your code or any other task you could think of. For an example, I’m using Ant to compress and obfuscate my Javascript and CSS files.


How does it work?

Tasks you would like to be processed with Ant you put in a build.xml file.
Here is a simple example:

1
2
3
4
5
6
7
8
9
10
11
12
 <target name="myTarget" depends="myTarget.check" if="myTarget.run">
     <echo>Files foo.txt and bar.txt are present.</echo>
 </target>
 
 <target name="myTarget.check">
     <condition property="myTarget.run">
         <and>
             <available file="foo.txt"/>
             <available file="bar.txt"/>
         </and>
     </condition>
 </target>

To learn how to write your own build files checkout the Ant Manual.


Activating Ant in Eclipse

  1. In Eclipse go to Help -> Software Updates -> Available Software
  2. Select Java Development Tools and install it
  3. Restart Eclipse

Now you should be able to see Ant in your Eclipse Preferences and when you right-click on a build.xml file in your project you can run it via Run As -> Ant Build.


Power Tip #3: Speed Up Mail Client on Mac

power-tip-3-speed-up-mail-header

If you get a lot of emails or if you have an IMAP account you have maybe noticed that Mail gets slower and slower. The reason for the speed decrease is Mail’s Index file that grows with time. Deleting and moving mails causes gaps in that index file.  To speed up Mail you just need to send that index file on diet.

(before you continue here make as usual a backup)

  1. Quit Mail
  2. Open Terminal ( Applications -> Utilities -> Terminal )
  3. Run command: sqlite3 ~/Library/Mail/Envelope\ Index vacuum index
  4. Optional: automate it on a weekly basis

Now your Mail should be fast again.



100 Breathtaking Photoshop Tutorials (1st Part)

100-photoshop-tutorials-header

This is the first part of my 100 favorite Photoshop tutorials on the Internet. These tutorials are of interest for web designer, graphics designers,  beginners  and Photoshop freaks.

In these tutorials you can learn a lot about different techniques and styles. Amazing things you can do with Photoshop, try it and love it.

Tutorials 1 – 10:

1. Photorealistic Burning Text
fire-tutorial

2. Spectacular Grass Text Effect
earth-tutorial

3. Neon Effect
neon-tutorial

4. Speedy Shatter Effect
scatter-tutorial

5. Logo On Fire
fire-logo-tutorial

6. 3D Pixel Stretch
3d-pixel-strech-tutorial

7. Waterbody
fluid-tutorial

8. Vector Composite Effect from a Photo
vector-tutorial

9. Energy Spheres
energy-spheres-tutorial

10. Eery Eye
eery-eye-tutorial


Make sure to check back for the next episode.

Firefox 3.5 – Get your speediest, safest and most advanced Firefox now.

firefox-3-5-header

The Mozilla Team has done a great job with the new Firefox 3.5 browser. FF 3.5 is twice as fast as FF 3 in terms of Javascript speed and even 10 times faster than FF 2.

firefox-performance-test

Smaller Memory Footprint

One of the things I didn’t like about Firefox was the fact that having several tabs open would lead to an unbelievably high consumption of memory. These days are over. The XPCOM cycle collector continuously cleans up unused memory. Plus, hundreds of memory leaks have been remedied.

Awesome Bar

The location bar is now called the awesome bar for good reasons. Now you have Safari functionality inside Firefox. You don’t need to remember exactly the website URL anymore – just start typing some keyword and it will present you results from your browsing history. Great!

Offline Browsing

Websites that are Google Gear enabled (like GMail) you can surf offline without having to install any additional Add-ons.

Newest Web Technologies

These web technologies are now natively supported:

  • CSS 2.1
  • CSS 3
  • HTML5
  • SVG Filters
  • Ogg Vorbis
  • Ogg Theora
  • Native JSON
  • MathML
  • Animated Portable Network Graphics (APNG)
  • Cross-Site XMLHttpRequest
  • Microformats
  • Web Worker Threads

Private Browsing

You can easily switch between normal and private browsing and you won’t leave a single browsing fingerprint behind for others to discover. You can even remove every trace of a specific site from your browser without loosing the history of the rest of the sites.


So don’t wait any longer and get your Firefox 3.5 upgrade here.


Global Gaming Factory Acquires The Pirate Bay For $7.7 Million

pirate-bay-sold-header

This morning Global Gaming Factory X AB (a Swedish software company) announced to buy file-sharing service The Pirate Bay for 60 Million Swedish crowns (approx. $7.7 Million). The transaction is scheduled to be closed in August 2009.

The Situation Change

One year ago the founders of The Pirate Bay were sentenced to one year in jail and a fine of $3.6 Million for running the site, which counts to the largest downloading portals on the Internet.

Official Statements

About the future plans for TPB Hans Pandeya, CEO at GGF,  said:
“We would like to introduce models which entail that content providers and copyright owners get paid for content that is downloaded via the site”

TPB’s statement:
“A lot of people are worried. We’re not and you shouldn’t be either!
TPB is being sold for a great bit underneath it’s value if the money would be the interesting part. It’s not. The interesting thing is that the right people with the right attitude and possibilities keep running the site.
As all of you know, there’s not been much news on the site for the past two-three years. It’s the same site essentially. On the internets, stuff dies if it doesn’t evolve. We don’t want that to happen.”

TPB is the biggest BitTorrent tracker at the moment and so it might have a deep impact on the underground scene.

It will be for sure a very interesting transaction to follow.

Google mistakes Michael Jackson Searches for DDOS Attack

michael-jackson-attacks-google-header

After Michael Jackson’s death last week searches on that topic increased dramatically at Google. Google mistook the millions of search queries for a distributed DoS attack.

As Google product manager R.J. Pittman said in a blog post:
“Search volume began to increase around 2:00pm, skyrocketed by 3:00pm, and stabilized by about 8:00pm. As you can see in Google Hot Trends, many of the fastest rising search queries from yesterday and today have been about Michael Jackson’s passing.”

Many people saw Google’s error page when looking for that topic:

google-error

Other websites were affected too: Twitter (micro-blogging platform) was forced to disable some of their features to keep the service up.


Let’s make the Web faster – Google’s new Code Section “Speed”

google-speed-code-header

I can still remember the first days of the web when I we were using Mosaic and later Netscape as browsers. Although websites consisted mostly of simple  text and a sometimes even some images, the speed was terrible. Sometimes it took minutes to load entire pages. Nowadays we have tons of images on every single page plus animations, flash and other media types. The web got way faster in the last 10 years. Big companies started to invest money into infrastructure and ISPs evolved with their services.

Let’s take Google as an example. They can provide search results within a fraction of a second though there are quadrillions of data to be parsed an processed. Google can do that trick only because of their enormous server farms and highly streamlined websites. But Google wants to go to the next level: surfing the web should be as instantaneous as “flipping through the pages of a glossy magazine”.

Let’s make the Web faster

Google introduced a new Code section called Speed. You can find there many useful articles on how to optimize the performance of your website and web server. And if you have some ideas about improving the speed of the web you can post it there too. It’s definitely a good resource for beginners and professionals.

Here is a short introduction video made by some guys at Google:


Missing the Extract Filter in Photoshop CS4? Download it from Adobe.com

missing-extract-filter-cs4-header

Photoshop comes with a very powerful filter for extracting complicated areas like hair, clouds, trees and others. Whenever I need to extract parts of an photo where there are no sharp edges the Extract Filter is the best tool for the job.

Photoshop CS4 does not include the Extract Filter in the basic installation but you can copy it from the Goodies folder on the install DVD. You can also download it directly from Adobe’s website.

Download

Adobe Photoshop CS4 Optional plug-ins pack includes:
• Bigger Tiles
• Picture Package (ContactSheetII)
• ExtractPlus
• PatternMaker
• PhotomergeUI
• TWAIN
• Web Photo Gallery (WebContactSheetII) plus presets
• Textures for Texturizer
• script for Layer Comps to Web Photo Gallery

Mac Download:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=4047

Windows Download:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=4048