What is angular js 2

September 13, 2017 superadmin 0

Angular 2 is an open source JavaScript framework to build client applications in HTML and JavaScript. Angular 2 is so simpler, faster, modular and instrumented design. Angular 2 is a most popular framework for developing mobile applications as well as desktop applications.The “Angular 2″ is using “Traceur” compiler and it takes “ES6″ and compiles it down (ES5) to regular JavaScript that runs in your browsers. It supports following modern browsers are: 1. Chrome 2. Firefox 3. Opera 4. Safari 5. IE Version10, 11 and so on…

How To Install FFmpeg On Ubuntu 14.04

March 31, 2017 superadmin 0

Hello Linux lovers. In this article I will show you how to install FFmpeg on Ubuntu 14.04. FFMPEG that enables the users to easily ncode, transcode, mux, demux, stream, filter and play audio and video content. There are two methods that we can install the FFMPEG METHOD 1: $ sudo add-apt-repository ppa:mc3man/trusty-me $ sudo apt-get update $ sudo apt-get install ffmpeg METHOD 2: $ sudo wget https://ffmpeg.org/releases/ffmpeg-2.3.6.tar.gz $ sudo tar -zxvf ffmpeg-2.3.6.tar.gz $ cd ffmpeg-2.3.6 $ sudo ./configure –enable-version3 –enable-postproc –enable-libvorbis –enable-libvpx $ sudo make $ sudo checkinstall –pkgname=ffmpeg –pkgversion=”5:2.3.6″ –backup=no –deldoc=yes –default And also i have given some audio [...]

Install Openfire On CentOS 7

July 25, 2016 superadmin 0

OpenfireĀ  (previously known as Wildfire, and Jive Messenger) is a real time collaboration (RTC) server. It is licensed under the Open Source Apache License.Openfire is an instant messaging (IM) and groupchat server that uses XMPP server written in Java.Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance. Openfire supports the following features: * Web-based administration panel * Plugin interface * Customizable * SSL/TLS support * User-friendly web interface and guided installation * Database connectivity. * LDAP connectivity * Platform independent, pure Java * Full integration with Spark (XMPP client) * Can support more than 50,000 [...]

Upload Bulk of Users to Moodle using CSV file format

July 21, 2016 superadmin 0

Bulk of users data can be imported into Moodle using the “Upload Users” feature in the Moodle Site administrator section.The administrator or a teacher can edit a .csv file with Microsoft or Open office Excel, add the user information through Excel and then import them into the Moodle site.Please follow the below steps to import bulk of users in to the moodle Steps to Import Bulk Users list with the Upload Users option in the Site administrator: 1. Log into the Moodle Dashboard as a administrator 2. Go to the Settings section on the left and navigate to Site administration [...]

Openfire Inband registraion using strophe js in converse JS

July 19, 2016 superadmin 0

Here i have explaining, how we can implement the in band registration using Strophe js. First we need to download following library files and include in the html . 1.jquery-2.1.4.js 2.strophe.min.js 3.strophe.muc.js 4.strophe.register.js Here is the piece of code below and you can modify the necessary fields <script type=”text/javascript”> var BOSH_SERVICE = ‘http://example.com/http-bind/’; // your openfire http-bind url var server = ‘example.com’; function register() { var $reg_name = ‘Enter username’; var $reg_pass = ‘Enter password’; var $fullname = ‘Enter fullname’; var $email = ‘Enter email’; var url = BOSH_SERVICE; connection = new Strophe.Connection(url); var registerCallback = function (status) { if [...]

Phalcon PHP framework

August 5, 2015 superadmin 0

Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption. It is a full-stack framework. It promotes the MVC architecture and it has many features like an ORM, a Request object library, a templating engine, caching, pagination, etc. Phalcon is really different from other php framework. Because PHP module written in C. Also, Phalcon is open-source. You have rights to modify the code and recompile it if you want.

Drupal – Lightbox overlay Double click issue in IE 10 and greater

March 12, 2015 superadmin 0

I have faced the double click issue for overlay (Lightbox module in drupal) when using Internet Explorer 10. I explored lot of the sites and finally i got a solution for this problem. I tested this issue in chrome, firefox and IE < 10 and the overlay was working just fine.But i faced this issue only in IE10 and greater. Solution: Find the below lines in the “overlay-parent.js” file path.replace(new RegExp(Drupal.settings.basePath + ‘(?:index.php)?’), ”); Replace it with below lines path = path.replace(“//”, “/”); path.replace(new RegExp(Drupal.settings.basePath + ‘+(?:index.php)?’), ”); I think this may help you.

Solve The Double Tap Issue on iOS Devices using Jquery

March 5, 2015 superadmin 0

First, You have to confirm that your website has the meta viewport tag <meta name=”viewport” content=”width=device-width, initial-scale=1″/> After that you have to include the following jquery in your html page.By using this script you can resolve the Double Tap Issue on iOS Devices $(document).ready(function() { //condition check ios devices if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) { $(‘a’).on(‘click touchend’, function(e) { var el = $(this); var link = el.attr(‘href’); window.location = link; }); } }); The touchend event will redirect the browser to the target of the link. I hope this is useful for you.

Truncate String using CSS (ellipsis)

February 23, 2015 superadmin 0

We can limit a text length using css properties. All the following css properties are required, so the text must be in a single straight line that overflows a box where that overflow is hidden. .div-truncate { width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

Custom select box with simple css

October 29, 2014 superadmin 0

I have given the simple example below for write custom css for select box HTML <div class=”select-style”> <select> <option value=”CakePHP”>CakePHP</option> <option value=”Symfony”>Symfony</option> <option value=”Yii”>Yii</option> <option value=”Zend”>Zend</option> </select> </div> CSS .select-style { border: 1px solid #ddd; width: 240px; border-radius: 3px; overflow: hidden; background: #fafafa url(“img/dropdown-btn-arrow.png”) no-repeat 90% 50%; } .select-style select { padding: 5px 8px; width: 268px; border: none; box-shadow: none; background: transparent; background-image: none; -webkit-appearance: none; }

1 2 3 4