Interesting questions
-
2
votes1
answer6661
viewsGenerate token from string and check generated token
Basically, I need something that works similar to $hash = Hash::make('string') and Hash::check('string', $hash) but that does not produce as big a result as (60 characters). or $hash =…
-
2
votes1
answer270
viewsHow to create a clickable image valid for W3C?
According to the reply of question I did here, the W3C discourages the use of a tag img within a link (<a>); But this imposition of the W3C sounded a little controversial, because since I…
-
1
votes1
answer80
viewsCondition where you find the name "test" I print OK if NO
this is the code I’m trying to solve and its result! awk '{if ($0 ~ "teste") { print "ok"} else {print "no" }}' arquivo.txt no ok no no no as you can see he checked every line himself had the name…
awkasked 7 years, 6 months ago socket plus 15 -
-2
votes1
answer62
viewsREFERENCE ERROR html and Node.js
var express = require('express'); var router = express.Router(); var pessoas = []; /* GET home page. */ router.get('/', function(request, response, next) { response.render('index', { title: 'Node.js…
-
0
votes0
answers550
viewsAPK error in android studio
Guys, when I try to emulate the application I get this error, someone can help me solve? When I click ok it does nothing, create another image would try to emulate dnv? If yes I’ve tried, with…
androidasked 11 years, 2 months ago Rodrigo Marden 1 -
0
votes0
answers383
viewsDataframe: Empty 'Dataframe': no Numeric data to Plot
I’m trying to get the highest values in the column Valor Pago. No Jupyter. top_10_empenho = portal[['Descrição', 'Valor Pago']].head(10).set_index('Descrição').sort_values('Valor Pago',…
-
-1
votes1
answer32
viewsHow to start a download automatically when the user enters a specific page
I have a MVC C#application, where after login (it will be the first time you access the platform) the system starts downloading some files (the files change according to the needs of the department,…
-
0
votes1
answer22
viewsdefmulti does not locate defmethod in another namespace
I created a clojure project to validate defmulti Feature with defmethod implementations in other namespace. However, when running the defmulti Dispatcher project it does not locate the correct…
clojureasked 6 years, 10 months ago Guilherme Fernando Angelico 9 -
7
votes2
answers11472
viewsJust grab a div from another page via jQuery
Grab content from another page by javascript or jquery On another question I wanted to know how to get content from a page. In this I wanted through this code to catch only one <div> instead…
-
0
votes2
answers638
viewspresentation of fractions in javascript
needed help on this issue, I managed to solve it perfectly but in the exits I think it is a little better! 7) Make an algorithm that calculates and displays the sum of the first 30 terms of the…
javascriptasked 7 years ago Gabriel Vieira 1 -
1
votes1
answer73
viewsWhy is the source not changed in Raspberry Pi?
I have a graphical application using Gtk in Python, the program has font definitions and font sizes. When running the program on linux works correctly, but when running on Raspberry the source is…
-
1
votes0
answers257
viewsIframe - View youtube videos
Good morning guys, I would like a help, I need to display latest videos from the youtube channel on the site. This code I used worked, after loading the page, it displays the last five videos:…
-
2
votes1
answer73
viewsProblem in C code running a function
Hello, I have a problem with this code. I am implementing the function of Bubble Sort. But something curious happens when running this code. The variable n that indicates the amount of vector spaces…
casked 10 years, 2 months ago Gabriel Morikawa 41 -
1
votes1
answer227
viewsUse html attribute as javascript variable
I’m developing a PHP system that uses an extension for dynamic forms, where I can click a button to add fields (EX: A request can have multiple items, where the items are the fields added…
-
0
votes1
answer404
viewsHow to cast in Java?
This model is working, look at the figure! You may notice that you are concatenating two String variables as you can see in the figure below; My problem now is to be able to concatenate an Integer…
-
-1
votes1
answer81
viewsCOUNT + JOIN WITH DIFFICULTY IN RESULT
I need to get two results... I have a table with a total of 102 drivers and another table with the date he left to make deliveries and another with the arrival date... I need to know which drivers…
-
1
votes1
answer325
viewsDrag and Drop between columns with Sort, move cards between them
I’m developing an application where I have 3 columns of cards, I need the cards to be moved from one column to the other and between each other. I was able to get the card moved to another column,…
-
3
votes1
answer75
viewsProblems automated formatting subsection Rmarkdown in R
I need to generate a report that has several sections and subsections, which depending on the month, may or may not appear in the database To get around the problem, I created an appearance…
-
0
votes1
answer171
viewsCollapse pushing the Div
I created a Collapse but I’m not getting it to push the Divs down, thus getting superimposed on the content. I tried some code in CSS but it’s not working. HTML: <div id="collapsible-menu">…
-
2
votes1
answer44
viewsDoubt with "minor" in Visualg
I started a course of algorithms and I like it a lot! But lately I have been quite complicated with the question of "minor" in some situations. Follows the question: Create a program that reads the…
visualgasked 5 years, 5 months ago Lucas Silva 23