Posts

How to add a new line in Date type question in google forms

Image
 In Google forms, adding a new line in Date type question can be done by running the below script in the script editor. To follow the steps, please watch the video: Code to Run :  function   addLineBreaks () {    var   form  =  FormApp . getActiveForm ();        // find form items you need     var   questions  =  form . getItems ( FormApp . ItemType . DATE );       for ( i  =  0 ;  i  <  questions . length ;  i ++)   {      var   title  =  questions [ i ]. getTitle ();      questions [ i ]. setTitle ( title . split ( ". " ). join ( "\n" ));   } }

How to add a line break in file upload type question in google forms

Image
 For file upload type, add the below code in script editor in google forms and run this to add a line break for the question . Please refer the video below to see how to do: code: function   addLineBreaks () {    var   form  =  FormApp . getActiveForm ();        // find form items you need         var   questions  =  form . getItems ( FormApp . ItemType . FILE_UPLOAD );       for ( i  =  0 ;  i  <  questions . length ;  i ++)   {      var   title  =  questions [ i ]. getTitle ();      questions [ i ]. setTitle ( title . split ( ". " ). join ( "\n" ));   } }

Best websites to earn money online 2021 | Best freelance jobs online for testers 2021

Image
  There are several websites for testers which will be paying for the work or issues they submit through the platforms. Most of the website follow their own rules and instructions are given to the users to follow. All of these require a new user registration and there will be a test to be completed to get qualified for continuing with testing. Following are some of the best websites which pay for testing. 1.  Usertesting Usertesting is the most popular website which pays user for testing the websites. These tests mostly have user to talk and record the user experience while testing. user will be paid through paypal when the threshold comes. Users has to submit a demo test and results will be sent to confirm whether user is qualified to continue or not. 2.  Testio Testio is a best website which will give you much test invitations per day. User has to register and complete a test to continue with testio. Users will be paid through paypal, payoneer or by bank transfer. payments will be do

ColdFusion Interview questions 2021 - Part 1

Image
  1. What is ColdFusion. How it works? ColdFusion is a powerful and fast development platform built on java for web application development. For more detailed explanation,  you can refer the video below: 2. Difference between Application.cfc and Applicaion.cfm Every time a page runs, ColdFusion looks for the Application.cfm page  in the current directory and then in each parent directory up to the web root until it finds one. As soon as it finds an Application.cfm page, it runs it and stops looking. ColdFusion looks for the Application.cfc, page in the same manner as it does for Application.cfm. Below video shows the main difference between Application.cfm and Application.cfc   3. What are components in ColdFusion? Components are nothing but a class with methods / functions and variables in it. In ColdFusion the tag <cfcomponent> is used for creating components. The functions inside a component can be created by using <cffunction> tag. The syntax for creating a component

Coldfusion : How to fix multiple content disposition error when cfheader is used

Image
  There are some cases where we will get the below error while using files downloads or using cfheader attachment attributes. This occurs when there will be be a comma in the file name which will make the server give error like multiple content. To fix this error, a simple code update can help: we can add the filename in double quotes so that the code will look like: <cfheader name="Content-Disposition" value="attachment; filename=""#myfilename#""">

how to check if 2 lists contain same elements in ColdFusion | Coldfusion code to Compare Lists

 Consider there are 2 lists with numeric elements as below: So the code to compare these 2 lists are given below: <cfset list1 = "455,888,234,456,908"> <cfset list2 = "908,234,456,888,455"> <cfset list1 = ListSort(list1,"numeric") > <cfset list2 = ListSort(list2,"numeric") > <cfoutput>sorted list1 #list1#</cfoutput> <br> <cfoutput>sorted list2 #list2#</cfoutput><br> <cfif compareNoCase(list1, list2) EQ 0>     Both Lists have same elements  <cfelse>     Different elements in both lists  </cfif> If the list contains string elements, then the sort type have to be "numberic"

After being suspended from Facebook and Instagram Trump launches new platform for communication

Image
  Previous President Donald Trump will not recapture access to his Facebook and Instagram represents now, which the world's biggest interpersonal organization suspended in January following the lethal US Capitol Hill revolt.   In its most high-profile case, an oversight board entrusted with assessing Facebook's hardest substance choices said Wednesday the web-based media giant should keep Trump's suspension set up however that the organization should survey how long he ought to stay banned from the stage. Trump was suspended in view of concerns his online comments could impel viciousness after the destructive Capitol Hill revolt. Other web-based media destinations, including Google-possessed YouTube and Snapchat, have additionally made a move against Trump. Twitter, the previous president's supported method to speak with his fans, banned him forever. Facebook and other networks had been feeling the squeeze for quite a long time to get serious about Trump's r