Category: Web Development
Export CSV in jQuery DataTable for Totara
When admins or trainers want to quickly export table data from reports into a CSV file for offline use, we can use the built-in export feature of jQuery DataTable. 1. Include DataTable CSS/JS Before using DataTables, you need to include
Power BI Rest API
Overview Power BI is primarily used for data visualization and business intelligence. It helps users connect to various data sources, transform and model data, and create interactive dashboards and reports to analyze and share insights. Essentially, it turns raw data
Securing Session Cookies in .NET
Session security stands as a critical component of web application development. Within ASP.NET and ASP.NET Core frameworks, session cookies play a vital role in tracking authenticated users. Without proper security measures, these cookies become prime targets for malicious actors seeking
Server-Side PDF Conversion with LibreOffice and IIS
When building web applications on Windows servers using IIS, you may occasionally need to utilize locally installed desktop applications — like LibreOffice — for server-side tasks. A common example is converting Microsoft Word documents into PDF format. In this post,
Events and EventEmitter in Node.js
What Are Events in Node.js? Node.js is designed around an event-driven architecture. This means that instead of waiting for tasks like file operations or HTTP requests to finish, Node.js uses events to signal when these tasks are complete. To manage
How to Set Up Daily Refresh for Power BI Reports and Configure a Gateway for Server Use
Power BI, a powerful business analytics tool from Microsoft, enables users to create interactive reports and dashboards. To keep your reports up-to-date, it’s essential to set up a daily refresh. For those using on-premises data sources, configuring a gateway is
Applying Page-Level Security in Power BI
Power BI provides built-in Row Level Security (RLS) to control data access, but it doesn’t have a direct way to show or hide pages for different users. However, we can create a workaround using user roles to limit access to
Advanced Git Commands: Bisect, Patch, Rebase, and Cherry-Pick
When working with Git in large, collaborative projects, mastering advanced commands becomes essential for maintaining clean commit histories, isolating bugs efficiently, and managing code across multiple branches. While basic commands like commit, merge, and pull are sufficient for day-to-day work,
Using Worker Threads in Node.js
Node.js is single-threaded by default, which means it can handle only one task at a time in the main thread. While this works well for many applications, it can cause problems when dealing with heavy CPU-intensive tasks, like image processing,
