Posts by twsouza • 157 points
12 posts
-
0
votes1
answer40
viewsA: Golang- Problems to build packages using the Ohmyzsh shell
Actually the problem is not with Ohmyzsh. You have two choices: use the module or gopath. I recommend the module, basically you start the module with the go mod init namemodule, read the Getting…
-
0
votes2
answers45
viewsA: Using variable values
As said the RFL, you can switch from constant to variable and change the value in the code. There is another method, if the code is the same for other regions and Buckets, you can receive these…
-
0
votes1
answer93
viewsQ: How to know if certain coordinate is in a bounding box?
I have a coordinate (lat and Lon) and also a bounding box (minlon, minlat, maxlon, maxlat) and I have to find out if a certain coordinate is within the area. So far I did not find how I do, I…
-
0
votes2
answers373
viewsQ: How to generate a RSA key pair in Windows 10?
I’m trying to use jwt, more specifically the jwt to go, but I need to generate a key pair (a public and a private) RSA, I tried to generate by puttygen but Dã error Key must be PEM encoded PKCS1 or…
-
1
votes1
answer341
viewsA: Is there a difference in "connecting" to the container via Docker attach or Docker exec?
The docker exec is used to send a command to the container in question, when you do docker exec -it container /bin/bashan instruction is sent to the container to open a bash process and keep it open…
-
0
votes1
answer30
viewsA: Error . top in jQuery
The appeal .offset().top is called jquery, so you should put the variable inside $() being like this $(goto).offset().top. To get position of the element only with javascript has that question here…
-
1
votes1
answer1584
viewsA: php variable within javascript (Sweet Alert) line
Have you "opened" with the <?php at first, do not need to open again just concatenate with the variable echo "<script> swal({ title: 'Usuário Cadastrado.', text: 'Gostaria de cadastrar os…
-
1
votes1
answer1224
views -
4
votes1
answer221
viewsQ: Capacity of schools in Golang
One Slice can vary with the need and can add items to it, right? It is possible to view the size and its capacity (len and cap, respectively). In the tour by Go, there is a "lesson" from append,…
-
0
votes1
answer43
viewsA: Calendar with slide on days of the month
I suggest you understand how other calendar plugins work and try to apply to your project as an example, I suggest datepickerbootstrap. However you have to know a lot of javascript, I suggest…
-
1
votes2
answers462
viewsA: How to open a new window through PHP with the results of a SELECT?
You can put one more attribute in the form, the action, when the form is submitted, will be directed to that other page. On this other page that will be consulted to the bank and displayed the…
-
1
votes2
answers80
viewsA: Group of bootstrap Gird images staying out of loop
You’re doing all the iteration inside a col-Md-2, so the images are all in one column and there’s a lot of column left over as you see at the end: <div class="col-md-2"> <ul…