Problem: After installing VLC on Ubuntu 24.04 it just didn't open UI.
A solution:
sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -rProblem: After installing VLC on Ubuntu 24.04 it just didn't open UI.
A solution:
sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
fc-cache -r| <Query Kind="Program"> | |
| <Namespace>System.Drawing</Namespace> | |
| <Namespace>System.Runtime.InteropServices</Namespace> | |
| </Query> | |
| // https://stackoverflow.com/questions/12417432/how-to-get-all-monospaced-fonts-in-windows | |
| internal class NativeMethods | |
| { | |
| public const Int32 LF_FACESIZE = 32; |
| // ==UserScript== | |
| // @name Custom Clone Command | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://github.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
| // @grant none | |
| // ==/UserScript== |
When calling gatsby from PHP script which itself interpreted by apache2 web server I'm getting an error: Error: EACCES: permission denied, open '/root/.config/gatsby/config.json' You don't have access to this file..
Shell script that was called from PHP with output ('+' sign followed by shell command):
+ whoami
myuser
+ node_modules/.bin/gatsby clean
Error: EACCES: permission denied, open '/root/.config/gatsby/config.json'
Headless CMS:
Frontend:
Серия статей от основателя Python - Guido van Rossum по теме [PEG - Parsing Expression Grammars][guido-toc]. В серии есть [статья об устранении левой рекурсии][guido-left]. Примечательно, что Guido решил делать новый парсер на основе PEG (март 2020).