The Indian Railway Catering and Tourism Corporation (IRCTC) has invited applications from interested and eligible candidates for the positions of Supervisor (Hospitality).
Candidates having full time B. Sc. in Hospitality and Hotel Administration from a recognized university can appear for the interview.
Those having the required eligibility criteria mentioned above can walk-in for an interview for the positions from August 5 to August 29, 2019, the notification read.
IRCTC Recruitment 2019 Vacancy Detail
Name of Post: Supervisor (Hospitality)
No of Posts: 92
Age Limit
The upper age limit for candidates to appear for the IRCTC recruitment is 30 years. Age relaxation is there for candidates. Check it by clicking the link given below.
Selection Process
Selection of the candidates will be based on their performance in the personal interview followed by document verification and other formalities, if any.
Walk-in Interview Details
Click HERE, for more details related to the IRCTC Recruitment 2019 vacancy.
New Delhi: The Income Tax department has notified various forms related to I-T return filing for individuals as well as companies for the assessment year 2019-20.
The Tax department has made no change in ITR-1 form or Sahaj, however it has rationalised some sections in ITR 2, 3, 5, 6 and 7.
The last date of filing Income Tax Return (ITR) is July 31 for those who are not required to get their accounts audited.
Here are various types of ITR forms and their usage
ITR-1 for AY 2019-20
This form is to be filed by individuals total income upto Rs 50 lakh, having Income from Salaries, one house property, other sources (Interest etc.), and agricultural income upto Rs 5 thousand.
You can download the form here.
ITR-2 for AY 2019-20
This form is to be filed by individuals and HUFs not having income from profits and gains of business or profession.
You can download the form here.
ITR-3 for AY 2019-20
This form is to be filed by individuals and HUFs having income from profits and gains of business or profession.
ITR-4 or Sugam for AY 2019-20
This form is to be filed by individuals, HUFs and Firms (other than LLP) having total income upto Rs 50 lakh and having income from business and profession which is computed under sections 44AD, 44ADA or 44AE.
You can download the form here.
ITR-5 for AY 2019-20
This form is to be filed by persons other than,- (i) individual, (ii) HUF, (iii) company and (iv) person filing Form ITR-7
You can download the form here.
ITR-6 for AY 2019-20
This form is to be filed by Companies other than companies claiming exemption under section 11.
ITR-7 for AY 2019-20
This form is to be filed by persons including companies required to furnish return under sections 139(4A) or 139(4B) or 139(4C) or 139(4D) only.
This tutorial will walk you through building a web app to make VoIP calls between browsers. There are many scenarios in which this is useful, including anonymously connecting users on a dating website, securely connecting buyers with sellers in a marketplace and allowing users to make low-cost international calls.
The UI isn’t anything to write home about, but the finished web app will looking something like this:
The finished code for this tutorial can be found on our Github.
Setup
If you don’t have a Sinch developer account, sign up and register a new app here
Create an index.html file with references to jQuery and the Sinch JavaScript SDK:
<head>
<title>Sinch Web Calling</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="sinch.min.js"></script>
</head>
Create the UI
There are two parts to the UI for this app: a login form and a call screen. Users will first see the login screen and after successfully logging in, they will see the call screen:
This section will demonstrate how to log in and register users using the Sinch SDK. For this tutorial, you will use a very basic backend for user management to get started. You should not use this in a production environment. In production, you should use your own user authentication. You can find a .net sample project here.
First, create an instance of the Sinch client:
sinchClient = new SinchClient({
applicationKey: 'your-app-key',
capabilities: {calling: true},
});
Then, either create or log in the user and start the Sinch client:
//store the username of the current user
var global_username = '';
$('button#createUser').on('click', function(event) {
event.preventDefault();
$('button#createUser').attr('disabled', true);
$('button#loginUser').attr('disabled', true);
clearError();
var username = $('input#username').val();
var password = $('input#password').val();
var loginObject = {username: username, password: password};
sinchClient.newUser(loginObject, function(ticket) {
sinchClient.start(ticket, function() {
global_username = username;
showCall();
}).fail(handleError);
}).fail(handleError);
});
$('button#loginUser').on('click', function(event) {
event.preventDefault();
$('button#createUser').attr('disabled', true);
$('button#loginUser').attr('disabled', true);
clearError();
var username = $('input#username').val();
var password = $('input#password').val();
var loginObject = {username: username, password: password};
sinchClient.start(loginObject, function() {
global_username = username;
showCall();
}).fail(handleError);
});
//handle errors
var handleError = function(error) {
$('button#createUser').attr('disabled', false);
$('button#loginUser').attr('disabled', false);
$('div.error').text(error.message);
}
//clear out old errors
var clearError = function() {
$('div.error').text("");
}
//show the call screen
var showCall = function() {
$('form#auth').css('display', 'none');
$('div#call').show();
$('span#username').append(global_username);
}
Make outgoing calls
Once a user is authenticated, you will use the Sinch call client to make outgoing calls. First, define a custom call listener. This lets you make decisions based on whether a call is ringing, connected or ended:
Then, define the Sinch call client and a variable to store the current call:
var callClient = sinchClient.getCallClient();
var call;
When the call button is clicked, disable the call and answer buttons, tell the user who they are calling and initiate the call. Lastly, add a call listener to the current call.
To test your app, open two browser windows, log in as two different users and make the call. Some browsers will ask for permission to use the microphone on your computer when you place the call.
Happy coding! If you have any questions, feel free to reach out to us on Twitter or via our help page.
India is a sovereign country with many powers for states. Unlike many other countries, GST in India is implemented as duel tax system. Means, two types of GSTs are implemented in India. As you know, there are IGST, CGST and SGST. Each taxable transaction of goods and services in India attracts duel GST – CGST and IGST or SGST. So the main reason for duel GST is to account the share of state governments. Ie, SGST (State Goods and Service Tax) and the share of IGST (Integrated Goods and Service Tax).
So, an account of GST Tax payers is to be accounted separately. At present government insists separate GST registration in each state, if a person operates his business. For example, if XYZ company has business transaction of goods or services in Maharashtra, West Bengal and Tamil Nadu, he has to take registration of GST in all the three states. Means a separate GST registration number has to be obtained in each state, although the Permanent Account Number, PAN is same.
As per sub section 1 of section 19 of GST Law explains that every person who is liable to take a Registration will have to get registered separately for each of the States where he has a business operation and is liable to pay GST
Artisan is the name of the command-line interface included with Laravel. It provides a number of helpful commands for your use while developing your application. It is driven by the powerful Symfony Console component.
Usage
Listing All Available Commands
To view a list of all available Artisan commands, you may use the list command:
php artisan list
Viewing The Help Screen For A Command
Every command also includes a “help” screen which displays and describes the command’s available arguments and options. To view a help screen, simply precede the name of the command with help:
php artisan help migrate
Specifying The Configuration Environment
You may specify the configuration environment that should be used while running a command using the --env switch:
php artisan migrate --env=local
Displaying Your Current Laravel Version
You may also view the current version of your Laravel installation using the --version option:
The getCurrentPosition() method is used to return the user’s position.
<script>
var x = document.getElementById("demo");
function getLocation() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
} else {
x.innerHTML = "Geolocation is not supported by this browser.";
}
}
function showPosition(position) {
x.innerHTML = "Latitude: " + position.coords.latitude +
"<br>Longitude: " + position.coords.longitude;
}
</script>
Example explained:
Check if Geolocation is supported
If supported, run the getCurrentPosition() method. If not, display a message to the user
If the getCurrentPosition() method is successful, it returns a coordinates object to the function specified in the parameter (showPosition)
The showPosition() function outputs the Latitude and Longitude
Selenium automates browsers. That’s it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) be automated as well.
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
Which part of Selenium is appropriate for me?
Selenium WebDriver If you want tocreate robust, browser-based regression automation suites and testsscale and distribute scripts across many environments Then you want to use Selenium WebDriver; a collection of language specific bindings to drive a browser — the way it is meant to be driven.Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated. The Selenium Server (used by both WebDriver and Remote Control) now also includes built-in grid capabilities.
Selenium IDE If you want tocreate quick bug reproduction scriptscreate scripts to aid in automation-aided exploratory testing Then you want to use Selenium IDE; a Chrome and Firefox add-on that will do simple record-and-playback of interactions with the browser.
The examples below can be entered into your .htaccess file exactly as shown. Just make sure to adjust the actual path to the file so the .htaccess file knows where it’s located. Also, if you see the domain ‘example.com’, change this to your own domain name.
Redirecting a URL
Using Redirect in an .htaccess file enables you to redirect users from an old page to a new page without having to keep the old page. For example, if you use index.html as your index file and then later rename index.html to home.html, you could set up a redirect to send users from index.html to home.html. For example:
Redirect to a local site file
Redirect /path/to/old/file/old.html /path/to/new/file/new.html
Redirect to an external site file
Redirect /path/to/old/file/old.html http://www.example.com/new/file/new.html
The first path
The first path to the old file must be a local UNIX path, NOT the full path. So, if the .htaccess file is in the directory /example.com, you would not include /home/exampleuser/example.com in the local UNIX path. The first / represents the example.com directory. If the old file was in that directory, you would follow the / with the old file name.
The second path
The second path to the new file can be a local UNIX path, but can also be a full URL to link to a page on a different server or the same server.
Examples of redirects
Redirect from an index.html file to a different directory
Redirect /index.html /new/
Redirect from index.html to default.html
Redirect /index.html /default.html
Redirect a local /private directory to another site's private directory
Redirect /private/ http://www.example.com/private/
Redirect /img/logo.gif http://www.example.com/images/logo.gif
Using Regular Expressions
If you want to use a Regular Expression to redirect something, use the RedirectMatch directive:
RedirectMatch "^/oldfile\.html/?$" "http://example.com/newfile.php"
Redirecting error messages
You can also redirect 404 errors. Instead of throwing a 404 page, this redirects to the homepage of the website.
ErrorDocument 404 http://example.com/
Redirecting an old directory to new directory
This redirects files in a old directory (/blog/archives) to a new directory (/archives). The file must exist in the new directory to function.
RewriteRule ^blog/archives/(.*)$ /newarchives/$1 [R=301,NC,L]
Redirect non-existing pages to index.php
If a visitor attempts to access a page that doesn't exist, they are presented with a 404 error. You can instead redirect any request to a non-existing page to your index.php file (or any index file) by adding the following code in your .htaccess:
Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
If your index page isn't index.php, just change the last line to your actual index file. Then the visitor is redirected back to your home page.
Automatically loading a subdirectory
This example redirects the ROOT domain's URL to any subdirectory. In this example, it automatically loads example.com/subdir1:
RewriteEngine on
RewriteRule ^$ /subdir1/ [L]
Forcing www in the URL
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
Removing www in the URL
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com
RewriteRule (.*) http://example.com/$1 [R=301,L]
Rewriting a URL
This example rewrites a URL to another URL. This rewrites example.com/1.html to example.com/abc.php?id=1
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^([0-9]+).html /abc.php?id=$1 [QSA,L]
The following explains the rules above:
([0-9]+)
allows any digit, and only any digit, 1 or more times.
([a-z-]*)
allows any lowercase letter, plus “-” for word separation, 0 or more times. If you want it to support uppercase too, use “([a-zA-Z-]*). For example:
RewriteRule ^place/([a-zA-Z-]*).html /place/abc.php?id=$1 [QSA,L]
[QSA,L]
appends this to your internal scripting query string, and makes it the Last rewrite rule executed.
After using this method, you can retrieve the webpage with either address type. This is handy for retro-fitting a website that was not designed with mod_rewrite in mind. This is good because it does not destroy any bookmarks saved on users computers.
View the following link for more information and examples about mod-rewrite:
mod-rewrite cheat sheet
Rewriting non-existing links to index.php
The following redirects all links to files or folders that do not exist to index.php. However, if the file or directory does exist, it loads normally:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]