Archive

Posts Tagged ‘Mac OS X’

Two interesting news from Apple and Google

June 8th, 2011 No comments

Apple iOS 5 and Xcode 4.2

How to setup __MyCompanyName__ in Xcode

June 3rd, 2011 2 comments


By default, Xcode inserts a company name something similar to the following in all new source files (.m .h etc):

 

Copyright (c) 2011 __MyCompanyName__. All rights reserved.

Categories: iphone, Mac OS X Tags: , ,

Want to know how I know aliens exist?

March 3rd, 2011 No comments

iPad2

Apple employs them in its engineering department.

How to mount ext2/ext3 filesystems with Snow Leopard

November 29th, 2010 1 comment

The ext2 and ext3 filesystems are very popular in the Linux world, often I receive data on pen drives formatted with this type of filesystems.

Snow Leopard doesn't have native support for these two filesystems, but it is very simple to add the management of them. It is a two step procedure:

Categories: Mac OS X, sysadmin Tags: , , , ,

A useless trick for Mac OS X: The Desktop Background

November 26th, 2010 No comments

It is possible to use a screensaver as background image in Mac OS X. Simply follow the following steps:

  • Set your screen saver to something cool
  • Open a new Terminal window
  • Type the following command:

# /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background

that's all, now your desktop will show your screensaver.

Categories: Bash Tip & Tricks, Mac OS X Tags: , ,

Customizing the login window on Mac OS X

November 21st, 2010 No comments

It is possible adding a text string to the login window, for example you can add a welcome message, simply open a new terminal window and type the following command:

# sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Hi man”

Mac OS X Terminal trasparency

November 8th, 2010 No comments

 

In Mac OS X you can make the Terminal windows transparent simply issuing the following command:

# defaults write com.apple.terminal TerminalOpaqueness 'value'

Where value can assume values between 0.0 and 1.0

With value=1 your terminal will be completely opaque.

Categories: Bash Tip & Tricks, Mac OS X Tags:

How to convert an NSString to Char and vice versa

October 17th, 2010 No comments

I have a lot of code written in C, since I'm writing code for the iPhone the need of reusing this old code has arisen.

One of the first thing to do is the conversion between NSString and char *

you can convert NSString to char* simply using the following line of code:

iOS 4.1: Apple has just released its SDK

September 9th, 2010 No comments

This morning Apple has released the iOS 4.1 for the iPhone.

Good news from this firmware:

  • Some bugs have been solved.
  • HDR is now available for iPhone 4
  • Game Center is now available.
  • The Ping social network is now integrated in iTunes.

New platforms for RTI DDS 4.5c

August 31st, 2010 No comments

The latest version of RTI DDS (4.5c) adds support for the following new platforms:

 

  • Windows 7 (32/64-bit) and Windows Server 2008 R2 (64-bit) with Visual Studio® 2010 support
  • Mac OS® X on x64
  • VxWorks® 6.7
  • Fedora™ 9 on Cell BE
  • SELinux on PowerPC
Statistical data collected by Statpress SEOlution (blogcraft).