Nasir Uddin January 22, 2018 No Comments

Bitbucket permission denied: ssh add agent has no identities

Already you generated your ssh key using the below command. ssh-keygen and you entered the key in Access keys of bitbucket. But still it’s displaying Permission denied (publickey). fatal: Could not read from remote repository. Now what you can do?? First of all, You need to check the identities of the ssh agent using the […]

Nasir Uddin January 15, 2018 No Comments

Integrating Bootstrap 4 in Laravel 5.5 using Frontend Presets

Taylor Otwell has added new artisan in Laravel 5.5 which name is presets. We can easily integrate or update Bootstrap 4 or latest version using presets artisan. To integrate Bootstrap 4, first of all, we need to add the following package in Laravel project: Now, If you can to integrate bootstrap 4 auth using […]

Nasir Uddin September 17, 2015 No Comments

How to make animation using sprite image with AngularJS

Recently, i am searching how to make a html5 games. In past few days, i have research we can easily develop a html5 game using AngularJS & CreateJS. If you will go ng-newsletter page, you will find popular 2048 game has built in AngularJS. So AngularJS is a very powerful framework to create html5 games. […]

Drupal 8 Overview

Build a website with Drupal 8, you have to follow up in below points: Step 1: Content Management Step 1.1: Structured content types Step 1.2: Custom content types and fields Step 1.3: Categorize content with Taxonomy Step 1.4: Display Form Modes & View Modes Step 2: Site building Tools Step 2.1: Page layout with blocks […]

GIT pull/push by your own username from bitbucket.

If you will fetch a problem to push/pull by your own username. Then you think its url has with a specific username. So what you have to work first. 1. Check Remote URL by [sourcecode language=”bash”] git remote -v [/sourcecode] 2. Remove this current Remote URL by [sourcecode language=”bash”] git remote rm origin [/sourcecode] 3. […]

Nasir Uddin January 30, 2015 No Comments

How to render moodle frontpage list of courses in theme

Sometimes, we have to render enroleuser lists, course list, news lists in templates of moodle theme. Now, i show you how to render/print moodle frontpage list of courses in theme. [sourcecode language=”bash”] GLOBAL $PAGE; $courserenderer = $PAGE->get_renderer(‘core’, ‘course’); $availablecourseshtml = $courserenderer->frontpage_available_courses(); if (!empty($availablecourseshtml)) { echo html_writer::tag(‘a’, get_string(‘skipa’, ‘access’, core_text::strtolower(get_string(‘availablecourses’))), array(‘href’=>’#skipavailablecourses’, ‘class’=>’skip-block’)); //wrap frontpage course list […]

Nasir Uddin January 27, 2015 No Comments

How to synchronize two mysql database schema?

To deploy your database change from local server to live server you can easily use this script. What can do this script? 1. Transfer new table from local database to database of live server. 2. Add new fields in existing table of database. To do this, first install Schema Sync a MySQL Schema Versioning and […]

Nasir Uddin January 19, 2015 No Comments

How to create a block region in moodle theme

First of all, in your theme config file, please write a name of your custom block region like in below [sourcecode language=”bash”] $THEME->layouts = array( // Most backwards compatible layout without the blocks – this is the layout used by default. ‘base’ => array( ‘file’ => ‘default.php’, ‘regions’ => array(), ), …… …… // The […]

Nasir Uddin January 5, 2015 No Comments

How to optimizing Images using Grunt

As promised at the end of How to concatenate and minify multiple CSS and JS files using Grunt (part 1), now i will show you How to optimizing images with Grunt. So, you have to install grunt plugin imagemin from your terminal. [sourcecode language=”bash”] npm install grunt-contrib-imagemin –save-dev [/sourcecode] Once the plugin has been installed, […]

Nasir Uddin January 4, 2015 2 Comments

How to concatenate and minify multiple CSS and JS files using Grunt

You have probably heard about Grunt. Grunt is a task runner of Node.js. It is similar as Gulp. Already, you have informed npm is the package manager for grunt. So first of all, you have to install npm. I will show you all from obuntu terminal. Open your terminal and install npm using in below […]