I have the following code to get the icon associated with a file type, implemented for Windows :
#if defined(Q_OS_WIN)
#include <QFileInfo>
#include <QtWinExtras/QtWin>
QIcon IconFromFile(const QString& fileName)
{
QIcon...
I have mysql installed on ubuntu but when I want to enter the databases with the command:
sudo mysql -u root -p
It does not allow me to enter, the following error appears:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (usi...
I've recently come across functionality that does not seem to be currently implemented in python.
Currently we can obtain the active user's folder in several ways (speaking of linux):
import os
os.environ("HOME")
os.path.expanduser("~/")...
Description:
I need to take a date in dd / mm / yyyy format and increase the day.
For example, having a date 01/01/2017 , the idea is to have the following output:
02/01/2017
Code:
I am trying with date -d "${fecha_ultim...
This is the code I was testing, but for some reason the output I get is nothing.
#include <stdio.h>
#include <stdlib.h>
int main (int argc,char*argv[], char *envp[]){
FILE *fp;
char path[1035];
fp=popen("/bin/echo ${CO...
Good morning, I am trying to compile my android project in Windows since the development of it was in Linux but when trying to run the application I get this message.
I do not know if something similar ever happened to someone.
...
I want to uninstall everything related to java 9 in linux, in order to install Oracle Java 1.8.
When entering java -version I get: " -bash: /usr/bin/java: No existe el archivo o el directorio" .
But when doing javac -version...
Dear, I am working on a project with RPI3 and connected to a 3G Mobile Broadband, which has blocked ports SSH 22, is there any option to create a tunnel via web, to be able to access the SSH of the machine?
Greetings.
After creating my first console application with .Net Core 1.1 in Windows 10 with Visual Studio 2017 I copied to my server Linux - Ubuntu 16.04.3 LTS (already with the .Net Core framework installed).
I have successfully executed the comma...