All Questions

1
answer

How to Convert RTF to HTML

I'm working on a web system that pulls a bulletin board from a system made in Delphi, which uses the RTF format to format the text. With this I need to use some Server-Side class in PHP to turn it into HTML. The class I am trying and t...
asked on 29.01.2015 / 20:01
1
answer

How to merge a file with several other files, dynamically using grunt?

I have a problem that I can not solve in any way. The problem is this: I use Grunt to automate the tasks of my projects, and in this case, I'm using it as follows: AsIdidinthedrawingabove,IwouldliketogetalltheJavascriptfilesfromthe"DEV"...
asked on 24.02.2015 / 21:59
1
answer

Modularization of the schema using AdonisJs and GraphQL

I have a project where I'm using AdonisJS and GraphQL, I've created the schema and defined the queries , mutations , types . But everything was centralized in just one file, so I decided to modularize schema and resolvers . The problem...
asked on 22.11.2018 / 13:01
1
answer

Integration by the Simpson method in the R

I have the electric field data in an array, from this data I need to use the method of Simpson in this E . In MATLAB, I already have it. Does anyone know of any package or built-in R function that does this?     
asked on 28.01.2015 / 19:27
1
answer

Date format in an NF-e

Hello, I'm developing a screen that will generate an NF-e and the moment I went to work with the dates I discovered that it needs to be sent in a specific format that I do not know and did not find anything on the internet. p> 2015-02-12T15: 2...
asked on 24.02.2015 / 20:23
2
answers

Send UTF-8 email through ASP with CDONT

I'm trying to send a form to an email using CDONT, but the charset is arriving incorrect and is not displaying the accented characters correctly. <% Response.ContentType = "text/html" Response.AddHeader "Content-Type", "text/html;charset=UT...
asked on 10.04.2015 / 15:01
2
answers

Strings Comparison

There are several ways of comparison, but I always see that the most indicated are ( ===, strcmp ou strcasecmp ). Among these forms considered the safest (according to some websites), the following doubts follow: Which would be the...
asked on 02.04.2015 / 14:50
1
answer

Error in PDO query

I am creating a registration page where I have several tabs, according to the structure below: <div> Aba 1 </div> <div> Aba 2 </div> <div> Aba 3 </div> <div> Aba 4 </div> e assim vai... Inside...
asked on 04.02.2015 / 15:09
1
answer

How does the Bitap algorithm work?

According to Wikipedia in English:    The bitmap algorithm (also known as o-shift or, offset and or   Baeza-Yates-Gonnet algorithm) is a sequence of correspondence   approximate algorithm. The algorithm indicates whether a given text   contai...
asked on 24.02.2015 / 04:38
1
answer

What is ~ in regular expression?

I'm with the code: function addhttp($url){ if(!preg_match('~^(http)s?://~i', $url)){ $url = 'http://'.$url; } return $url; } It will add HTTP if the URL you entered does not contain it, but what I'm in doubt is the...
asked on 20.02.2015 / 18:04