Maj V Rangaswami,Surgeon in Para Surgical Team performed surgeries saving lives under heavy enemy fire in Munsan Korea. Awarded #VirChakra.
Thursday, March 30, 2017
Wednesday, March 29, 2017
Monday, March 27, 2017
Sunday, March 26, 2017
General Bipin Rawat COAS meet
General Bipin Rawat #COAS met and interacted today with the awardees and their Next Of Kins (NOK) at the Manekshaw Centre. The Investiture Ceremony for the honours & awards was held on 20 March 17 at Rashtrapati Bhawan.
Saturday, March 25, 2017
Karunanidhi defends his poem on Tamilselvan
Chennai: Defending his poem praising slain LTTE leader Tamilselvan, Tamil Nadu Chief Minister M Karunanidhi on Sunday said
it was "human nature to express condolence" and he sympathised with the death of the banned outfit's leader as he was a Tamil.
"The person killed in Sri Lanka was a Tamil. As Tamil blood is running in my body also,
I expressed my condolence," he wrote in the DMK-mouthpiece Murasoli'
The DMK patriarch said it was "a human nature to express condolence" even if a political rival passed away.
"On that basis only, I went and paid homage when senior AIADMK leader Nedunchezhiyan died," he added.
Reacting to AIADMK supremo Jayalalithaa's demand that the Centre should dismiss his government for alleged violation of the Constitution by "supporting" the proscribed outfit,
Karunanidhi stated that MDMK chief Vaiko, an ally of the AIADMK, had issued a statement appealing to the international community to condemn the killing of Tamilselvan.
"When Vaiko issues such a statement, she approves it.
When I condole the death of Tamilselvan, she demands the dismissal of my government.
She is very anxious to come back to power by any means. But, she needs the people's support for it," he said.
Expressing anguish over the death of Tamilselvan, the Chief Minister on Saturday penned a poem, praising his courage and mental strength.
credit goes to sify.com
do while loop to print number from 1 to 10 in C
int i=0;
do{
i++;
printf("loop %d\n",i);
}while(i<=9);
do{
i++;
printf("loop %d\n",i);
}while(i<=9);
sample program with struct in C(like classes in java)
#include stdio.h
#include string.h
struct Employee{
char name[500];
int age;
char sex[1];
};
int main(){
struct Employee emp,emp1;
strcpy(emp.name,"sudharsan");
emp.age =36;
strcpy(emp.sex,"M");
strcpy(emp1.name,"venkateshwar vipin ragavan");
emp1.age=72;
strcpy(emp1.sex,"M");
printf("name: %s\n",emp.name);
printf("age: %d\n",emp.age);
printf("sex: %s\n",emp.sex);
printf("name: %s\n",emp1.name);
printf("age: %d\n",emp1.age);
printf("sex: %s\n",emp1.sex);
return 0;
}
#include string.h
struct Employee{
char name[500];
int age;
char sex[1];
};
int main(){
struct Employee emp,emp1;
strcpy(emp.name,"sudharsan");
emp.age =36;
strcpy(emp.sex,"M");
strcpy(emp1.name,"venkateshwar vipin ragavan");
emp1.age=72;
strcpy(emp1.sex,"M");
printf("name: %s\n",emp.name);
printf("age: %d\n",emp.age);
printf("sex: %s\n",emp.sex);
printf("name: %s\n",emp1.name);
printf("age: %d\n",emp1.age);
printf("sex: %s\n",emp1.sex);
return 0;
}
Wednesday, March 22, 2017
who is General K S Rajendra Sinhji
General M R Sinhji belonged to the house of Nawanagar. Born at Sarodar in 1899, he had his education at Rajkumar College , Rajkot , Malvern College , UK and Royal Military College , Sandhurst . In 1921, he was commissioned into the 3rd Bn the 60th Rifles (KRRC British Army) and the 2nd Royal Lancers a year later. During World War II in 1941 he went to North Africa as a Squadron Commander where, for his courageous leadership and determined actions he was awarded the Distinguished Service Order (DSO).
In 1943 he was appointed Commandant of the 2nd Royal Lancers. In May 1945 he went to Washington as the firstMilitary Attache to that country. During this tour of duty he was decorated by President Truman with the order of American Legion of Merit.
In September 1946 he was promoted to the rank of Brigadier and commanded a Sub Area. In 1947 he was promoted to the rank of Major General and took over command as GOC Delhi and East Punjab Area. He rendered valuable and effective service in controlling the disturbances in Delhi and the Punjab . Subsequently, In Jan 1948 he became General Officer Commanding -in- Chief Eastern Command, thereafter moved as General Officer Commanding -in- Chief Southern Command in May 1948, where he directed the swift police action in Hyderabad in September of that year.
The General Officer was selected to succeed General Cariappa as C - in - C and assumed office on 15th January 1953. The General Officer was awarded Queen Elizabeth II's Commendation Medal in June 1953. The Order of Yugoslavia Army Class I was bestowed on him by HE Marshal Tito. The General Officer was appointed as Chief of Army Staff from 1st | |
who is Field Marshal K M Cariappa
Field Marshal K M Cariappa, fondly known as 'Kipper', was born on 28th January 1900 in Mercara state, now called Karnataka. He received the King's Commission in 1919 with the first group of Indian cadets, and in 1933, was the first Indian officer to join Staff College, Quetta. In 1942, Lt Col K M Cariappa raised 7th Rajput Machine Gun Battalion (now 17 Rajput). In 1946, as a Brigadier, he joined the Imperial Defence College, UK. Recalled from the UK to serve as a member of the Army Sub Committee of the Forces Reconstitution Committee, during the partition, he achieved an amicable settlement for the division of the army between India and Pakistan. | |
On 21st November 1947, Lieutenant General Cariappa took over as Army Commander, Eastern Command.On 20th January 1948, he took over as Army Commander, Delhi and East Punjab Command (now Western Command). Finally on 15th January 1949, General Cariappa became the first Commander - in - Chief of the Indian Army. He was appointed Colonel of the Rajput Regiment from 1949 to 1959. A veteran soldier, he has served with 2/125 Napier rifles, 1/7 Dogra and 1/7 Rajput. He had campaigned in Iraq, Syria and Iran. He won the award of OBE in 1945 while serving as the Assistant Adjutant and Quartermaster General with 26 Indian Division in the Arakans. He also commanded the Bannu Frontier. General K M Cariappa relinquished his office of the Chief of the Army Staff on 14th January 1953.
He was the Indian High Commissioner to Australia for two and a half years. In 1986, General K M Cariappa was honored with the rank of Field Marshal by the President of India. Finally on 15th May 1993, a glorious chapter of the Rajput Regiment and the Indian Army came to an end with the passing away of Field Marshal K M Cariappa, OBE. | |
who is General Sir Roy Bucher
Born on 31st Aug 1895, General Sir Francis Robert Roy Bucher, CB, OBE, MC was commissioned in the British Indian Army on 15th Aug 1914. The General officer has held various appointments including Assistant Adjutant General from Jan 1941 to Jun 1941 and Additional Quartermaster General, in Iraq , from Jun 1941 to Mar 1942. He was appointed as General Officer Commanding Bengal and Assam Area in 1946 and latter took over as General Officer Commanding - in - Chief, Eastern Command, in 1946 to 1947.
Later, the General Officer took over as Chief of Staff, Army Headquarters, and was appointed Commander in Chief and Chief of General Staff of the Indian Army from 31st Dec 1947 to 15th Jan 1949. | |
who is General Sir Robert Lockhart
Born on 23rd Jun 1893, General Sir Robert McGregor Macdonald Lockhart, KCB, CIE, MC was commissioned in the British Indian Army and joined 51 Sikhs Frontier Force on 08th Mar 1914. He served as Military Attache to Kabul from Mar 1934 to Dec 1935 and DSD of India from Dec 1939 to Dec 1941. In Apr 1945 he was posted to Southern Army. The General Officer relinquished the appointment of General Officer Commanding - in - Chief, Southern Army in Jun 1947. He was appointed Commander in Chief of the Indian Army from 15th Aug 1947 to 31st Dec 1947.
After the World War he served on the World Scout Committee of the World Organisition of the Scout movement from 1953 to 1959. He was awarded the Bronze Wolf Award, the only distinction of the World Organisition of the Scout Movement, awarded by the World Scout Committee for exceptional services to world scouting, in 1961.
| |
Saturday, March 18, 2017
Friday, March 17, 2017
sample pointer c program
/*
============================================================================
Name : sample.c
Author : raja.m82@gmail.com
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include
int main(void) {
int x =10;
int *ptr;
ptr= &x;
printf("memoryLocationOfx=%d\n",ptr);
printf("valueOfx=%d",*ptr);
return 0;
}
============================================================================
Name : sample.c
Author : raja.m82@gmail.com
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include
int main(void) {
int x =10;
int *ptr;
ptr= &x;
printf("memoryLocationOfx=%d\n",ptr);
printf("valueOfx=%d",*ptr);
return 0;
}
Thursday, March 16, 2017
Tutorial to create basic c program in eclipse
Create a new c/c++ project using c managed build
project types-executable buid-hello world ansi c project
toolchains-MinGV GCC
write a basic c program and execute
project types-executable buid-hello world ansi c project
toolchains-MinGV GCC
write a basic c program and execute
Wednesday, March 15, 2017
How to make cache enabled for a table Automation in Liferay thru portal.ext.properties
value.object.entity.cache. enabled.com.model.Automation=true
value.object.finder.cache. enabled.com.model.Automation=true
value.object.column.bitmask. enabled.com.model. Automation=true
credit goes to official Liferay website
value.object.finder.cache.
value.object.column.bitmask.
credit goes to official Liferay website
Sunday, March 12, 2017
print hello world in C Language
/*
============================================================================
Name : hello.c
Author : raja.m82@gmail.com
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include
int main() {
printf("hello world\nhello world"); /* prints !!!Hello World!!! */
return 0;
}
============================================================================
Name : hello.c
Author : raja.m82@gmail.com
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
#include
int main() {
printf("hello world\nhello world"); /* prints !!!Hello World!!! */
return 0;
}
what is the difference between border and outline in CSS
outline cannot set different values for top bottom right left of an element
outline is drawn outside the border of an element
element are div,paragraph and span
Saturday, March 11, 2017
what is margin in CSS
margin is used to generate spaces around elements
margin sets spaces outside the border of an element
element are div,paragraph and span
margin sets spaces outside the border of an element
element are div,paragraph and span
what is padding in CSS
padding is used to generate spaces around content
padding is used to clear an area around the content inside the border of an element
element are div paragraph span
padding is used to clear an area around the content inside the border of an element
element are div paragraph span
Friday, March 10, 2017
why C Language is better then Java Language in embedded systems
because C have pointers
pointers can access memory location
C can access memory location by the code
but java cannot access memory location by the code
so embedded system done in java language can be hacked by java source code hackers
pointers can access memory location
C can access memory location by the code
but java cannot access memory location by the code
so embedded system done in java language can be hacked by java source code hackers
How to enable user and organization search from database rather from lucene index
users.search.with.index=false
organizations.search.with.index=false
credit goes to official Liferay web site
organizations.search.with.index=false
credit goes to official Liferay web site
Sunday, March 5, 2017
how file is stored in unix
Each inode entry in the inode table consist of 13 addresses each --specifies completely where the contents of file are stored in disk
addresses may be numbered through 0 to 12
of these first 10 addresses 0 through 9 points to 1 KB blocks on disk
addresses 0 to 9 can handle a file of a maximum size of 10 KB
10th entry contains an address of 1KB block
Single Indirection
10th entry address block does not contains the file contents instead contains 256 4 byte slot which can store 256 more addresses and each of the 256 addresses can point to a 1 kb block on the disk
11th entry and 12th entry also follows 10th entry
maximum file size can be addressed using the 10th address entry is 256 kb
Double Indirection
for file 64 mb -- 256kb*256kb
10th entry address block does not contains the file contents instead contains 256 4 byte slot which can store 256 more addresses and each of the 256 addresses can point to another 256 addresses and each of the 256 addresses can point to 1 kb block on the disk
Triple Indirection
for file 16gb--256kb*256kb*256kb
addresses may be numbered through 0 to 12
of these first 10 addresses 0 through 9 points to 1 KB blocks on disk
addresses 0 to 9 can handle a file of a maximum size of 10 KB
10th entry contains an address of 1KB block
Single Indirection
10th entry address block does not contains the file contents instead contains 256 4 byte slot which can store 256 more addresses and each of the 256 addresses can point to a 1 kb block on the disk
11th entry and 12th entry also follows 10th entry
maximum file size can be addressed using the 10th address entry is 256 kb
Double Indirection
for file 64 mb -- 256kb*256kb
10th entry address block does not contains the file contents instead contains 256 4 byte slot which can store 256 more addresses and each of the 256 addresses can point to another 256 addresses and each of the 256 addresses can point to 1 kb block on the disk
Triple Indirection
for file 16gb--256kb*256kb*256kb
how to uniquely identify a file in unix
inode number
to obtain the inode number associated with file -- command
ls -i filename
to obtain the inode number associated with file -- command
ls -i filename
Saturday, March 4, 2017
how to find number of lines and characters in file in unix os
wc -lc filename
l for line
c for characters
l for line
c for characters
Friday, March 3, 2017
why serial port is secure?
serial port is secure because it transmits one bit at a time
and the main security in it is we can send one bit or we will not send one bit
so when there is risk in sending data we will not send bit at a fraction of second
and the main security in it is we can send one bit or we will not send one bit
so when there is risk in sending data we will not send bit at a fraction of second
Subscribe to:
Posts (Atom)