Questions tagged as 'linux'

1
answer

Bash program does not display data output

Good afternoon, I'm programming in C and it's the first time I'm programming in Bash (shell-script). I did some bash functions, learned to call and created an interactive menu with the user, my program does "basically" reading a wordlist a...
asked by 26.12.2016 / 17:08
1
answer

In bash, what is the difference between a null string and an empty string?

I would like to know if there is a difference in how bash represents variables with null values var= and with empty strings var="" What precautions should I take when handling variables like these?     
asked by 24.12.2016 / 20:33
1
answer

apt - Apache2 package does not have "apache2.conf"

I recently started using Ubuntu 16.04 I'm following this tutorial to install LAMP. sudo apt-get install apache2 After encountering several errors, I noticed that the package is coming without the apache configuration file , apache2.c...
asked by 22.01.2017 / 23:34
1
answer

Failed to install gem mysql in Linux Manjaro

It's been a while since I started playing with Ruby on Rails on Ubuntu and created some projects. Currently I installed the distro Manjaro and I installed the ruby and rails and I want to run my project created in Ubuntu, however I am facing...
asked by 31.08.2016 / 16:59
1
answer

dialog with problem when using --item-help

I'm having trouble implementing a checkbox with dialog , in Linux Mint. What happens is that the --item-help option is used, the box mounts the checkbox wrong. dialog --title 'Seleção dos Componentes' --checklist 'O...
asked by 02.09.2016 / 20:57
1
answer

Docker and Nodejs

I have an application in NodeJs and I need to configure the architecture of this application, I'm new to Docker and I need to create some containers for this application, the application should have the following configuration: -- Contai...
asked by 25.10.2016 / 20:29
1
answer

Capturing user-pressed keys in Python on Linux

import pyHook import pythoncom def tecla_pressionada(evento): # print("Alguma tecla pressionada") print (chr(evento.Ascii)) hook = pyHook.HookManager() hook.KeyDown = tecla_pressionada #sem () hook.HookKeyboard() pythoncom.PumpMessages(...
asked by 05.08.2016 / 01:14
1
answer

How to create a build script to compile librtmp with openssl?

I'm implementing the ijkplayer project android mediaplayer but I'm having trouble adapting an automated build of librtmp ( rtmpdump ). I have the following example, used to compile OpenSSL in ijkplayer: ijkplayer / android / contrib / t...
asked by 17.06.2016 / 02:38
1
answer

ssh connection between computers

How to make a connection via ssh between a local pc and a server, with method of authenticated by keys.     
asked by 29.04.2016 / 21:58
1
answer

Can I use GZIP compression on files that have been minified by Gulp or Grunt?

Can I use GZIP compression on files that have been minified by Gulp or Grunt? I wonder if there is a possibility that I have problems with that. Or if I would have an even faster loading on the browser side.     
asked by 09.03.2016 / 15:35