Data Analysis Expressions (DAX) in Power BI
Data Analysis Expressions (DAX) is a powerful formula and query language used in Microsoft Power BI, Excel Power Pivot, and Analysis Services to perform calculations and manipulate data. It allows users to create custom metrics, measures, and calculated columns, enabling
Upgrade to php 5.6 and apache 2.2 to apache 2.4.17 in ubuntu 12.04
These are the steps to upgrade to PHP 5.6: Add the PPA containing version 5.6 of php for Ubuntu 12.04: sudo apt-add-repository ppa:ondrej/php5-5.6 sudo apt-add-repository ppa:ondrej/php5 Run these command in terminal to upgrade php : sudo apt-get update If everything
Display remotely hosted HTML content as SCORM
How to display remotely hosted HTML content as SCORM package in Moodle, Totara or any other LMS? SCORM requires the content to be served from the same domain as the SCORM player or the Learning Management System (like Moodle, Totara)
Open specific local Outlook window from .msg file
C# : Triggering the Local Outlook for forward, reply and reply all actions from existing .msg file For the desktop based applications when user is dealing with the store outlook files in msg format we can open local outlook when
Problem – First submenu item same as main menu in WordPress
While implementing a custom plugin in wordpress, we can simply add submenu items for our plugin by this code: public function PluginMenu() { $this->my_plugin_screen_name = add_menu_page( ‘My Reviews’, ‘My Reviews’, ‘manage_options’, __FILE__, array($this, ‘RenderPage’), ‘dashicons-format-quote’ ); } But in wordpress,
Golden rules for programmers to write good code
Why we need to code properly because a well written code not only does its job well but is also easy to extend, maintain and debug. So here are some key points: 1. Follow a consistent coding standard: There are
Adding Custom Fields to User Profile in WordPress
In WordPress, each user profile has many fields like first name,last name, website url etc which are almost sufficient to get the user information. We also have the user’s contact info like his email address but still sometimes situation arises
Importance of testing in production after deployment
When we deploy an application from staging / testing server to live / production environment, tester needs to test the application again in production environment no matter if he has already tested the whole application in staging environment. Why there
Check if a Section or Activity is accessible to user in Moodle
In Moodle a course can have multiple sections and each section can have multiple activities in it. Moodle provides access restrictions feature in course in which we can impose some restrictions to section or activity based on date, completion, group
Send bulk data from Salesforce to external API
Scenario : We have the situation where we want to create a backup of all the contacts in Salesforce on daily basis to AWS S3. We are using PHP code to create files according to the desired criteria and upload
