This is a way to change notify and audio icon size for XFCE panel:
Create or edit ~/.config/gtk-3.0/gtk.css
, and add these two selectors:
#pulseaudio-button * {
-gtk-icon-transform: scale(.55);
}
#xfce4-notification-plugin * {
<iframe | |
id="068a380a-add0-4954-b0fb-b25884efab81" | |
class="c-hero-media__video js-hero-player" | |
data-youtube-api="https://www.youtube.com/iframe_api" | |
data-youtube-id="-q7UBPU0MYI" | |
frameborder="0" | |
allowfullscreen="1" | |
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" | |
title="YouTube video player" | |
width="100%" |
Touchpad | |
Turn on touchpad: xinput set-prop 15 "Device Enabled" 1 | |
Turn off touchpad: xinput set-prop 15 "Device Enabled" 0 | |
Mount flashdisc | |
umask=0,nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Kingston,noauto | |
Setup Linux Mint Screensaver | |
Disable Screensaver |
Installing: | |
open a terminal and type: | |
sudo add-apt-repository ppa:otto-kesselgulasch/gimp | |
sudo apt-get update | |
sudo apt-get install gimp | |
Removing: | |
open a terminal and type: | |
sudo apt-get install ppa-purge | |
sudo ppa-purge ppa:otto-kesselgulasch/gimp |
This is a way to change notify and audio icon size for XFCE panel:
Create or edit ~/.config/gtk-3.0/gtk.css
, and add these two selectors:
#pulseaudio-button * {
-gtk-icon-transform: scale(.55);
}
#xfce4-notification-plugin * {
This is a way to install and set up Nginx, MariaDB and PHP-FPM on Ubuntu 20.04.
NOTE: This has been prepared for ease of use in mind, not security, mostly in development machine. Please do not use these instructions to setup on a public server environment. Use other proper manuals instead.
$ sudo apt update
List of table's names only
SELECT `COLUMN_NAME`
FROM `INFORMATION_SCHEMA`.`COLUMNS`
WHERE `TABLE_SCHEMA`='db name'
AND `TABLE_NAME`='table name';
Select all rows with the same value
SELECT e1.*
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The Center </title> | |
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet"> | |
<style> | |
html, body { | |
height: 100%; | |
} |
<?php | |
$array = [1,2,3,4,5,6,7]; | |
$count_array = count($array); | |
$placeholders = implode(',', array_fill(0, $count_array, '?')); | |
$query = $DB->Prepare(' | |
SELECT id, name | |
FROM table_name | |
WHERE id IN (' . $placeholders . ') | |
'); |
$ sudo dpkg --add-architecture i386 | |
$ sudo apt update | |
$ wget -qO- https://dl.winehq.org/wine-builds/Release.key | sudo apt-key add - | |
$ sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ bionic main' | |
$ sudo apt update |
Get how many rows in whole database | |
SELECT SUM(TABLE_ROWS) | |
FROM INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_SCHEMA = 'db_name'; | |