Technical Articles
Recent Articles
Showing posts
1 - 37 of
37.
View more ??
|
Compile and Run simple C Program with gcc Compiler in Ubuntu Linux
posted Feb 24, 2012, 4:22 AM by Thiyagaraaj M [ updated Feb 24, 2012, 4:42 AM by Thiyagaraaj Mp ]
Step 1: Check gcc Version
- Open terminal in Ubuntu
ubuntu@ubuntu-machine:~$ gcc --version
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Step 2: Open Text Editor
- Open gedit with GUI (or) ubuntu@ubuntu-machine:gedit
- In Terminal Type gedit and enter.(Note : Now you get gedit editor)
Step 3: Simple C Program
- Now You type these Program and Save Desktop, file named as example.c
#include <stdio.h>
int main(void)
{
printf("This website Name is www.thiyagaraaj.com\n");
return 0;
}
Step 4: Check C File
- Open New Terminal and Type ls
ubuntu@ubuntu-machine:~$ ls
Desktop glassfish-3.1.1 NetBeansProjects tmp
Documents Image Pictures
Downloads Music Public
- Now Move Desktop with these command
ubuntu@ubuntu-machine:~$ cd Desktop
Check C File
ubuntu@ubuntu-machine:~/Desktop$ ls
example.c
Step 5: Compile C Compiler
- Complie C Program with gcc compiler
ubuntu@ubuntu-machine:~/Desktop$ gcc example.c
- Now C Program Compiled
Step 6: Check Execute File
ubuntu@ubuntu-machine:~/Desktop$ ls
a.out example.c example.c~
- Here a.out is execution format of the example.c file
- Now Execute a.out
ubuntu@ubuntu-machine:~/Desktop$ ./a.out
Sample Output:
This website Name is www.thiyagaraaj.com
Articles
Remote Desktop Sharing in Ubuntu 11.10
posted Dec 1, 2011, 2:53 AM by Thiyagaraaj Mp [ updated Feb 24, 2012, 4:56 AM ]
Ubuntu has default VNC Server , then Remote Desktop Sharing is very easy.
Open Desktop Sharing:
Type search box "Desktop" and you will get Desktop Sharing icon, then open it.

Set Preferences of Desktop Sharing:
- Must enable "Allow other users to view/control your desktop"
- Security you can set your wish
- Type ifconfig in terminal

Connect Ubuntu Machine through VNC Viewer:

Articles
how to create folder in android phone
posted Nov 11, 2011, 3:24 AM by Thiyagaraaj Mp [ updated Nov 14, 2011, 10:44 AM by Thiyagaraaj M ]
Create Desktop Folder in Android Mobile Phone
Screenshot from Samsung Galaxy S and Tested In Samsung Android Mobiles
Articles
Samsung Galaxy S GT- i9003 LCD Android 2.3 Gingerbread Official Update
posted Nov 11, 2011, 2:18 AM by Thiyagaraaj Mp [ updated Feb 24, 2012, 4:57 AM ]
After Long Time
Samsung Galaxy S GT- i9003 LCD Android 2.3 Gingerbread Official Update Released 9-Nov-2011
Samsung Galaxy S GT- 19003
Update Android Firmware
Android Gingerbread 2.3.5
Steps
- Get Latest Samsung Kies . to get click here
- Update doesnt affect your Applications and data(even Local SD Card and External SD Card). But Problems May come.So take back up your data,songs and files.
- Open Samsung Kies and Connect your mobile via USB/Wifi.
- Now you can upgrade , dont disconnect the mobile while upgrading time. It will take 1 hour for normal connection.
Android Gingerbread 2.3.5 Screenshots

Android 2.3 Gingerbread Features List
- UI refinements for simplicity and speed
- Faster, more intuitive text input
- The Android soft keyboard is redesigned and optimized for faster text input and editing.
- One-touch word selection and copy/paste
- When entering text or viewing a web page, the user can quickly select a word by press-hold, then copy to the clipboard and paste.
- The Android system takes a more active role in managing apps that are keeping the device awake for too long or that are consuming CPU while running in the background. By managing such apps ??? closing them if appropriate ??? the system helps ensure best possible performance and maximum battery life.
- New ways of communicating, organizing
- An updated set of standard applications lets the user take new approaches to managing information and relationships.
- The user can make voice calls over the internet to other users who have SIP accounts.
- An NFC Reader application lets the user read and interact with near-field communication (NFC) tags. For example, the user can ???touch??? or ???swipe??? an NFC tag that might be embedded in a poster, sticker, or advertisement, then act on the data read from the tag. A typical use would be to read a tag at a restaurant, store, or event and then rate or register by jumping to a web site whose URL is included in the tag data. NFC communication relies on wireless technology in the device hardware, so support for the platform's NFC features on specific devices is determined by their manufacturers.
- The Downloads application gives the user easy access to any file downloaded from the browser, email, or another application. Downloads is built on an completely new download manager facility in the system that any other applications can use, to more easily manage and store their downloads.
- The application now lets the user access multiple cameras on the device, including a front-facing camera, if available.
Articles
Solution : JSP file not working for Google App Engine with Eclipse Plugin
posted Aug 22, 2011, 3:45 AM by Thiyagaraaj Mp [ updated Aug 29, 2011, 11:39 AM by Thiyagaraaj M ]
Problem:
JSP file not working for Google App Engine with Eclipse Plugin
Reason Of Problem:
Java Run-time Environment is not enough for Google App Engine. You should add Java Development Kit (JDK latest version).

