-
Linux kernel version must be greater than 4.19
to check kernel version, run
uname -r
. sample output:5.4.0-132-generic
-
Have the
CONFIG_TCP_CONG_BBR
andCONFIG_NET_SCH_FQ
options compiled and added to the kernel.
By default, we assume that you have an HTTP proxy that is running on your system on port 8080.
- Setup proxy for
Update.exe
: Discord icon on your desktop or start menu does not directly start the main Discord app. Instead, it runs theUpdate.exe
program to perform the upgrade detection. If there is an update,Discord.exe
will be started after downloading the update, so we must first setup proxy forUpdate.exe
. CreateUpdate.exe.config
besideUpdate.exe
in Discord installation location with following content:
-
First you need
docker
,brew
,XQuartz
andsocat
on your host. -
Now run this in new terminal :
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"
// Insert some data | |
db.product_categories.insertMany([ | |
{ | |
_id: 1, | |
name: 'Products', | |
parent_id: null | |
}, | |
{ | |
_id: 2, | |
name: 'Digital & Electronics', |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- Add generic family. --> | |
<match target="pattern"> | |
<test qual="any" name="family"><string>emoji</string></test> | |
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit> | |
</match> |
var toBase64=function (file , callBack) { | |
file=file.files[0]; | |
var reader = new FileReader(); | |
reader.readAsDataURL(file); | |
reader.onload = function () { | |
callBack(file,reader.result); | |
}; | |
reader.onerror = function (error) { | |
console.log('Error: ', error); | |
}; |
#!/bin/zsh | |
#################################################### | |
## Notice : use for development environment only. ## | |
#################################################### | |
#Update all images | |
docker images --format "{{.Repository}}:{{.Tag}}" | grep -v "<none>" | xargs -L1 docker pull |
For unknown reasons google droid sans font takes higher precedence in fontconfig instead of default dejavu sans which has better font face for persian and it's default sans-serif font in fedora.
This happens mostly in kde desktop because of using noto fonts as a default option in desktop environment which has no support for persian glyphs then droid font used as fallback font.
You cannot delete droid fonts because of many packages are depend on it.
To fix this we are going to black list droid arabic kufi to force using dejavu sans.