Posts by Sérgio Avilla • 31 points
9 posts
-
-1
votes3
answers25651
viewsA: What is the equivalent of the grep command in Windows?
The grep command currently works on Windows 10, does the test, may already be available in its version. Example: cat package.json | grep react-native
-
0
votes1
answer38
viewsA: How to "set" Focus in an onClick function?
Without the code it’s kind of hard to understand what you want to do, if you can put the code it helps the community a lot to help you.
-
0
votes0
answers39
viewsQ: How can I use lib 'websocket' in React Native?
I have a chunk of code that I can connect to my websocket server using it: var WebSocketClient = require('websocket').client; var client = new WebSocketClient(); var token = "##############";…
-
0
votes2
answers222
viewsQ: Save Date.now() to postgres
Hello, I would like to know what kind of data I use in the time column of my table, which will store the Date.now() from Javascript, it returns an integer like this 1591181717431. I thought to use…
-
-1
votes2
answers28
viewsQ: Input value equal to ID?
Hello, I have a table in postgres that has a column called link, serves to connect data with the same origin of several tables. This link is equal to the ID of the table in question 'tasks'. How do…
-
0
votes2
answers126
viewsA: Cronjob on the Node, is there?
I am using cron, to install just use npm and it is very simple to use, example: const CronJob = require('cron').CronJob const job = new CronJob('*/10 * * * * *', _ => { console.log(new…
-
0
votes2
answers126
viewsQ: Cronjob on the Node, is there?
Hello, I am creating a system of tasks and notifications, it works like this: the user creates a task for the system to execute when it arrives at a given time, automatically, notifications are…
-
1
votes2
answers112
viewsA: How to create a file within a directory?
f = open(checkDir+'/'+nameDir , "w") f.write("") # se quiser escrever algo dentro do arquivo, aqui entre as aspas f.close() Try it like this, it usually works.
-
0
votes1
answer260
viewsQ: I want to edit a pdf contract using PHP, or JS, or any web solution that serves
I am developing a management system for a company, there they have several contracts for various services. I already have the contracts in hand and already know where my system will have to change…