Questions tagged as 'linux'

2
answers

How do I find out where to install a package via SSH? [closed]

I installed a package as in the example below: $ apt-get install nome-pacote But I can not find in which directory it was installed. Is there a command to find out where the package is? Remembering that if I call the package it works nor...
asked by 17.06.2014 / 15:43
1
answer

Use .NET Framework DLL in .NET Core

Can a .NET C # DLL compiled in .NET 4.6 be imported into a .NET Core program on Linux?     
asked by 17.12.2018 / 19:42
2
answers

How to set Python 3 as default in linux?

When I type the command python , Ubuntu runs Python 2.7. But in the new versions of Ubuntu, Python 3 is also usually installed. When I run python -V , "Python 2.7.12" appears, but I would like to use the python command to ru...
asked by 29.06.2018 / 14:31
1
answer

Compare performance of two PHP script

I worked on a PHP script, later I found it too complex and cumbersome and felt the need to simplify it. I've deleted some unnecessary functions; I have simplified some parts of the code repeated in functions; I chose POO to make the sc...
asked by 17.12.2016 / 16:39
1
answer

What is the correct permission for folders on linux servers in production? [duplicate]

Reading the PHP manual and some tutorials I was in doubt about what permission to leave in the folders after image uploads. Some tutorials speak to leave as 0755, others like 0750, which one to use in this case for application security...
asked by 19.10.2016 / 23:43
2
answers

Create virtualhost on windows (apache on ubuntu)

I'm trying to set up my apache to access a folder that is in my HD with windows , I have 2 hds on the machine, one runs ubuntu and the other windows . The apache is already installed, including I...
asked by 22.04.2015 / 17:49
2
answers

WHM / Apache Server Configuration + jQuery Ajax

Recently I started having the following problem in the domains of my server with WHM: When running an asynchronous AJAX call in the background, I can not continue, that is, I can not access anything in the same domain by the same terminal tha...
asked by 25.08.2017 / 19:55
1
answer

How to measure times in multi-threaded programs in C

I'm doing a multi threaded work in c, and I need to calculate the time of a certain part of the program, does anyone have any idea how I can do this?     
asked by 26.10.2017 / 15:56
1
answer

Sublime Text 3 - Autocomplete of headers in directory

After unsuccessful search for a sublime text 3 plugin, I've come to you for help. I need to recognize the libs installed on the system, so I'm looking for a plugin capable of delivering an autocompletion at the time of #include of the heade...
asked by 13.10.2016 / 21:35
1
answer

Semaphore and Mutex in C

I have the following problem: A lan house with 3 pcs, I will insert an X value in the terminal that will be the number of clients that arrive in the lan house, customers can only use the pcs that are unoccupied, if you are busy go to a waitin...
asked by 29.05.2016 / 00:29