Showing posts with label Summer Training Institutes. Show all posts
Showing posts with label Summer Training Institutes. Show all posts

Saturday, 8 August 2015

Captcha image verification

A good way to avoid automatic form submissions when creating a web form is to add some kind of verification. One of the best ways is to use an image verification, called also captcha. What it does is to dynamically create an image with a random string displayed on it. Then visitor is asked to type that string in a text field and once the form is submitted it checks if the string on the image matches the one inputted by the user. Because there is no easy way to read a text from an image (image recognition) this is a good way to protect your web forms from spammers.

For doing this CAPTCHA I would suggest using a session variable where you store the string generated and displayed on that dynamically generated image.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
session_start();
$text = rand(10000,99999);
$_SESSION["vercode"] = $text;
$height = 25;
$width = 65;
  
$image_p = imagecreate($width, $height);
$black = imagecolorallocate($image_p, 0, 0, 0);
$white = imagecolorallocate($image_p, 255, 255, 255);
$font_size = 14;
  
imagestring($image_p, $font_size, 5, 5, $text, $white);
imagejpeg($image_p, null, 80);
?>


Save this code in a file called captcha.php. What this script does is to generate a random number from 10000 to 99999 and then assign it to $_SESSION['vercode']. Then it generates a 25x65 pixels image with black background and white text using size 14. So if you upload that captcha.php file on your web site and open http://www.site.com/captcha.php you will see an image displaying random integer. You will receive a new random integer every time you refresh that page.

Next we need to create our web form.
1
2
3
4
5
<form action="submit.php" method="post">
Comment: <textarea name="coment"></textarea>
Enter Code <img src="captcha.php"><input type="text" name="vercode" />
<input type="submit" name="Submit" value="Submit" />
</form>


Above code will create a form with a single textarea box, randomly generated image using the captcha.php script and a text field where you will have to enter the verification code.

All we have to do now is to make the submit.php script which will check if the verification code you enter matches the one that has been randomly generated.
1
2
3
4
5
6
7
8
9
<?php
session_start();
if ($_POST["vercode"] != $_SESSION["vercode"] OR $_SESSION["vercode"]=='')  {
     echo  '<strong>Incorrect verification code.</strong>';
} else {
     // add form data processing code here
     echo  '<strong>Verification successful.</strong>';
};
?>

Friday, 12 June 2015

Openstack course Outline

Red Hat Enterprise Linux OpenStack Platform architecture
Understand Red Hat Enterprise Linux OpenStack Platform features and terminology.
Red Hat Enterprise Linux OpenStack Platform installation
Deploy Red Hat Enterprise Linux OpenStack Platform using packstack.
Create an instance with the Horizon web interface.
RabbitMQ message broker
Install and verify RabbitMQ message broker service.
Troubleshoot RabbitMQ message broker.
Keystone identity service
Install, configure, and use the Keystone authentication services.
Swift object storage service
Install, configure, and use the Swift object storage service.
Glance image service
Install and use the Glance image service.
Cinder block storage service
Install the Cinder block storage service.
Manage Cinder volumes.
Networking service
Install, configure, and manage Red Hat Enterprise Linux OpenStack Platform networking service.
Nova compute and controller services
Install and troubleshoot Nova compute and controller services.
Deploy an instance from the command line.
Implement an additional compute node
Learn to add and remove additional Nova compute nodes.
Launch an instance to verify the new compute nodes.
Heat orchestration service
Install and troubleshoot the Heat orchestration service.
Launch a stack using preconfigured templates.
Ceilometer metering service
Install and manage the ceilometer metering service.
The future of the OpenStack development community
Learn about the future of OpenStack.
Comprehensive review
Review the installation and management of Red Hat Enterprise Linux OpenStack Platform.

Friday, 1 May 2015

Tips for Success During College

