Categories
CMS Mastering Development Wordpress

Loading and Referencing Images

I’m slowly writing a page to manage an asset database; effectively, writing a very basic plugin. I want to import photos and found some excellent examples of how to do this and, made it work! My problem then was to display the images in the page. Although I know the uploaded image filename, there seems […]

Categories
Linux Mastering Development Ubuntu

Ubuntu isn’t detecting my usb mouse

I have tried sudo modprobe -r psmousecommand in the terminal but it didn’t work.It detects my touchpad but not the mouse. The mouse was working fine but something happened and it was disconnected.I tried reconnecting it but it didn’t work.

Categories
Linux Mastering Development Ubuntu

find recursive (with ffprobe) all low quality videos (240p and 480p)

How to find recursive (with ffprobe) all low quality videos (example 240p and 480p)? I prefer a command line solution. Before there was iPhone and clones, I recorded already videos. They seem to have in commen to be 240p and 480p. I now wish to find them and manually delete most. Do you recommend other […]

Categories
Linux Mastering Development Ubuntu

Scrcpy unable to detect my device as device is connected. I have a device having android 8. In laptop wireless card is broadcom

INFO: scrcpy 1.14 https://github.com/Genymobile/scrcpy adb: error: failed to get feature set: no devices/emulators found ERROR: "adb push" returned with value 1

Categories
Linux Mastering Development Ubuntu

how i can create live server of my Django project

I have created a project on Django and I want to publish it on the live server with google hosting and domain. I use Postgres as a backend database how I connect pgAdmin of the Postgres with google cloud hosting server

Categories
Linux Mastering Development Ubuntu

Infinite loop when trying to launch a symbolic-link to a bash script

I am trying to create a symbolic-link by using: $ ln -s path/to/foo.sh ~/.local/bin/foo To the following bashscript: # foo.sh 1 #!/usr/bin/env bash 2 appname=`basename $0 | sed s,\.sh$,,` 3 4 dirname=`dirname $0` 5 tmp="${dirname#?}" 6 7 if [ "${dirname%$tmp}" != "/" ]; then 8 dirname=$PWD/$dirname 9 fi 10 LD_LIBRARY_PATH=$dirname 11 export LD_LIBRARY_PATH 12 $dirname/$appname […]

Categories
Linux Mastering Development Ubuntu

The ubuntu software center disappeared when I changed the GUI

My Ubuntu used to freeze all the time, then I decided to change the Unity/Gnome GUI to the Lubuntu environment. The I typed the following command: sudo apt-get install lubuntu-desktop Then after an upgrade I restarted the pc, but after I chose the Lubuntu desktop environment in the initialization, my Ubuntu Software Center disappeared, why? […]

Categories
Linux Mastering Development Ubuntu

W10 keeps denying access to its files from the Ubuntu side

Any work around this? Everytime I want access to a file on Files to the w10 side I get an error message. Same with Rhythmbox: missing files.

Categories
Linux Mastering Development Ubuntu

apache authentication failing

my apache site configuration is as follow. When i enter https://www.example.br/netdata, login is require (which is correct), when i enter https://www.example.br/awstats or https://www.example.br/cgi-bin/awstats.pl, it enters without requiring login. Could anyone be so kind and help me out finding what is wrong? Thanks in advance! <VirtualHost *:443> ServerName www.example.br ServerAdmin webmaster@eample.br DocumentRoot /var/www/html/public ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog […]

Categories
Linux Mastering Development Ubuntu

Login loop in Ubuntu 16.04 (after installing python3 and ubuntu-desktop)

After I log in in Ubuntu 16.04, it redirects to the above screen and then again back to the login screen. The last commands I ran were sudo apt-get install python3 and sudo apt-get install ubuntu-desktop How can I fix this?