How to detect first time app launch on iPhone in Xcode

Inside the "AppDelegate.m", change- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // Override point for customization after application launch. return YES;}to - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary...

Fortsatt ikke tap ved statlig nedsalg

Rasmus Hansson fra Miljøpartiet de grønne mener at et selskap kan ha større verdi for staten fordi statlig eierskap reduserer politisk risiko, og nevner Gassled som eksempel.Prisen på alt Gassled selger bestemmes av den norske regjeringen. Eksemplet er derfor i de fleste tilfeller ikke så veldig relevant.Hansson...

How to restore an oracle dump using imp command

The following steps will guide us in the restoration of an oracle dump file.connect as system and enter your passwordsqplus system@xecreate usercreate user TEST_USER identified by password;grant rolesgrant CREATE SESSION, ALTER SESSION, CREATE DATABASE LINK, - CREATE MATERIALIZED VIEW, CREATE PROCEDURE,...

How to initialize a git repository and linked it to a remote repository provider

For example we've just created a new project and want to push it to a remote repository. Here's what we need to do.Find out what is the repository url, you can see it at github. For example: https://github.com/czetsuya/JAX-RS-REST-Security.gitOpen command promptChange directory to where your project...

JAX-RS 2.0 Security Tutorial in JavaEE and JBoss

This tutorial will summarize how the author was able to call a secured rest webservice using resteasy. We will not go into detail on how we build the entire project since the code is already pushed at github. Basically we will just note down the most important part of the process:Note that our project...

How to import and export a database dump in oracle

The following instruction will help us in importing and exporting our oracle database.Create and restore dump file (http://www.database.fi/2011/05/using-expdp-and-impdp-export-and-import-in-10g-11g/)Create dump filesqlplus system/oracleSQL> create directory dmpdir AS 'c:\temp';select directory_name,...

Using Background Image in Navigation Bar in ios in XCode

You can still use the setBackgroundImage: method to assign a custom image for the navigation bar. Here is the line of code for setting the background image. Insert it inside AppDelegate didFinishLaunchingWithoptions... method: UINavigationBar.appearance().setBackgroundImage(UIImage(named: "nav_bg.png"),...

Web Development

WordpressConfigure Custom Wordpress PermalinkZencartHow to add a customize product admin fields in zencart by editing/adding extra codesJoomlaHow to install/setup/configure joomla to run in a xampp setup. This avoids the technical detail of manually installing apache/php/mysql each as separate applicationMagentoMagento...