Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

MVC Custom Authorize Attribute with Use of Enum

Hi All, In many of our scenario's we need to use Authorize Attribute in our MVC project. The limitation of which is just that we can't use our custom user roles. What if we intend to use custom enum to Authorize some of our Action Methods. B

Converting .DOCX file to .PDF file using LIBREOFFICE in cakephp

In order to convert DOCX file to PDF file directly, LIBRE OFFICE should be installed in your system. LibreOffice is an OpenOffice's successor that allows command line conversion using the LibreOffice conversion engine. The advantage of LibreOffi

Html to pdf conversion in cakephp

Step1- For converting html to pdf  first we have to download dompdf, then we have to  extract it and  put it into /app/Vendor. Step2- Then we have to import this dompdf folder and its file dompdf_config.inc.php by using below code in

MySQL CONCAT Functions

CONCAT function is mysql plays a vital role. The CONCAT() function combine or concatenate the list of strings together . We have 2 types of concat function -> CONCAT() – This function will concate list of string together without any sepa

Play Youtube Video in Fragment Using YouTubePlayerFragment

This tutorial explain how we can Play YouTube video within Fragment.   1. Create simple Fragment class extending Fragment. 2. Implement YouTubePlayer.OnInitializedListener to Fragment and override its methods. 3. Create FrameLayout in Layout

How to generate a pseudo-random string of bytes

sometime we need to generate a random string of byte, For this purpose openssl_random_pseudo_bytes method is used,which gives us a random string of  byte. Syntax string openssl_random_pseudo_bytes ( $length ,$crypto_strong ) Parameters

Difference Between The Test Completion Matrix And Test Completion Report

Test Completion Matrix:- When we completed our testing activity than there are so many matrices which are accumulated to make the testing reports. Few of them are mentioned as below -- Total number of accomplished tests. Total number of failed t

How to integrate pdf/dompdf Export option with CakePHP

Integration of dompdf library is available online,just download it and save this library to vendor folder, this file is able to convert a html document in pdf format, by using this library the content of the page should look more appropriate and attr

How to reduce APK size android

This blog is about reducing apk size with little tricks.   1. Use Proguard. :- Proguard main feature are Obfuscation and shrinking. Obfuscation is prevent from reverse engineering. Shrinking eliminates unused code and shrink code and resources

Callback in node.js

A callback is a function which is highly used in node js. When we want to run any task after the success or completion of a given task then we will use a callback. We will write maximum API in such a way that they will support callback. I will expla

1 89 282
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: