How to install Mac OS X Yosemite 10.10 on VirtualBox?

UPDATE: For Mac OS X Sierra please follow this post How to install Mac OS X Sierra 10.12 on VirtualBox?

Years ago I wrote a post for installing Mac OS X on VirtualBox. At that time, the version of Mac OS X was 10.7.3 Lion. The installation may not work with current version of VirtualBox anymore. Therefore, I would like to make another post for updating this hack. This time, we’ll use VirtualBox 4.3.26 for hosting Mac OS X Yosemite 10.10 in Windows 8.

Continue reading How to install Mac OS X Yosemite 10.10 on VirtualBox?

How to create relative shortcut to .exe file with icon?

One year ago I encountered a problem relevant to create a shortcut for relative path. I had to deliver a software package to customers over DVD. The app is kind of archive. It should run live on DVD, connect to a read-only SQLite database (also on that DVD) and display data in read-only mode. It’s pretty easy to deploy such software but when I copy files into a sub folder and create a shortcut to program on its parent folder. The shortcut won’t work on other machine because it uses absolute path and the icon won’t also appear. So a consideration raised if I should develop a Start.exe just to start the program or use some tricks to create a same thing.

Continue reading How to create relative shortcut to .exe file with icon?

Raspberry Pi – How to setup remote access with VNC

Last month I ordered a Raspberry Pi for learning purpose. I heard a lot of about this mini computer and waited until its 2nd generation comes to market to get one. Depending on purposes, there are a lot of kits for Raspberry Pi in the market (from starter to professional). I myself don’t know what I can do with this mini computer therefore I just buy at least hardware first (listed in next section). Just enough so that Raspberry Pi runs and I can remote access it. So my first project is pretty simple : go shopping and make a remote access to Raspberry Pi with VNC (Virtual Network Computing). In this post I will write down the steps I’ve done to finish this mini project.

Continue reading Raspberry Pi – How to setup remote access with VNC

How to install Kali 1.0.9a on Virtual Box?

For research purposes I have to install Kali (successor of Backtrack) on Virtual Box. The installation is pretty fast however we have to know what we have to configure the VM settings and what we should choose in the installation step. I just write down these steps for my own documentation, maybe you will find it also helpful.

The most advanced penetration testing distribution, ever.
From the creators of BackTrack comes Kali Linux, the most advanced and versatile penetration testing distribution ever created. We have a whole set of amazing features lined up in our security distribution, geared at streamlining the penetration testing experience.

Continue reading How to install Kali 1.0.9a on Virtual Box?

C# – Lotus NotesSQL Driver install, configure and connect to server through ODBC

Lotus Notes and Lotus Domino are the client and server of a collaborative client-server software platform from IBM. The ecosystem provides business collaboration functionality, including email, calendars, to do lists, contacts management, discussion forums, file sharing, instant messaging, blogs, and user directories. Like other business applications, Lotus system conducts a database system behind to manage all data objects for sharing data between internal applications. To make the system itself more friendly to 3rd applications, Lotus also provides a driver – Lotus NotesSQL – so that 3rd applications can query data from Domino server. With Lotus NotesSQL, users and application developers can integrate Domino data with their applications through ODBC. IT professionals can enable their existing ODBC-enabled applications to access data stored in a Domino database. It allows ODBC-enabled data reporting tools, database tools, and application development tools to read, report, and update information that is stored in Domino databases (NSF files).

Continue reading C# – Lotus NotesSQL Driver install, configure and connect to server through ODBC

Android – How to speed up Android emulator?

Android emulator is very famous for its performance. It’s very, very, very notoriously… slow. If you debug your app with Android emulator, it get more extremely slower. This performance problem stems from the fact that Android OS is written for ARM processor (not for Intel/AMD processor or let’s say not for computer processor). Therefore when we get our apps run on Android emulator (which is running on Intel/AMD processor), every assembly code row has to be emulated. A run-time binary translation will happen to translate every assembly code of development machine to device machine. And that point slows down everything.

Continue reading Android – How to speed up Android emulator?

Tutorial – Publish ASP.NET Web API in IIS 8.5 and Windows 8.1

Some of my previous posts involved in web services made by ASP.NET Web API and I have received some feedback that it’s difficult to make the code run. The readers don’t know how to publish the sample web service which is included in source file. Therefore in this post I will show you how to publish a ASP.NET Web API service to localhost (your local computer). The tutorial is written for my current environment with Windows 8.1 and IIS 8.5. If you have another system and don’t find out how to follow a certain step in tutorial, make a comment below. Maybe I can help.

Continue reading Tutorial – Publish ASP.NET Web API in IIS 8.5 and Windows 8.1

Fail to host a LightSwitch HTML Client application on AppHarbor

LightSwitch HTML Client inspires me a lot since its first release. I never think that the database development can be so fast and easy. It takes me just an hour to finish an application with Authentication, Authorization, CRUD (Create, Read, Update, Delete), HTML5 support and Mobile capability. LightSwitch is such a great tool with its wonderful features, however hosting a LightSwitch application on a build server seems to be not so easy. I don’t own either a Windows Azure server or a Windows VPS Server so that I can install LightSwitch prerequisites on it. So I manage to host my LightSwitch application on shared host like AppHarbor. It takes me days to fix the compiled errors on the server and I still fail. There is an error of building tasks and I can’t solve it.

I would like to emphasize again that I still can’t host a LightSwitch application on AppHarbor but I would like to share what I did so far. Maybe one of you follow the steps and at the end find out how to fix the error which I encounter. In the next section, you’ll find the summary of the steps which I made to create a sample project, push it to AppHarbor and how I fix the errors.

Continue reading Fail to host a LightSwitch HTML Client application on AppHarbor

Entity Framework Code First Basic FAQ – Part 1

The Entity Framework (EF) with Code First is so popular that any database developer should own skills for this kind of development. If you make a search of EF with Code First, you’ll find tons of tutorial figuring out how it works and all things relevant. Therefore in this blog post, I don’t intend to give you something new, indeed there is nothing new. I just want to make a summary of all necessary basic steps when I start a project with EF Code First. So if you’re already professional with EF, just skip this post.

Continue reading Entity Framework Code First Basic FAQ – Part 1

MS SQL Server – Isolation levels with example

Synchronizing data in real time is such a big problem to solve in business application. It’s difficult to ensure that the data is updated correctly or not in a “zombie” status (a status, that should never happens) because differences always exist between programming cases, unit test cases and real cases. Although we’re trying to cover all possible cases but unexpected problems still happen when the program runs with many users in different environments (location, internet speed, latency, network cable, hardware, how the user uses program…).  It is an art of combination of programming technique and MS SQL Server administrative job so that even if an error happens, we can still hold ACID (Atomicity, Consistency, Isolation, Durability) properties of our databases and our programs don’t simply crash.

Continue reading MS SQL Server – Isolation levels with example