Posts by Márcio Eric • 447 points
29 posts
-
0
votes0
answers168
viewsQ: Image in Drawer updating several times
I’m building an application with React Native and React Navigation, I’ve made all the settings and it’s working, however, when Drawer is triggered the image is updated multiple times without causing…
-
0
votes1
answer793
viewsQ: Set value inputmask jquery
I am building a small system in jquery and in the editing part where I need to inform a value programmatically to the field Jquery Inputmask is not correct. Below is the example of my code and what…
-
3
votes1
answer974
viewsQ: SQL SERVER myth about SELECT INTO and tempdb locks
I’ve been studying a lot lately about databases and everything. Today, performing a routine check on the processes of the SQL Server instance verified that an instruction that was running in one…
-
7
votes1
answer94
viewsQ: SQL Server JOINS vs Subquerys
I was making some queries, and came the need to carry out the grouping of a table that was in a JOIN within the query. To illustrate. Sales chart. +----+---------+------------+----------+ | Id |…
-
1
votes1
answer212
viewsQ: Optimize module 10 SQL Server
I have a database created by apróx. a decade, this same bank has several records and obviously, by being in production, can not be changed from day to night. The problem is: The products registered…
-
1
votes1
answer156
viewsQ: Compare group by sql server values
Something very unusual happened in my bank. Some records were entered more than once (7 to 13) to be exact. This occurred due to software error that has already been solved. Now I need to delete…
-
4
votes3
answers124
viewsQ: Selecting Active Batch
I’m studying about appointments at Sqlserver and have the following scenario: I have a lot table that has the following fields: Table of Lot (Lot) Id INT ProdutoID INT Preco SMALLMONEY Inicio…
-
0
votes0
answers311
viewsQ: Angularjs autocomplete visual studio code
I’m creating an API for Angularjs and know that in vs code you can write a d.ts file that defines types and other things in the IDE. I already created this index.d.ts for autocomplete and it worked…
-
0
votes1
answer415
viewsQ: C# Visual Studio unknown build error
I went to refactor my code in C# that was working perfectly, but it was gigantic, and it stopped working and the visual studio does not describe the error in any corner. Below is my code and Visual…
-
0
votes1
answer137
viewsA: How to open two popup one at a time when updating the tab?
Sorry for the comment, but using setInterval, an auxiliary variable and a method is simple. Follow an example: var openedAds = 0; var AdsToOpen = ['http://popup1','http://popup1']; var interval; var…
javascriptanswered Márcio Eric 447 -
1
votes1
answer873
viewsQ: The operation of Docker Network
I always wanted to have a server so I could learn about Devops and so on.. Here comes an old computer here with reasonable settings: i5, 8GB RAM and 500Gb HDD. I started studying about Docker and I…
-
0
votes0
answers105
viewsQ: CSS Animation & Angular JS
Making a small application with Angular and Material Design. To leave more cute I decided to put some simple animations. The first of them is the Slideinright that the screen should slide to the…
-
2
votes1
answer104
viewsQ: Nodejs api with Promisses
I am developing an API in Typescript with Nodejs and Mariadb; when I do an operation with the bank, below I have a if to check if an error has occurred. productDao.save({name:"Notebook Dell",…
-
-1
votes5
answers1163
viewsA: PHP only connects to Mysql?
Yes, PHP can connect to other databases like Oracle and so on, you just need to search the PHP documentation. Here are two examples SQL Server Oracle…
-
0
votes1
answer632
viewsQ: SQL to check skipped number
I have a table with 12,560 records from 5 years ago, that is, it does not have such a good modeling and it has a field called 'code' that the user filled with something like CA-0001. The problem is…
-
0
votes0
answers27
viewsQ: Windwosforms between windows 10 workspaces
I have an application in Windows Forms and several work areas and I need to open a window in all these areas, I already searched the internet and found…
-
1
votes2
answers475
viewsA: Create menu of options
If you are using angular material they have great documentation, what you want to do this one: https://material.angularjs.org/latest/demo/menu…
-
1
votes1
answer146
viewsQ: Topmost Windows Forms
I have two screens in Windows Forms that are enabled with Topmost, but when the second window opens, the first one (which also has top Most) is underneath, but I need both windows to be above…
-
2
votes1
answer62
viewsQ: Parse data from a C#database?
Precise deserialize the information of a database in C#, I have the following SQL in C#: select Id, Email, Name, Login FROM usuarios WHERE Login = @login and Senha = CONVERT(VARCHAR(2000),…
-
0
votes1
answer76
viewsA: Angularjs with Md.data.table Handler?
I found out what it was. In <tr md-row md-select="flow" md-select-id="flow.id" md-auto-select md-on-select="onSelectItem(flow)"> When I pass the function to the view, it picks it up in…
-
0
votes1
answer76
viewsQ: Angularjs with Md.data.table Handler?
I have an app with Angularjs using Material Design and Md.datatable. in the latest version of each Framework(respectively 1.6.4, 1.1.0 and 0.10.x). In the Md.datatable. it is possible to verify that…
-
3
votes6
answers2251
viewsQ: Remove all elements from an array that already exist in another
I have two arrays with javascript objects: var a = [{objeto1}, {objeto2}, {objeto3}, {objeto4}, {objeto5}]; var b = [{objeto1}, {objeto2}]; How to do what is in the array b exit the array a?…
-
2
votes0
answers401
viewsQ: Good practices in data modeling
I am an intern and I am developing a small application to help the staff of the quality and development to register the use cases and etc, the application is very simple, it is made in Angularjs…
-
0
votes1
answer358
viewsQ: Angularjs - directive and view are not working properly
I’m making a small application for my internship, for studies and everything, but even if I follow all the steps, there’s something wrong, I can’t make the angular (version 1) render the view or the…
-
0
votes1
answer139
viewsQ: Error when obtaining value of a property through reflection
I’m having trouble with the following line of code: var key = entity.GetType().GetProperties().FirstOrDefault(p => p.Name.ToLower().Contains("id")).GetValue(this, null); Every time he gets on…
-
0
votes0
answers43
viewsQ: Browser downloading files like mime instead of css
I am having problems with a small PHP MVC application that I am developing, I searched the internet and found that possibly mine .htaccess, is annexed hereto: RewriteEngine On RewriteCond…
-
0
votes1
answer122
viewsQ: Notification system, _.template(...). html is not a Function
I am making a notification system and am getting the following error: Uncaught TypeError: _.template(...).html is not a function Follow the code here: <script type="text/x-template"…
-
0
votes2
answers61
viewsQ: Adapt css to viewport
How do I adapt my website to the size of ViewPort? I have a good resolution image and I would like it to adapt to the screen size, without the scrollbar.
-
1
votes2
answers79
viewsQ: Doubts about which infra to choose
How would you put an API in the air along with a front-end? Example: I have an application in Angular JS A SPA and it has an API that requires a database, so how would I do it? Create an EC2…