Software-Reengineering Einer meiner Studienkollegen hat mir eben angeboten seine Seminararbeit zum Thema Software-Reengineering zu veröffentlichen. Vielen Dank an Andre Ufer und euch viel Spaß beim lesen ;-)
Ausarbeitung
Download Link
Überblick, Ausprägungen und Abgrenzung
| Author: | Andre Ufer |
| Category: | Security |
| Date: | February 4, 2012 |
Setting up a Mac VM inside Windows 7 1. Intro
Because of some changes in my company I now have to code for iOS. This is why I need to learn Cocoa (the programming language for developing iOS software). So tonight I have set up a virtual machine with Mac OS X Lion 10.7.2 to play a little bit around with Xcode – the preferred IDE.
Till now I thought setting up a Mac-VM is very difficult and hard to obtain but it was very easy and I hadn´t any problems. To help all you guys out there that like to do the same, here is my how to ;-)
For this how to I assume that you have already played around with VMware and also know how to open a terminal window in Mac OS X.
2. Getting the software
- For the virtualization I have used a VMware Workstation 7.0.0, can´t say if there are problems if you use the Fusion or the Player, if you like to test it I would appreciate a comment about your experience ;-)
- The next thing you need ist the “Mac OS X Lion Bootable .vmdk (For VMware)“, google it, download it – should around 4, 12GB
- VMware unlocker: mirror1 mirror2 (contains unlocker for VMware Fusion, Player & Workstation – Linux only for Workstation)
- VMware guest installation: mirror
- Audio driver: mirror
- Mac Os X update to 10.7.2 from Apple: link
3. Prepare
4. Installation
- Start the VM!
- Select “I moved it“
- If VMware asks you to repair the hard drive, let VMware do it.
- Now follow the Mac OS X instructions for installing the OS.
- When you´r done and reached the Mac desktop open the CD drive of your VM and install the VMware Tools. After that you have to reboot. From now on the resolution will automatic fitt to the screen size and a share drive shows up on your Mac desktop. If you now setting up a share in your VMware Workstation you can reach it from within the VM via that share drive – cool, isn´t it :-)
- Now shutdown the VM, make a snapshot, add a soundcard (in the settings) and power it on again, we will now update the VM to 10.7.2!
5. Update to Mac OS X Lion 10.7.2
6. Clean up
- Shutdown your VM. Remove the second hard drive and the mounted CD-iso, you do not need them any more.
- Take a final snapshot!
- Now you hopefully have a working Mac OS X Lion 10.7.2 VM in the Mac OS X Lion directory, feel free to move your VM to another location of your hard drive and remove/backup the installation files.
7. Enjoy

8. Edit: Update to OS X Lion 10.7.3
- To update your system to 10.7.3 you have to download the update-image from apple.com and then go back to step 5.
- After installing 10.7.3 the sound and VMware driver should still work, so you can pass this two steps ;-)
Now I´m All In Two hours ago I viewed a clip from Hanselminutes on 9, called Social Networking for Developers and now I have decided to create an account for twitter.
At the moment I don´t know if I will use it both ways (read tweets), till now I setup a plugin that posts my blog posts as updates to my twitter account and twitter posts it to Facebook. I thought: “Why don´t use all the social media to make public blog posts even more popular”.
Because Google+ is in my opinion more like a massive blog I won´t publish twitter messages on this platform, I think I will promote my posts manually on Google+.
Maybe you think two hours for this is a little bit long, well, damn right! I have also moved my blog to a new directory on my web space, have created a .htaccess-file that redirects the old urls, that are out there, to the new direction and I have the plan to shut down the url blog.jwillmer.de. I believe it is better to use one domain without subdomains, the future will tell me if I´m right :-)
Also I have edited my theme and added tags for Rich Snippets but this story have to wait – for now I´m excited if this post will show up on twitter/fb and how it looks like and because I have to work tomorrow and it´s very late I´m closing for now ;-)
Zitate aus dem Adventskalender In meinem Adventskalender waren, auf der Rückseite der Türchen, immer Zitate abgebildet, von denen ich einige so gut fand das ich sie bis jetzt auf dem Tisch liegen aufgehoben habe. Nun bin ich aber gerade am aufräumen und die Zitate werden dem zum Opfer fallen. Bevor sie also weg sind, dachte ich mir, ich poste sie hier ;-)
Die Liebe besteht zu drei Viertel aus Neugier. – Giacomo Casanova
Liebe ist: Freundschaft, die Feuer gefangen hat. – unknown
Liebe ist kein Solo. Liebe ist ein Duett. Schwindet sie bei einem, verstummt das Lied. – Adelbert von Chamisso
Ein Kuss ist eine Sache, für die man beide Hände braucht. – Mark Twain
Vergangen sei vergangen und Zukunft ewig fern: gefangen verweilt die Liebe gern. – Clemens Brentano
PHP-Script: Verzeichnisstruktur auflisten Dieses Script stammt aus meinen alten PHP-Zeite. Ich nutze es, in abgewandelter Form, zurzeit auf jwillmer.de und dachte vielleicht kann es ja auch jemand anders gebrauchen ;-)
<?php
/*
Dieses kleine Script listet die Verzeichnisstrukturen auf und verlinkt deren Inhalte.
Viel Spaß damit! - Gruß jEns
*/
if (!function_exists('scandir')) {
function scandir($directory, $sorting_order=0) {
if(!is_dir($directory)) {
return false;
}
$files = array();
$handle = opendir($directory);
while (false !== ($filename = readdir($handle))) {
$files[] = $filename;
}
closedir($handle);
if($sorting_order == 1) {
rsort($files);
} else {
sort($files);
}
return $files;
}
}
function ordnerinhalt($folder='.') {
$content = "";
foreach(scandir($folder) as $file) {
// Versteckte Dateien nicht anzeigen
if($file[0] != '.') {
if(is_dir($folder.'/'.$file)) {
$folderArray[] = $file;
} else {
$fileArray[] = $file;
}
}
}
// Erst die Ordner ausgeben
if(isset($folderArray)) {
foreach($folderArray as $row) {
$content .= '<b>'.$row.'</b><br />';
// Unterordner nach rechts einrücken
$content .= '<div style="padding-left:10px;color:#afafaf" />';
// Rekursive Funktion
$content .= ordnerinhalt($folder.'/'.$row);
$content .= '</div>';
}
}
// ...dann die Dateien ausgeben
if(isset($fileArray)) {
foreach($fileArray as $row) {
// Dateien verlinken
$content .= '<a href="'.$folder.'/'.$row.'">'.$row.'</a><br />';
}
}
return $content;
}
echo ordnerinhalt();
?>
|
|