1. Taking a year off before starting college usually does not work; "find yourself" during the Summer Internship 2015 after you graduate from high school. The best time to start and complete college is between the ages of 18 and 22. It is more difficult to start and complete college after these ages, because your responsibilities increase as you become older
2. Understand the number of classes and credits that you will need to graduate, and spread them over the number of semesters it will take for you to graduate; typically 8 semesters over 4 years. Note, some colleges refer to "units" and "semester hours", instead of "classes" and "credits". If you take classes during the Summer, you can lighten your load during the school year or graduate early. Note also, an increasing number of students are completing college over 5 years, instead of the customary 4 years.
3. Do not wait until the last minute to schedule your classes.
4. When choosing classes, take one tough class, two moderate classes, and one easy class; do not bury yourself by taking all difficult classes in a semester.
5. Spread your classes over at least 4 days per week. This will typically spread out your final exams. You want to avoid having to take multiple final exams on a given day.
6. Ask other students about their experiences with professors, and keep a list of the good and bad professors. Professors are also rated on the internet. Avoid the bad professors.
7. When scheduling classes, be cognizant of the location of such classes. You do not want to have to hurry between classes to avoid being late.
8. Get your books ahead of time whenever possible.
9. At the beginning of each semester, schedule all projects and exams; stay organized throughout each semester; utilize a written or electronic planner.
10. Turn your phone off while attending class, and while studying.
11. Spread your homework over seven days. Do not fall behind with your homework.
12. Review your class notes every evening, and add to them when necessary.
13. Before submitting papers, use the spell check on your computer and fully justify your papers.
14. Professors typically make themselves available during office hours, do not be scared to ask for help.
15. Do not skip classes; the professors usually emphasize the material that will be on the exams.
16. Some professors make available old exams at the library, or online; look at them when available.
17. When studying for an exam, study the material that you do not know, instead of the material that you do know. Do not always review the material from the oldest chapter to the newest chapter. Once in a while, start with the newest chapter and work backwards.
18. Two weeks prior to your final exams, your entire focus should be on completing your final papers and studying for such exams.
19. Prior to starting your first answer on any exam, quickly scan the entire exam so you can allocate your time between questions.
20. If you finish an exam early, take the time to check your answers before turning the exam in.
21. When it comes to choosing a major, pick something that you enjoy, something that interests you, and something that will allow you to make a living after college.
22. After you choose a major, be aware that higher level courses are not offered every semester. As a result, plan your schedule of classes accordingly, so that you do not have to attend an extra semester or two to complete your coursework.
23. Look for Summer internships to gain experience in your chosen field, and to prepare you for a career after graduation.
24. Treat college like a full-time job; you will need to commit a substantial portion of each day to attending classes and studying.
25. Keep a list of those professors who show an interest in your performance, and who you believe will be willing to provide you with a recommendation for graduate school or when applying for a job.
26. Begin your post-graduate work as soon as possible after graduating from college.
27. If you need to borrow money to go away to school, only borrow what you need. Alternatively, consider attending a community college for the first two years to reduce your outstanding student loans when you are finished.
28. Do not use your student loans to pay for Spring Break or other vacations; you will regret it later.
29. Alternatively, attending a four year college that you can commute to is also a viable option, which will also help you save for graduate school or life after college.
30. If you need to work part-time while attending college, accumulate your work hours over a couple of days if possible. This will reduce the downtime that is involved in preparing for, and traveling to and from, work.
31. If your parents are paying for your tuition, room and board, and meals, thank them repeatedly; they are making sacrifices for your benefit.
32. If you are leasing an apartment or house, read the lease closely before signing it. Immediately upon moving in, inspect the apartment or house thoroughly and submit a dated list of damages and repairs needed for the apartment or house. If possible, it would also be beneficial to take date-stamped photos or videos upon moving in, and after moving out, of the apartment or house. College town landlords are notorious for excessive repair costs and refusing to refund security deposits.
33. When moving out of your apartment or house, make sure to transfer the utility bills out of your name. Do not rely on roommates who may be staying in the apartment or house for an additional period of time. If these utility bills remain unpaid and end up in collection, they will damage your credit score for years.
34. If you live off campus, consider purchasing a meal plan so that you can eat at a nearby dorm between classes, so as to avoid the hassle of returning home for lunch.
35. Stay in touch with your parents and siblings. This will keep you grounded and you will feel more secure.
36. Ask your parents to keep your bedroom intact, so you have something to come home to, and feel comfortable in, when times get tough, when you become homesick, when you are home for the Summer and holidays, or when you just want to visit.
37. Get your rest. Treat college like a marathon, and not like a 100 yard dash.
38. Take a shower every day and wash your clothes regularly; it will cause you to be more desirable and efficient.
39. Learn to manage your time.
40. Limit the tattoos, body piercing, and gauging. If you do not limit the same, you will regret it when you get older.
41. Do not party like it is the last day of your life; everything in moderation, which includes Spring Break.
42. When you do party, do not get wasted; nothing good comes out of it.
43. Inevitably, the police will show up at a party that you are attending; show them respect and behave yourself in their presence.
44. Do not drink and drive. Note, being ticketed as a minor in possession can also be detrimental to your career.
45. Walk away from conflict. There is no need to get into a brawl over anything.
46. Avoid being involved in hazing. If you do get involved in hazing, use your common sense; make sure the person being hazed is not physically at risk.
47. If you become sexually active, practice safe sex and birth control. Remember, some sexually transmitted diseases last forever; and "no!" means "no!".
48. Be a leader, not a follower.
49. There is no substitute for dedication and hard work; your effort should be 100% at all times.
50. To be successful, you need to grab the bull by the horns, stick your foot halfway up its rear, and try to control it.
51. Success during college, and obtaining a college degree, is your ticket to a better life. Do not waste the opportunity

