All Questions

1
answer

How to create trigger for all tables in a database, automatically?

Example scenario I have a database with 1000 tables . A table named log . Objective I would like to create a default trigger on each of these tables, automatically . This trigger , whenever there is any change (inser...
asked on 05.09.2018 / 12:36
1
answer

Extract dataframes from lists with dataframes under certain criteria in R

I've organized my list of dataframes like this: df.1<-as.data.frame(matrix(rnorm(10),10,80)) df.1.in.list<-split.default(df.1, gl(10, 8)) In the df.1.in.list list I would like to keep the dataframes where the first element of column...
asked on 25.09.2018 / 23:43
1
answer

Is there any way to use a "custom-attribute" as the value of a CSS property?

I wonder if there is a possibility to use custom-attribute of type data-*=" " as a value for a CSS style or even use this custom date as value for a variable in the CSS. For example, I'll explain my idea. I'd like to put in t...
asked on 18.09.2018 / 16:56
2
answers

Private class in JavaScript

I'm looking for a way to make both attributes and methods invisible so they are not accessible from outside the class. But I also wanted to use the modern approach to do this (classNameClass {}). After many attempts I have taken a different appr...
asked on 08.09.2018 / 16:01
2
answers

Error parsing image in half using Python

I'm trying to split an image in half using the code below, but I'm having a return error. Code: import cv2 import numpy as np # Read the image img = cv2.imread("IMD015.png") width = img.shape # Cut the image in half width_cutoff = width /...
asked on 15.11.2018 / 19:25
1
answer

What are columns-list of a data.frame?

tidyverse encourages the use of list-columns in < a data / data / data.frames "class=" post-tag "title=" show questions tagged 'data.frames' "> data.frames . But, after all, What are columns-lists? On what occasions are they commonly...
asked on 26.12.2018 / 14:31
2
answers

Internal search form

I have an internal search form on the site. <form method="get" id="searchform" action="/search/"> <div> <input type="text" value="Pesquisar..." name="q" id="s" onfocus="defaultInput(this)" onblur="clearInput(this)" /> <in...
asked on 31.01.2014 / 08:55
4
answers

Limit number of characters per line

Is it possible to limit the number of characters per line of a% multiline% using Windows Forms C # and .Net 3.5?     
asked on 10.02.2014 / 11:50
1
answer

What is the best way to send HTML email in Django?

I am a beginner in Python and Django and in the project I am doing for study, I send an email, which has an HTML template. I was able to send an HTML email using EmailMessage : msg = EmailMessage(subject, template.render(variables), send...
asked on 30.01.2014 / 04:17
1
answer

What is the difference between performance between different types of string concatenation?

I know 4 different types of concatenation of string in C #: // string Interpolation $"valor {variavel} R$"; // Verbating string @"texto qualquer pula a linha e continua o texto"; // concatenar 2 strings "texto" + "texto"; // string.form...
asked on 28.11.2018 / 21:49