Questions tagged as 'console'

1
answer

Console.log displaying all data in the array

When I run the javascript code below: var dados = Array(); for (var i = 0; i < 2; ++i) { dados.push({index: i}); console.log(dados); } The output in the browser console for the first interaction will be: [0: {index: 0}, 1: {i...
asked by 17.10.2018 / 13:21
1
answer

Get location and console size in pixels

Is there any way to get the size and location of System.Console in pixels , not tiers? I've tried this method: 'Para o tamanho: Dim X, Y As Integer X = Console.WindowWidth * 8 Y = Console.WindowHeigth * 12 Dim final As Size = New Size(...
asked by 23.05.2015 / 01:43
0
answers

Login with Firebase

I am developing a Login screen with firebase, I would like to know how can I block an XMLHttpRequest call via the browser console? The login is done via ajax, when I get the authentication information from the firebase, I make the request for th...
asked by 30.08.2017 / 20:01
0
answers

Fullcalendar Javascript error

I'm trying to import fullcalendar into a project, I'm using gulp to automate imports. But when I put the path to import fullcalendar I come across this error in the console:    fullcalendar.min.js: 6Uncaught TypeError: Can not read pro...
asked by 05.12.2016 / 12:10
1
answer

Run Rails commands on the Ubuntu terminal

I'm learning Ruby through an Alura course and I have a question.    bash: / usr / local / bin / rails: /usr/bin/ruby2.3: Invalid interpreter:   File or directory not found To solve this, every time the terminal is opened I execut...
asked by 16.06.2016 / 19:16
1
answer

Console shows javascript logging very fast and no time preview output

This is my code is a simple form: <!DOCTYPE html> <html> <head> <title>Formulário</title> <meta charset="utf-8" /> </head> <body> <form name="meu_form"> <h1>For...
asked by 26.10.2017 / 16:03
1
answer

TrayIcon with hidden console

I have a program in java , with no graphical interface, only console. The only output commands are System.out.println() . I implemented it so that the program had a trayicon. The problem is that I just want the active trayicon when e...
asked by 29.12.2016 / 14:20
2
answers

How do I find out if the browser console is open?

Is there any way to capture information that the browser console is open? Currently I make a script that checks if the height of the browser has changed ... but in case it strips the browser console, or even, modify to the side, the script does...
asked by 29.05.2018 / 21:57
1
answer

How to know which keys are pressed in C # ConsoleApp and set events

How can I "read" which key is pressed and set an event for that key if it is pressed. Example: if F1 is pressed Sum, F2 subtracts and so goes I found in the C # help site this example, but I did not understand how it works: using System;...
asked by 10.05.2016 / 20:13
1
answer

Doubt with javascript console.log

I have a javascript that performs some actions on a website. I go through the console to know what is happening, but at several moments it executes a command that printa in console console.log ("check"); I want to make this "check" not appear...
asked by 11.11.2015 / 01:17