Changing port of ftp and ssh

Here is a simple tips to change the default portsof ftp ana ssh. To change the port of ssh,edit the file/etc/ssh/sshd_config and add the following line: port 222 Restart the service of ssh to make the changes effective.Now you need to specify the port number using option ‘-p’ whenever you …

Read More »

Disabling USB in Linux

There are various ways by which you can disable a USB mass storage device. Here is how you can disable a USB device by editing grub.conf or menu.lst. Allyou need to do is open the file in a text editor and append nousb as one of the kernel parameters: kernel …

Read More »

Number Validation Using JavaScript

Here I explain, how to perform number validation using pur javascript method. The values of the Number field textbox is compared using isNaN() inbuilt function in JavaScript .If the values do not numeric values an error message is displayed like ‘Enter Numeric value only’. If the values are numeric then …

Read More »

Javascript-Syntax

Hi all, JavaScript syntax is the set of rules.JavaScript can be implemented using JavaScript statements in webpages that are placed within the <script>……..</script> HTML tags.You can place the <script&gt tags anywhere within your web page. but it is normally recommended that you should keep it within the <head> tags. A …

Read More »

AngularJS Controllers

AngularJS controllers tp control the flow of data in AngularJS applications.The ng-controller directive is used for defined controller.Its regular javascript object containing attributes/properties and functions. <div ng-app=”” ng-controller=”studentController”> … </div> studentController using ng-controller directive.Next step we’ll define the studentController as follows: <script> function studentController($scope) { $scope.student = { firstName: “Priya”, …

Read More »

AngularJS Directives

The AngularJs directive are helps/used to extend the html.To extended HTML attributes in AngularJs directives with prefix ng-. The ng-app directive used for initializes an AngularJS application. The ng-init directive used for initializes application data. The ng-model directive binds the value of HTML controls (input, select, textarea) to application data. …

Read More »

Advantages and Disadvantages of AngularJS

Advantages of AngularJS AngularJS provides capability to create Single Page Application in a very clean and maintainable way. AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience AngularJS code is unit testable. AngularJS uses dependency injection and make use of separation of concerns. AngularJS …

Read More »

Getting data from database to angular js

Hi all, Today I would like to explain fetching the data from mysql database using PHP, like we do it in jQuery AJAX. For this first we have to create a PHP file. We can use the following code to fetch a data from database. We already have a database …

Read More »

Insert the data to MYSQL database on PHP page using AngularJS

Hi all, Today I would like to explain about inserting data to database using PHP, like we do it in jQuery AJAX. For this first we have to create a PHP file. We can use the following code to insert a data to database. We already have a database named …

Read More »
Social Media Auto Publish Powered By : XYZScripts.com