GCC in Mac OS X 10.8 Mountain Lion – Xcode 4.3 / Xcode 4.4

Hah! So since I’m a registered developer, I installed the preview version of Mac OS X 10.8 Mountain Lion and of course Xcode 4.4 developer preview.

The operating system is stable as hell Lion, although Safari doesn’t like to parse RSS feeds ;-)

Today I wanted to compile the latest yarick release to do some simulations in quantum physics and discovered that neither cc nor gcc are located in “/usr/bin”. Instead they’re now inside the Xcode.app folder (which is normally located in “/Applications”).

Well, you can set the $PATH variable of your BASH/CSH-enviroment with (for bash):
export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH
Just put that line into your .profile or .bash_profile and you’re fine.

Unfortunately you’re not fine at all, if you need the “non-llvm”-version of gcc. This has disappeared in Mountain Lion. Hah! Get MacPorts and install the gnu-gcc if you need it ;-)

Funny Dubstep Videos

On the one hand, I still didn’t figure out whether I like or hate dub step, on the other hand, I’m complete sure that I love funny videos which are related to dub step ;-) Here are some funny or remarkable dub step videos…

Awesome Dubstep Commercial

Harry Potter Pole Dance

Finally: ChronoSlider 2.0 released ;-)

OK guys, it took nearly forever, but I finally managed to put it out. I hope you like it and waiting for you feedback! :-)

Of course, the update is free for everyone who already have purchased ChronoSlider before ;-)

More infos: ChronoSlider

 

 

 

 

ChronoSlider 2.0 is on the way!

The closed beta is closed (haha), app is submitted and now waiting for review…

And here is a sneak peek ;-) I hope you’ll like it!

ChronoSlider 2.0 coming soon!

ChronoSlider 2.0 coming soon!

ChronoSlider 2.0 closed beta started!

Only a few days and ChronoSlider 2.0 will be available on the Mac App Store. The closed beta has started!

Unfortunately it will be Lion only but since it is distributed over the Mac App Store, I hope that most of you have already upgraded!

So see ya! (got to learn theoretical physics ;-) )

ChronoSlider 1.1.2 is waiting for review!

The next big update of ChronoSlider will only support Mac OS X 10.7 (Lion), since I’m working on iCloud support and using some awesome new features of the new operating system.

That’s why I decided to put up a quick minor update before releasing the new major version, since there were some annoying memory leaks and some highly requested features which I really want to have in the Snow Leopard version, for those who won’t update to Lion.

Besides a huge code optimization, the main new features are setting a quick alarm without an alarm text (using right click when choosing the time) and repeating alarm sounds.

I hope you’ll like it!

YASDUT #4 (Line Numbering)

YASDUT #4

Line Numbering

To add line numbering to an existing file, you can simply use ‘nl’ which adds line number to a given input text and redirect the output to a new file:

nl foo.bar > foo.bar.num

Read the man pages for more options!

YASDUT #3 (List Only Directories)

YASDUT #3

List Only Directories

There are many ways to list only directories of a given parent directory. Here is one of them:

ls -l | grep "^d"

You can define a fancy alias like ‘lsd’ to avoid typing a lot every time ;-)

alias lsd 'ls -l | grep "^d"'

YASDUT #2 (Hotkeys in Bash)

YASDUT #2

Hotkeys in Bash

Most o the bash users only uses the Ctrl+C and Ctrl+D command to stop a process or quickly kill the shell, but there are more useful hotkeys in a bash shell:

  • ctrl-c kill the current command/process
  • ctrl-d kill the shell
  • ctrl-l clear the screen
  • ctrl-r search in the previously given commands
  • esc-p like ctrl-r lets you search through the previously given commands
  • ctrl-u clears the typing before the hotkey
  • ctrl-a jump to the begining of the command you are currently typing
  • ctrl-e jump to the end of the command you are currently typing in
  • esc-b take you back by one word while typing a command
  • ctrl-h delete one letter at a time from the command you are typing in
  • ctrl-z pus the currently running process in background, the process can be brought back to run state by using ‘fg’.
  • esc-. the last command you typed
   Beat diabetes   Diabetes diet SEO
What is seo - Nofollow backlinks