Skip to main content

Posts

Showing posts from 2011

How to hack Google+ to send your friends invites (At least For A Start)

Here in Africa i woke up to find Google had shut down the invitation process to Google +. So after a bit of testing I’ve found out the following how to bring your friends in to it while Google has a lock-down on the service. If you have an invite to join Google+, right click on the invite link you were sent on email and save the URL. Paste that URL to Twitter or Facebook or email it to some friends. With any luck some of them will get in via that link. I tried this by Tweeting my own invite link, and magically a few people managed to get an invite of their own. Most did not however, so this is not a full proof work-around. It seems to work if people waited a couple of minutes or refreshed the page after a minute. The better, more guaranteed hack is one or both of the following. An existing user on Google+ creates a new Circle, called (Writer or Bloggers) Invites. They then add the emails of the people they want to invite to that circle. An additional work-around – which also app...

the html5 switch...Interesting!

Depending on who you talk to, you should have been using HTML5 months, nay  years ago; or it's something you might be using in 2022. As usual the truth is somewhere between the glib extremes. There's no one-size-fits-all answer to questions of platform choice: you have to consider the benefits for your own scenario. But with HTML5 I'd say if you haven't switched yet, for most people  it's probably time - there's a form of "switching" that will work for you. Some people seem caught up on the problem that many features have very poor support across browsers; or are simply put off by the thought of redoing their entire code base. Really though, you don't have to rebuild everything, not use everything in HTML5 for it to be worthwhile  switching your doctype  now. Over the past few months I've switched  a large application  and a few small sites to run the HTML5 doctype. Most have been seamless, with just one website exploding on contact ...

Calculating Business Days on Oracle

Abstract: A function you can use to calculate business days. Includes provisions for after hours calculations. There are quite a number of examples already on the web for calculating business days on Oracle. However, none of these did exactly what I needed for a job I was doing. What's different about my environment is the need to consider multiple geographic regions and to consider work hours and that different regions might have different work hours. Here are the deciding factors for how this function decides what to with timestamp after hours (both weekends and during the week) If the start date is after the end of the work day, and before midnight, it is advanced to the beginning of next work day. If the start date is before the beginning of the day (and therefore after midnight), it is advanced to the beginning of the current work day. If the start date is on a Saturday, it is advanced to the beginning of work day on the following Monday. If the start date is on a...

How To Migrate Oracle’s Sample HR Schema to SQL Server

The following are step-by-step instructions on using SSMA to migrate Oracle’s sample HR schema to SQL Server 2008: 1. Download the SQL Server Migration Assistant for Oracle from here . After download, extract the installation files. 2. Install SSMA for Oracle on your client machine 3. Install SSMA for Oracle extension pack on the target SQL server machine. 4. Start the application by double-clicking the shortcut on your desktop: 5. Obtain a license key. The first time you use SSMA for Oracle, you will be directed to a registration site from which you can obtain a license key (stored in a file called oracle-ssma.license). You will have to indicate the directory in which you will save this file (for example: C:\install\): Click Refresh License and SSMA tool will open. 6. Change default project setting. By default , SSMA loads only basic Oracle system schemas and packages. You need to customize project settings to allow loading of HR sample schema. Click on Tools from the ...

HOW TO MOUNT AN ISO FILE IN LINUX(ubuntu, fedora,redhat, suse)

HOW TO MOUNT AN ISO FILE (Kofi.iso) =================================== login as the root user at the terminal remember that when u login as root there is always # at the end check the path using pwd to see where u are in the directory #pwd do a ls of the various directories #ls make a directory to keep the contents of the iso file ie say kofi using the mkdir command mkdir kofi after mount the iso file with the following command mount kofi.iso ./kofi/ -o loop,ro when mounted u can find it on the desktop and the extracted content in the home directory folder ENJOY!! :)

Installing Oracle 11g on Linux [Oracle Net Services configuration failed.] /product/11.1.0/db_1/bin$./netca

Error message: UnsatisfiedLinkError exception loading native library: njni11 java.lang.UnsatisfiedLinkError: jniGetOracleHome at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method) at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source) at oracle.net.ca.NetCA.main(Unknown Source) Oracle Net Services configuration failed. The exit code is -1 Solution: sudo apt-get install build-essential libaio1 gawk ksh after a successful completion of the installation u should find this on the terminal window u were working on. Oracle Net Services Configuration: Configuring Listener:LISTENER Listener configuration complete. Oracle Net Listener Startup: Running Listener Control: /u01/app/oracle/product/11.1.0/db_1/bin/lsnrctl start LISTENER Listener Control complete. Listener started successfully. Oracle Net Services configuration successful. The exit code is 0 you can set the tone for your database configuration assitant (dbca) Enjoy. :) Please leave comments if u have a problem.....

How to unlock Sample HR database in oracle

For working with tutorial of oracle Introduaction to oracle/sql you need to work on the tables which is locked in oracle. for Unlocking these tables you have to follow these steps 1. Login in sqlplus or sqlplus or isqlplus as a user “system” with respective password. 2. Execute the following command ALTER USER HR IDENTIFIED BY password ACCOUNT UNLOCK; here password is your passord which you want to use for your account remember this password for further use. OR: ALTER USER HR ACCOUNT UNLOCK; 3. Login in with user HR with password specified above Now you can use all tables specified in tutorial. Please leave your comment If you encounter any problem…