Interesting questions
-
1
votes1
answer77
viewsVideo control plug-in in Moodle
Does anyone know if there is a module or tool that controls access to videos on Moodle? I was thinking of creating something like, for example: The student began watching video number 1 and stopped…
-
2
votes1
answer222
viewsUpdating the text of a Toast without waiting for it to disappear
I’m creating an app for testing and I’m using toasts to validate my tests. I usually define a Toast as follows: Toast.makeText(this, "Texto que eu quero que apareça",Toast.LENGTH_SHORT).show(); Is…
androidasked 12 years, 1 month ago Renan Lazarotto 1,025 -
0
votes1
answer568
viewsProblem sending emails with Laravel 5.4
I am trying to email the Laravel Mail class as follows. Code: Mail::send('companies.emails.register', ['company' => $company], function ($m) use ($company) { $m->to($company->email,…
-
0
votes1
answer298
viewsClear form after registration (Javaserver Faces)
After having made a registration, it clears the form normally, but when I change page and return to the registration page, the fields are filled with the values I previously registered. The scoped…
-
0
votes0
answers90
viewsClick Framelayout does not work with Listview inside
I have the following situation: I have a main layout that contains a listview inside. This listview keeps some distance from the edges of the layout and I positioned an External Layout literally…
-
1
votes1
answer48
viewsOutput values are leaving without space
I have the following problem to solve: Cryptography (Greek: kryptós, "hidden", and gráphein, "written") is the study of the principles and techniques by which information can be transformed from its…
-
0
votes1
answer206
viewsSave objects to Java file
I have the following code: package p10; import java.io.*; import java.util.*; import myinputs.Ler; public class P10 { public static boolean verificawl (int i) throws ExcecaoWhile {…
-
2
votes1
answer145
viewsError opening Package Manage Console
When I open the Package Manage Console give me the following message: Join-Path : Cannot Convert 'System.Object[]' to the type 'System.String' required by Parameter 'Childpath'. Specified method is…
-
0
votes1
answer69
viewsHiding ( $Hidden ) password Laravel 7
I need to hide the password to be seen or etc either in the bucket or whatever form, because I list the users in an administration pad, even using the Model with Hidden as below I can read the…
-
2
votes0
answers47
viewsUse the first part of the split
I wonder if you have how to use the split to make only one division, for example, I have the following text:: dia_24_06_18. I wanted you to separate by _ in the matrix like this: [0] - dia [1] -…
-
2
votes2
answers60
viewsSession without www and www php
Hello, I’m having a problem, it happens that the user log in to www.meusite.com.br page his session is not in meusite.com.br, because it has this difference of without www and with www? Can someone…
-
0
votes2
answers809
viewsHow to use 2 Submit separately in html?
Hello, I’m making an upload system, but when I give Submit in the following code both exchange the value of the variable ID. My idea is to change the ID value so that the folder that will be…
-
3
votes2
answers479
viewsHandling dates in AWK scripts
CONTEXT: I have a CSV file from which I want to extract and process some columns. I realized that AWK would be the perfect tool for this and everything was fine until I had to deal with timestamps -…
-
1
votes0
answers120
viewsReading csv file with Kotlin
I am beginner in Kotlin and have the following class to read a csv file: @Service class ClienteImportService { fun obtemTodosMsisdn(args: Array<File>) { val reader =…
-
8
votes1
answer469
viewsHow to calculate the median when the data is in Chunks?
Suppose my data is divided into 2 vectors: x <- c(100, 400, 120) y <- c(500, 112) I could calculate the median by joining the two vectors and then using the function median. median(c(x,y)) [1]…
-
-1
votes1
answer23
viewsHow to cancel the upload of a file in the firebase web Storage?
I created a root storage reference in firebase web through the code below: var storageRef = firebase.storage().ref(); var uploadTask = storageRef.child('img-tour/' +files[0].name).put(files[0]);…
-
0
votes0
answers110
viewsPersist child objects with parent id 1:N
Guys I’m having difficulty in relationships with Hibernate, I have a 1:N relationship between Provider and Address (1 provider may have N addresses). My problem is this, when I try to persist a…
-
0
votes1
answer212
viewsAngular + requirejs Controller logging error
I’m starting an application with Angular + Requirejs. Follow below Main.js ;(function (doc, undefined) { 'use strict'; var $scriptDefault = doc.querySelector('[data-js="script-default"]'); var…
-
1
votes2
answers29285
viewsHow do I resolve the "Notice: Trying to get Property of non-object in" error?
I have an administrative panel and in the page to edit the user I receive the data by the form and do the update in the table so that always returns the message from Notice error: Trying to get…
-
0
votes1
answer142
viewsReact Native - How to show value saved with Asyncstorage in a Text component
I would very much like to be able to render in a text component the value saved and changed with the Async Storage. In showData I can get the new value with: console.log(`novo valor: ${newValue}`)…
react-nativeasked 5 years, 5 months ago Jhonatan Bergmann Dias 9