Saturday, May 21, 2016
Fundamentals of Programming Basics in IIT Bombay
Learn basic computer programming skills and master the art of writing C/C++ programs to solve real world problems.
Basic concepts of computer programming are introduced, starting with the notion of an algorithm. Emphasis is on developing the ability to write programs to solve practical computational problems.
Tuesday, May 10, 2016
Print Div Using Jquery Plugin Script
Print Particular Content in a Webpage is now easy, Simple steps to follow using Jquery Script and Plugin.
Plugin Script: Copy this script and put in Your script folder with this file name printThis.js
Plugin Script: Copy this script and put in Your script folder with this file name printThis.js
/*
* printThis v1.5
* @desc Printing plug-in for jQuery
* @author Jason Day
*
* Resources (based on) :
* jPrintArea: http://plugins.jquery.com/project/jPrintArea
* jqPrint: https://github.com/permanenttourist/jquery.jqprint
* Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-Print-Part-Of-A-Web-Page-With-jQuery.htm
*
* Licensed under the MIT licence:
* http://www.opensource.org/licenses/mit-license.php
*
* (c) Jason Day 2015
*
* Usage:
*
* $("#mySelector").printThis({
* debug: false, * show the iframe for debugging
* importCSS: true, * import page CSS
* importStyle: false, * import style tags
* printContainer: true, * grab outer container as well as the contents of the selector
* loadCSS: "path/to/my.css", * path to additional css file - us an array [] for multiple
* pageTitle: "", * add title to print page
* removeInline: false, * remove all inline styles from print elements
* printDelay: 333, * variable print delay
* header: null, * prefix to html
* formValues: true * preserve input/form values
* });
*
* Notes:
* - the loadCSS will load additional css (with or without @media print) into the iframe, adjusting layout
*/
;
(function($) {
var opt;
$.fn.printThis = function(options) {
opt = $.extend({}, $.fn.printThis.defaults, options);
var $element = this instanceof jQuery ? this : $(this);
var strFrameName = "printThis-" + (new Date()).getTime();
if (window.location.hostname !== document.domain && navigator.userAgent.match(/msie/i)) {
// Ugly IE hacks due to IE not inheriting document.domain from parent
// checks if document.domain is set by comparing the host name against document.domain
var iframeSrc = "javascript:document.write(\"<head><script>document.domain=\\\"" + document.domain + "\\\";</script></head><body></body>\")";
var printI = document.createElement('iframe');
printI.name = "printIframe";
printI.id = strFrameName;
printI.className = "MSIE";
document.body.appendChild(printI);
printI.src = iframeSrc;
} else {
// other browsers inherit document.domain, and IE works if document.domain is not explicitly set
var $frame = $("<iframe id='" + strFrameName + "' name='printIframe' />");
$frame.appendTo("body");
}
var $iframe = $("#" + strFrameName);
// show frame if in debug mode
if (!opt.debug) $iframe.css({
position: "absolute",
width: "0px",
height: "0px",
left: "-600px",
top: "-600px"
});
// $iframe.ready() and $iframe.load were inconsistent between browsers
setTimeout(function() {
// Add doctype to fix the style difference between printing and render
function setDocType($iframe,doctype){
var win, doc;
win = $iframe.get(0);
win = win.contentWindow || win.contentDocument || win;
doc = win.document || win.contentDocument || win;
doc.open();
doc.write(doctype);
doc.close();
}
if(opt.doctypeString){
setDocType($iframe,opt.doctypeString);
}
var $doc = $iframe.contents(),
$head = $doc.find("head"),
$body = $doc.find("body");
// add base tag to ensure elements use the parent domain
$head.append('<base href="' + document.location.protocol + '//' + document.location.host + '">');
// import page stylesheets
if (opt.importCSS) $("link[rel=stylesheet]").each(function() {
var href = $(this).attr("href");
if (href) {
var media = $(this).attr("media") || "all";
$head.append("<link type='text/css' rel='stylesheet' href='" + href + "' media='" + media + "'>")
}
});
// import style tags
if (opt.importStyle) $("style").each(function() {
$(this).clone().appendTo($head);
//$head.append($(this));
});
//add title of the page
if (opt.pageTitle) $head.append("<title>" + opt.pageTitle + "</title>");
// import additional stylesheet(s)
if (opt.loadCSS) {
if( $.isArray(opt.loadCSS)) {
jQuery.each(opt.loadCSS, function(index, value) {
$head.append("<link type='text/css' rel='stylesheet' href='" + this + "'>");
});
} else {
$head.append("<link type='text/css' rel='stylesheet' href='" + opt.loadCSS + "'>");
}
}
// print header
if (opt.header) $body.append(opt.header);
// grab $.selector as container
if (opt.printContainer) $body.append($element.outer());
// otherwise just print interior elements of container
else $element.each(function() {
$body.append($(this).html());
});
// capture form/field values
if (opt.formValues) {
// loop through inputs
var $input = $element.find('input');
if ($input.length) {
$input.each(function() {
var $this = $(this),
$name = $(this).attr('name'),
$checker = $this.is(':checkbox') || $this.is(':radio'),
$iframeInput = $doc.find('input[name="' + $name + '"]'),
$value = $this.val();
//order matters here
if (!$checker) {
$iframeInput.val($value);
} else if ($this.is(':checked')) {
if ($this.is(':checkbox')) {
$iframeInput.attr('checked', 'checked');
} else if ($this.is(':radio')) {
$doc.find('input[name="' + $name + '"][value=' + $value + ']').attr('checked', 'checked');
}
}
});
}
//loop through selects
var $select = $element.find('select');
if ($select.length) {
$select.each(function() {
var $this = $(this),
$name = $(this).attr('name'),
$value = $this.val();
$doc.find('select[name="' + $name + '"]').val($value);
});
}
//loop through textareas
var $textarea = $element.find('textarea');
if ($textarea.length) {
$textarea.each(function() {
var $this = $(this),
$name = $(this).attr('name'),
$value = $this.val();
$doc.find('textarea[name="' + $name + '"]').val($value);
});
}
} // end capture form/field values
// remove inline styles
if (opt.removeInline) {
// $.removeAttr available jQuery 1.7+
if ($.isFunction($.removeAttr)) {
$doc.find("body *").removeAttr("style");
} else {
$doc.find("body *").attr("style", "");
}
}
setTimeout(function() {
if ($iframe.hasClass("MSIE")) {
// check if the iframe was created with the ugly hack
// and perform another ugly hack out of neccessity
window.frames["printIframe"].focus();
$head.append("<script> window.print(); </script>");
} else {
// proper method
if (document.queryCommandSupported("print")) {
$iframe[0].contentWindow.document.execCommand("print", false, null);
} else {
$iframe[0].contentWindow.focus();
$iframe[0].contentWindow.print();
}
}
//remove iframe after print
if (!opt.debug) {
setTimeout(function() {
$iframe.remove();
}, 1000);
}
}, opt.printDelay);
}, 333);
};
// defaults
$.fn.printThis.defaults = {
debug: false, // show the iframe for debugging
importCSS: true, // import parent page css
importStyle: false, // import style tags
printContainer: true, // print outer container/$.selector
loadCSS: "", // load an additional css file - load multiple stylesheets with an array []
pageTitle: "", // add title to print page
removeInline: false, // remove all inline styles
printDelay: 333, // variable print delay
header: null, // prefix to html
formValues: true, // preserve input/form values
doctypeString: '<!DOCTYPE html>' // html doctype
};
// $.selector container
jQuery.fn.outer = function() {
return $($("<div></div>").html(this.clone())).html()
}
})(jQuery);
In HTML Page
<html><head><script src="~/assets/layouts/scripts/printThis.js"></script> // Call Above Script here
<script type="text/javascript">
function printDiv() {
$("#bodycontent").printThis();}</script></head><body><div id="bodycontent">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc. www.wallpaperscollections.in</div>
<button type="button" class="btn blue btn-outline" onclick='printDiv();'>Print</button>
</body></html>
Saturday, May 7, 2016
Top Indian Entrepreneurs under 20
The Age is not a limit nor an exception to realize your true potential or the way you want to live your life. There are entrepreneurs who realize that they do not fit the cubicle job system at a later stage in their life and thus reverted to starting their businesses and then there are some who realized that the only way for them is to start their own business and be their own boss. Today, we have compiled a list of 5 Indian entrepreneurs under 20 and are their own boss.
1) King Siddharta
At the age of 19, King Siddharta who came from a backward sector in Northern India and his friends started organizing small competitions and events among teens. They earned by charging a little fee to gain entry into these competitions. Today Siddharta organises conferences called Createens that gives the young students an opportunity to learn about blogging, entrepreneurship etc. Also, he is now a speaker, author and a magazine publisher. He writes an e-magazine called Friendz for teens and also has written a book about spirituality and science and how they are connected. The book is called Bhagvad Gita & The Law of attraction.
2) Arjun Rai
Finding his entrepreneurship skills at the very early age of 7 by holding garage sales and selling stuff from his house and later selling the flower from the weddings, Arjun transformed into a COO of an online advertising firm pretty quickly. Still thristy, Arun now heads a brand new venture called Odyssey Ads which caters to the specific advertising needs of the 21st Century.
3) Farrhad Acidwalla
Starting at the age of 16 by borrowing 500 bucks from his father for buying a domain name and started building a web community particularly devoted to aviation and aero-modelling. After the website took off, he sold the community for a pretty high return. Today, he is the CEO of a web development, marketing, advertising and branding company called Rockstah Media. Despite being a very young company of 1 year, it has it’s own team of developers, marketers and designers across the globe.
4) Ankur Jain
Having the entrepreneurship skills in his genes, the son of Naveen Jain, founder of Infospace and Intellius, Ankir started his venture Starnium at the age of 12. Now, along with a group of his collegemates from Wharton, Ankur has started Kairos, a society for budding entrepreneurs still in college. They stand to empower the young pioneers who will push the world forward through entrepreneurship and innovation.
Perhaps India’s youngest entrepreneurs, these 14 and 12 year old techie brothers are the founders of Go Dimensions, an app development unit they founded in 2011 in their home in Chennai. Over the years, they have developed eleven different apps that are available on the Apple App Store as well as the Google Play Store. THe apps have received more than 35,000+ downloads. The two have given various presentations as IIM-B as well as at a TedX conference.
Source: http://thetechpanda.com/2014/04/09/entrepreneurs-under-20/
Top Gulf GCC Countries Job Websites
Services provided by employers are superior in both technology & results. Beginning with advertising job vacancies accumulating database to managing CV's, Gulfjobs.bh provides employers with highly advanced online recruitment tools to find the best talents in the region.
Gulf Jobs is very supportive of the government's efforts and initiative to involve Bahrainis into the main-stream work-force. Our goal is to create as many opportunities as possible for youngsters to participate in the national cause by liasing with interested companies. Top Gulf GCC Countries Job Websites
These efforts have led to a greater amount of interest by various sectors and GulfJobs.bh has been able to nurture a number of new recruits in this process.
At the same time, we take care and work towards integrating Bahrainis into other departmental job profiles of companies that include outdoor sales, service, hotel industry, office administration etc.
Our aim and goal is to work hand-in-hand with various governing authorities and organizations on a regular basis and work towards the achievement of success and progress in the development of this lovely kingdom.
GulfTalent is the leading online recruitment portal in the Middle East, used by over 6 million experienced professionals from all sectors and job categories. It serves as the primary source of both local and expatriate talent to over 8,000 of the largest employers and recruitment agencies across the region.
Founded in 2005, the company has transformed the region’s online recruitment landscape through its innovative approaches as well as its relentless obsession with quality and excellence.
GulfTalent is run by a seasoned team of young professionals with diverse backgrounds across different industries, including technology, finance, sales and recruitment. The team also brings together a wealth of international experience across four continents.
Naukrigulf.com is an online platform for employers to hire quality talent and for job seekers to land their dream job. It is a forum built to bridge the gap between employers and job seekers, enabling them to exchange information, quickly, effectively and inexpensively. Launched in early 2006 it has established itself as the fastest emerging job site of the Gulf region. Thousands of job seekers from UAE, Saudi Arabia, Bahrain, Kuwait, Oman, Qatar, etc visit the site daily.Top Gulf GCC Countries Job Websites
The portal provides job seekers with various services that facilitate them to browse through enlisted jobs, apply online and register themselves to be contacted by recruiters for relevant opportunities. It offers employers a bouquet of products like Resume Database Access, Job Postings and Response Management Tools. Employers get the advantage of a diverse database of CVs from industries like Construction, Banking, Oil & Gas, IT - Software and Hardware, Hospitality, Healthcare, Education, Telecom, Petrochemicals, Logistics and so on. Naukrigulf.com regularly evaluates the needs of its users and works towards leveraging technology to build solutions that optimize job search & recruitment.
The List of Top Gulf GCC Countries Job Websites
https://www.gulftalent.com/
http://jobs.ameinfo.com/
https://www.bayt.com/
www.monstergulf.com/
www.naukrigulf.com
www.gulfjobsbank.com/
http://www.gulfjobs.bh/
https://www.linkedin.com/
http://gotogulf.com/
http://www.aljazeerajobs.com/
http://www.careerjet.ae/
http://www.indeed.com/
http://www.gncareers.com/
https://waytogulf.com/
http://www.careersingulf.com/
http://www.gulfjobsmarket.com/
http://gulfrecruiter.com/
http://www.gulfconnexions.com/
http://jobs.gulfstream.com/
http://jobhuntgulf.com/
http://careers.arabnews.com/en/job-search/
http://www.gulf-times.com/Classified
http://www.mysaudijobs.com/
http://www.aramco.jobs/Recruitment/FindaJob.aspx
https://www.akhtaboot.com/en/saudi-arabia
http://www.mihnati.com/EN/
http://www.catererglobal.com/
https://www.mourjan.com/sa/al-riyadh/jobs/en/
http://www.mihnati.com/EN/
http://www.aljazeerajobs.com/
Tuesday, May 3, 2016
Housemaid New Rules in Saudi Arabia
15-year jail terms for maid traffickers
The labor and interior ministries have again warned that those trafficking in housemaids will be imprisoned for a maximum of 15 years or SR1 million or both, according to a local media report on Monday.
The ministries stated that violators would be named and shamed, which means having their identities made public on all media platforms in the country, including their punishment.
All those involved in the illegal hiring of housemaids would be penalized including brokers and those knowingly employing them. They said that all recruitment must be made through the Musaned website.
The Labor Ministry said earlier this year that there would be strict monitoring of all agreements signed with countries sending workers to the Kingdom. All recruiters would have to register on the Musaned site, which is linked to countries abroad, including the Kingdom’s embassies.
It also warned that there would be continuous and unannounced raids on offices involved in recruiting workers, and that citizens and expatriates should not deal with unauthorized offices. Members of the public can check whether an operator is licensed by logging on to the Musaned website.
If they encounter any problems, they can file complaints on musaned.gov.sa, the customer service line 19911, or through the branches of the labor ministry across the country. All complaints would be investigated and violators held accountable, the ministry stated.
Source : http://www.arabnews.com/
15-year jail, SR1m fine for trading in services of maids
The Ministry of Labor and the Public Security authorities have warned of stringent penal action against those involved in trading in the services of runaway maids.
Such violations will amount to human trafficking and the perpetrators will get up to 15-year jail term or SR1 million in fine or both, they said.
The warning came in the wake of ads appearing in various media outlets, especially in social media, offering the services of illegal domestic workers.
“Smuggling of domestic workers with the intention of exploitation or intimidation will amount to human trafficking.
“The trader, broker, employer, and all those associated with them will face penalties in line with the provisions of the law to combat crimes of human trafficking,” the ministry sources said.
Several people, involved in trading in the services of of domestic workers, who violated the labor and residency rules, were arrested during raids after they published ads about their services in the media.
They have been transferred to the Bureau of Investigation and Public Prosecution to complete the investigation process and then referred to judiciary for taking penal action against them.
The ministry urged the citizens not be misled by the ads appearing in the media to get housemaids in an illegal way.
Recruitment firms have to publish wages of domestic workers on the ministry’s Musaned portal and list their professions and nationalities.
Source: http://saudigazette.com.sa/
Housemaid New Rules in Saudi Arabia
Keyword: Housemaid New Rules in Saudi Arabia, Housemaid Job New Contract Rules in Saudi Arabia, Saudi Arabia Housemaid Contract rules, Ministry of Labor Housemaid rulesMonday, May 2, 2016
List of university in Kingdom of Saudi Arabia
List of university in Saudi Arabia
- King Saud University
- Princess Nora bint Abdul Rahman University
- Imam Muhammad bin Saud Islamic University
- Prince Sultan University
- Arab Open University
- Riyadh College of Dentistry and Pharmacy
- Al Yamamah University
- Dar Al Uloom University
- King Saud bin Abdulaziz University for Health Sciences
- Alfaisal University
- Arab East Colleges
- Almaarefa College for Science and Technology
- Sattam bin Abdulaziz University
- Al Farabi College of Dentistry and Nursing
- Technical Trainers College
- Majmaah University
- Shaqra University
- Saudi Electronic University
- King Abdulaziz University
- Umm Al-Qura University
- Jeddah College of Technology
- Effat University
- Dar Al-Hekma College
- College of Business Administration (CBA)
- Prince Sultan Aviation Academy
- Taif University
- Batterjee Medical College
- Arab Open University
- Prince Sultan College For Tourism and Business
- King Abdullah University of Science and Technology
- Jeddah Teacher's College
- College of Telecom & Electronics
- Jeddah Private College
- Jeddah College of Health Care
- Ibn Sina National College for Medical Studies
- Dammam College of Technology
- Dammam Community College
- Al Ahsa College of Technology
- King Fahd University for Petroleum and Minerals
- University of Dammam
- King Faisal University
- Prince Sultan Military College of Health Sciences
- Hafr Al-Batin Community College
- Jubail Technical College
- University College of Jubail
- Qatif College of Technology
- Arab Open University
- Prince Mohammad University
- Al-Kharj University
- Jubail Industrial College
- Islamic University of Medina
- Yanbu Industrial College
- Madinah College of Technology
- Taibah University
- Yanbu University College
- Madinah Institute for Leadership and Entrepreneurship (MILE)
- King Khalid University
- IBN Rushd College for Management Sciences
- College of Food and Environment Technology in Buraydah
- Qassim University
- Sulaiman Al Rajhi University
- Al Jawf University
- Jazan University
- University of Hail
- Al Baha University
- Najran University
- Northern Borders University
- Tabuk University
- Fahd bin Sultan University
- Institute of Public Administration
List of university in Kingdom of Saudi Arabia
Saudi Arabia is a desert country encompassing most of the Arabian Peninsula, with Red Sea and Persian Gulf coastlines. Known as the birthplace of Islam, it’s home to the religion’s 2 most sacred mosques: Masjid al-Haram, in Mecca, destination of the annual Hajj pilgrimage, and Medina’s Masjid an-Nabawi, burial site of the prophet Muhammad.
All programs of the engineering colleges were evaluated for "Substantial-Equivalency" recognition by the Accreditation Board for Engineering and Technology (ABET).They were found substantially equivalent to similar accredited programs in the U.S. Top 10 University List in Saudi Arabia
The Master of Business Administration offered by the University is accredited by Association to Advance Collegiate Schools of Business (AACSB)
With one of the fastest-growing higher education systems in the Middle East, Saudi Arabia offers a number of world-class institutions. Eight Saudi universities are ranked in the QS World University Rankings 2014/15, and the nation claims 12 of the top 100 universities in the Arab region, in the QS University Rankings: Arab Region 2015.As in many countries worldwide, universities in Saudi Arabia offer bachelor’s, master’s and doctoral degrees,
Generally lasting four years, two years and three to four years respectively. While international students are generally accepted into the leading Saudi universities, restrictions amongst other lesser-known universities are likely to vary, and admission for female students is limited to a select few universities and women-only institutions.
Three Saudi universities have improved in rankings in the QS World University Rankings for the 2014-2015 academic year out of a total of 800 universities on the index.
King Fahd University of Petroleum and Minerals (KFUPM) ranked number 225, surpassing the renowned Paris Sorbonne University and the UK’s Dundee University, as well as the University of Miami and other well-known institutions.
King Saud University (KSU) also ranked 249, sharing the spot with the American University of Beirut, while King Abdulaziz University (KAU) ranked number 334, surpassing City University in London and the University of Iowa.
Top 10 University List in Saudi Arabia
- King Fahd University of Petroleum and Minerals (KFUPM)
- King Saud University (KSU)
- King Abdulaziz University (KAU)
- Umm Al-Qura University
- King Khalid University
- King Faisal University
- Al - Imam Muhammad ibn Saud Islamic University
- Alfaisal University
- Prince Sultan University
- Qassim University
- Islamic University of Medinah
Sunday, May 1, 2016
Numbers in Arabic With English Translation
| Number English | Num Arabic in English |
| Zero | 0 - siffr |
| One | 1 - wahid |
| Two | 2 - itnain |
| Three | 3 - thalatha |
| Four | 4 - arba |
| Five | 5 - khumsah |
| Six | 6 - settah |
| Seven | 7 - sabaa |
| Eight | 8 - thamaaneeya |
| Nine | 9 - tissaa |
| Ten | 10 - asharah |
| Eleven | 11 - ihda shaar |
| Twelve | 12- ithna shaar |
| Thirteen | 13 - thalatha shaar |
| Fourteen | 14 - arba ata shaar |
| Fifteen | 15 - khamsta shaar |
| Sixteen | 16 - sitta shaar |
| Seventeen | 17 - saba ata shaar |
| Eighteen | 18 - tamantha shar |
| Nineteen | 19 - tis ata shar |
| Twenty | 20 - ishrin |
| Twenty One | 21 - wahid wa ishrin |
| Twenty Two | 22 - ithain wa ishrin |
| Twenty Three | 23 - thalatha wa ishrin |
| Twenty Four | 24 - arbaa wa ishrin |
| Thirty | 30 - thalath een |
| Forty | 40 - arba een |
| Fifty | 50 - khamseen |
| Sixty | 60 - sitteen |
| Seventy | 70 - sabeen |
| Eighty | 80 - thamaneen |
| Ninety | 90 - tiseen |
| Hundred | 100 - miyya |
| Two Hundred | 200 - mittain |
| Three Hundred | 300 - thalatha miyaa |
| Four Hundred | 400 - arba miyya etc |
| Thousand | 1000 - alf |
| Two Thousand | 2000 - alfain |
| Three Thousand | 3000 - thalaathat aalaf |
| Four Thousand | 4000 - arbaat aalaf |


