Tuesday, 6 January 2015

Ubuntu Cloud Images Come To The Google Cloud

The widely-used Ubuntu operating system is about to become a little more popular. As of today, Canonical and Google will support Ubuntu Cloud images on the Google Cloud Platform. According to Canonical, 70 percent of all cloud workloads run on Ubuntu architecture.
Ubuntu Cloud images are now in beta for Google’s service. In particular, Canonical has brought support for Ubuntu 14.04 LTS and 14.10, as well as 12.04 LTS. All Ubuntu releases have guaranteed support for five years.
The latest LTS release, 14.04, provides support for numerous software and hardware architectures. The release added ARM multiplatform, ARM64, and IBM POWER support. Additionally, KVM 2.0.0 is now supported alongside Xen and VMware solutions.
“Bringing Ubuntu to Google Cloud Platform is a logical first step in what we believe will be a great collaboration, benefiting developers and enterprises looking for an easy-to-use, reliable OS for their cloud deployments,” said Certified Public Cloud product manager Federico Lucifredi.
This beta means Ubuntu is now on the three biggest public cloud platforms: AWS, Azure, and now Google Cloud Platform. Canonical isn’t done yet though – the company also announced the release of an Ubuntu OpenStack distribution.
Canonical founder Mark Shuttleworth calls the distribution an “autopilot” for OpenStack. “Point it at a rack or ten and tell it your preferences for storage, software defined network, and hypervisor, and it will create your cloud automatically, manage and monitor it for you, keep it fully secure, and update it to the next version of OpenStack in due course.”

In order to add machines to the OpenStack deployment, IT admins simply boot and allocate the machine using Canonical's Landscape tool. The machine is then added to the metal as a service (MAAS) and can be monitored using the same Landscape interface.
Canonical's OpenStack distribution is now in beta. For more information on the latest Ubuntu releases head to the Ubuntu Cloud product page.

Tuesday, 13 May 2014

Summer Internships For College Students - Step By Step Guide

Choosing Summer Training 2014 in Jaipur  is a big decision for college students. It is important that they choose one where they will learn as much as possible but, after all, it is their summer vacation and they should have a bit of fun as well. There are a few steps that every student should follow in order to land the internship that will truly fit their educational and personal needs.

There are a few questions that every student should ask themselves before they even start looking for their dream internship. For example, do they want an internship that is full time or part time? Does the internship need to be paid or can they afford an unpaid internship? Do they want to travel or find a position close to home? The answers to all of these questions will have a significant impact on the kind of internship that a student will apply for.

Once a student has an idea of what kind of internship they want, they need to find the specific internship they will apply for. A great way to start looking for an internship is meeting with a career counselor at the college or university the student attends. They will have extensive information on a variety of opportunities that the student may never have known about if they simply did an online search for internships.

Students need to remember that just because they need an internship for school does not mean that a company is required to take them on, and they will have to go through an interview process. It is important to be as prepared as possible for the interview. The student should research some background on the company, prepare questions they may want to ask the interviewer and prepare answers to some basic interview questions.

Once a student lands their Summer Training, their work is just beginning. They need to make the most out of their experience, taking everything in and learning as much as they can from the experience. They should also make an effort to go the extra mile in all of their tasks because they never know if they will return to the company for a job interview someday.

If students follow these simple steps, they should have no trouble finding summer internships that they will love. They need to be very clear about the kind of internship they are looking for and seek the advice of a career counselor. Once they get the internship, they need to truly shine and show the company that they would make an excellent employee in the futur

Monday, 13 January 2014

Summer Training in Jaipur 2014

LinuxWorld Informatics Pvt Ltd – a fastest growing technical training institute in India providing a range of competitive and job-oriented courses, announces the launch of its summer training program 2014 for engineering students. The institute usually conducts two flagship programs a year; namely summer training and winter training programs. So, the year begins with its summer internship. This year internship is designed specifically for students of IITs and NITs, management institutes and engineering colleges. 


The Summer Training in Jaipur will consist of a range of functional courses – beyond the regular coursework that are designed taking into the account the evolving demand of corporate environment. The training prepares a student to better deal with professional challenges and make way for an improved career. The summer internship 2014 at Jaipur by LinuxWorld Informatics Pvt Ltd., is driven by a team of experienced faculties who previously have had conducted successful and wining lectures and internships. Students participating in the internship will benefit from a range of deliverables such as life time membership card, project certificate they can use at interviews, grooming sessions and personality development skill acquisition etc. The training program is beneficial in the fact that it is headed by Mr. Vimal Daga – technologist, keynote speaker and entrepreneur who is also the chief technical officer at LinuxWorld Informatics Pvt Ltd. To learn more about the summer training internship for engineering students 2014

To more visit on -- http://www.linuxworldindia.org/