Skip to content

Tag: linux

Compile Readline for x86 system (static mode)

I am writing a program in QT Creator, for the x86 architecture, using Debian 9 x86. The program will use GNU Readline library [8.0]. Also, my program must be statically built (QT is already statically built). For this I downloaded Readline from here. Then performed the configuration for the static assembly: t…

How to log the live output of a running process

I want to run a game server inside my Ubuntu machine. I want to run it in the background and write the live output of that process inside a log file. I tried using nohup and running the game server using “&” at the end but I couldn’t make it work the way I wanted. Then I started reading …

How to solve the handshake failure using ssl in python?

I try connect to specific https server: But the python says: I try using TLS1: But says: Have a upgraded ssl in python and operative system: From netcat can connect without problems: What is the problem and how to solve this? Answer From the documentation: Since Python 3.2 and 2.7.9, it is recommended to use …

Is there a way to delete zip archive comments in python?

I have multiple zip archives all with a similar comment. Is there a way to delete the comment from the archives with python and use it over multiple archives with similar comment? What I have tried with single archive This is not working. Comment is not getting deleted in the archive, plus I want this to work…

Linux/Shell slicing a large text file

Given File1 File2 I wish to make a method that basically does this So given a uniquename from file1 it will use its key from file2 to get what it’s link to. If it doesn’t find uniquename do nothing. MY ATTEMPT Answer The cut utility was designed for this type of data:

Failed activation of DJI Matrice 100 Drone

I am trying to run a sample application for the Matrice 100 by using ROS on a raspberry Pi 2.I have the Pi connected to the drone via USB-TTL cable to the UART port on the drone. I have my laptop connected to the drone running DJI Assistant 2, and the controller and my iPhone connected wirelessly to the drone