Solution:
In Eclipse :
Open : Windows => Preferences => Installed JREs
Now You add JDK folder,
For Example,
Click Add Button -> Choose Standard VM and Browse JDK Base Directory ( Example C:\Program Files\Java\JDK1.6.0_22)
Select JDK and Refresh the Project;

Inside Articles
Take Screenshot in Samsung Galaxy S without Any App
posted Jun 22, 2011, 10:46 PM by Thiyagaraaj M [ updated Aug 20, 2011, 4:46 AM ]
CMS for Google App Engine
posted Jan 30, 2011, 1:44 AM by Thiyagaraaj Mp [ updated Mar 15, 2012, 4:53 AM ]
Contents
- 1 Vosao CMS???
- 2 App Engine Site Creator
- 3 GuteCMS
- 4 Claymus CMS
- 5 Jerba CMS for Google App Engine
- 6 Nuages
- 7 Django CMS
- 8 cpedialog - Google App Engine CMS
- 9 gae-django-cms
- 10 Niubi
- 11 Py-engine-cms - A Python Google App Engine CMS
- 12 Scud CMS
- 13 lhg-cms
- 14 richerCMS
- 15 six-hour-cms
- 16 zelgah-cms
- 17 cafe-cms
- 18 EtupirkaCMS
- 19 Ink CMS
- 20 Comicaster CMS
- 21 bfg-pages simple CMS
- 22 foo CMS
- 23 TurbineCMS
HUGE List Of Google App Engine CMS Java and Python
List Of Articles
Create simple procedure in PL/SQL Oracle
posted Nov 8, 2010, 1:28 AM by Thiyagaraaj M [ updated Aug 20, 2011, 4:22 AM ]
Subprograms
Subprograms are named PL/SQL blocks that can be called with a set of parameters.There are two types of blocks in PL/SQL:
??? Procedures
??? Functions
Structure Of Oracle Procedure(Anonymous block)
DECLARE (optional)
/* Variable Block */
BEGIN (mandatory)
/* Executable Statements / Queries */
EXCEPTION (optional)
/* Exception Action */
END; (mandatory)
/
Syntax of Oracle Procedure
CREATE [OR REPLACE] PROCEDURE procedure_name
[(parameter1 [mode1] datatype1,
parameter2 [mode2] datatype2,
. . .)]
IS|AS
PL/SQL Block;
Structure Of Oracle Procedure(Named block)
CREATE [OR REPLACE] PROCEDURE procedure_name (mandatory)
/* Variable Block */
BEGIN (mandatory)
/* Executable Statements / Queries */
EXCEPTION (optional)
/* Exception Action */
END; (mandatory)
/
Modes:
??? IN: procedure must be called with a value for the parameter. Value cannot be changed??? OUT: procedure must be called with a variable for the parameter. Changes to the parameter are seen by the user (i.e., call by reference)
??? IN OUT: value can be sent, and changes to the parameter are seen by the user
Default Mode is:
INConsider Table
Table Name: ExampleNAME
VARCHAR2(10)
NUM
NUMBER(3)
Table Data
Select * from example;
NAME NUM
---------- ----------------------
NAMEONE 1
NAMETWO 2
NAMETHREE 3
NAMEFOUR 4
NAMEFIVE 5
NAMESIX 6
NAMESEVEN 7
test -100 100
test -200 200
test -300 300
test -500 500
Simple Procedure For Get Name From Example Table
Create or replace procedure p_getname
(v_num IN example.num%TYPE,
v_name OUT example.name%TYPE)
/* v_num - Input Parameter */
/* v_name - Output Parameter */
IS
BEGIN
select name
into v_name
from example
where v_num = num;
END;
/
Calling the Procedure
set serveroutput on;
declare
getname example.name%TYPE;
begin
p_getname(1,getname);
dbms_output.put_line('-----------');
dbms_output.put_line(getname);
end;
/
Sample Output:
anonymous block completed
-----------
NAMEONE
Articles
Get Oracle Version ( SQL )
posted Jul 9, 2010, 10:58 AM by Thiyagaraaj M [ updated Jul 9, 2010, 11:05 AM ]
Select Database Version
select * from v$version;BANNER
-----------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for Solaris: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
Select Full Product Details
select * from product_component_version;PRODUCT
-----------------------------------------------------------
VERSION
-----------------------------------------------------------
STATUS
-----------------------------------------------------------
NLSRTL
10.2.0.2.0
Production
Oracle Database 10g Enterprise Edition
10.2.0.2.0
Prod
PRODUCT
-----------------------------------------------------------
VERSION
-----------------------------------------------------------
STATUS
-----------------------------------------------------------
PL/SQL
10.2.0.2.0
Production
TNS for Solaris:
10.2.0.2.0
PRODUCT
-----------------------------------------------------------
VERSION
-----------------------------------------------------------
STATUS
-----------------------------------------------------------
Production
Select Version With Banner
select * from v$version where banner like 'Oracle%';
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
Select Version With Banner
select * from v$version where banner like 'PL/SQL%';
BANNER
----------------------------------------------------------------
PL/SQL Release 10.2.0.2.0 - Production
Articles
iFrame in HTML
posted Jun 9, 2010, 2:10 AM by Thiyagaraaj M [ updated Aug 29, 2011, 11:45 AM ]
1-10 of 37