panteravb.com

Android Studio and Java

Hi) I know Python well, and as soon as I realized that I wanted to try to make my own application, I decided to study this to ... it, in others they just download it and that's it, without any Java. Are there any people familiar with this? Please help me.

Connecting OpenCV to a Java project

When executing code from the tutorial: static{ System.loadLibrary(Core.NATIVE_LIBRARY_NAME); } public static void main ... quite clear what to do. Download the system library named *411, or install an older version of OpenCV that has version 410?

Binary search tree

Good day to all! Please help me to complete the program, namely, we need two methods: search and delete objects from the bina ... if (ivalue == head->GetValue()) { return true; } else { return false; } } };

How do I swap array elements?

let arr = ['вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'] What is the easiest way to add the 0 element 'вс' to the end of the array? I got it like this: let shiftElem = arr.shift() arr.push(shiftElem) Is it possible to make it easier?

Redirecting threads in a command file (CMD, BAT)

There is some need to log the operation of the program, and I would not like to lose the ability to display data on the conso ... xample: dir > list.txt 2>&1 But I can't figure out how you can write one stream to both the screen and the file.

"if not exist" doesn't work"

There is a folder d:\EXPT. Two EXD and EXF files appear in it. Required in d:\ In copy exactly EXF first, then move it from ... \EXF??????????.*( xcopy d:\EXPT\EXD??????????.* d:\In /V /Y move d:\EXPT\EXD??????????.* d:\EXPT\a\ ) )

XML parsing in Android

Please tell me, I need to parse a simple XML'ku vida: <?xml version="1.0" encoding="UTF-8"?> <result> <statu ... easier? Mb is there some simple class for parisng? Somewhere I saw an analog of php'shnoy simplexml, but now I can't find it

Checking matches with Google Apps Script directly in Google Forms?

I collect people's full names through Google Forms, etc.the data, and the form writes it to the Google spreadsheet. I really ... d in red). Me it seems that with the help of Google Apps Script it was possible to do this, but I'm not good at programming.

GitLab Community Edition. Is there a limit on the number of gitlab-runners used?

We are going to deploy a stand for testing the CI chain in GitLab, but there are concerns that we will not meet the GitLab-ru ... itlab itself, I did not find the answer I needed. Tell me how to view or at least find the info how many runners can be used?

Commenting in phpstorm

You need to comment on the code when you click Ctrl + /. Now when you press these keys, the block collapses. The following key combinations are registered in the settings: How do I set up comments? Switching the layout didn't help.

Access modifiers in C#

Let's say I set the access modifier internal to the class, and the variable in this class is public. Question, will this variable have an access modifier internal (as a class access modifier) or public (as a variable access modifier)?

How do I connect Android Studio to Visual Studio Emulator for Android?

I'm writing an Android app in Android Studio. I want to debug it in Microsoft Visual Studio Emulator for Android (it runs on ... available devices in Android Studio. What do I need to do to make Android Studio see this emulator as a debugging device?

Python. How do I make a delay without freezing the program?

When using time. sleep(x), the entire program stops. I also make a bot in which you need to wait after each action. You can't ... ops the ENTIRE program, and after each operation, no one can use the bot. How do I make a delay without freezing the program?

How to remove the white background in the image using PHP?

There are a lot of images on the site - I want to optimize the amount of files. I want to do the following things: How do I ... ? How do I crop a photo at the edges of the image so that there are no extra areas, so to speak, but only the working area?

How do I open port 27015?

I'm trying to open port 27015 on Win 7 Ultimate. 2ip.ru writes that the port is closed, when the antivirus (Kaspersky) is tur ... all. I called the provider, they say that they do not close any ports except for the 21st. So how do I still open this port?!

How to open a port on the MGTS router

For a python project, I need to open a port on my router so that the computer can work as a server. I know how to do it, last ... TS, apparently, did something to solder a paid static IP. Is there anything else you need? No one has encountered it? Thanks.

How to turn off the power to the usb port with ubuntu?

I have a cooler, it is not detected by the computer as a separate device. How do I turn off the power to its usb port?

Chessboard - one formula

I noticed that in chess problems they often draw the board using the condition that if the remainder of the division by 8 is ... { background-image: url('https://gyazo.com/1b53d5bd1715435422adeea81a5fbf73.png'); } <div id="board"></div>

Port forwarding and traffic redirection via iptables

There is a router 192.168.1.1, the Internet comes to it. On the router, port 6666 is forwarded to the server with Ubuntu (1 ... 192.168.1.2:6666. Redirect packets from 10.10.10.2 eth1 to the ip address available through this locale 192.168.100.1:6666.

iptables-close all ports except web and ssh

Ubuntu 16.04 server + fail2ban + iptables. There are a lot of PHP + MySQL sites on the server (with and without SSL). The ta ... the server use the PHP copy command. Will it work correctly if only ports 22,80,443 are open in the INPUT chain for iptables?