First in a powershell create a new network switch
New-VMSwitch -SwitchName "SwitchName" -SwitchType Internal
Get-NetAdapter // (note down ifIndex of the newly created switch as INDEX)
New-NetIPAddress -IPAddress 192.168.0.1 -PrefixLength 24 -InterfaceIndex <INDEX>
New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.168.0.0/24
In your ubuntu server open your network netplan
There is a bug in Safari when using border-radius
and overflow: hidden
. Especially when applying transform
to a child.
In this case, overflow: hidden
does not always work. The child ignores the border radius and overflows.
It's a very old bug. And sadly it seems that it will never be fixed. Anyway, we can't wait for it.
There are some workaround. We need to place the element with the overflow attribute into a stacking context.
I've tested the following workarounds on the latest version of iOS (14.4).
You can choose what you want. But you should search the web for the particular attribute. (e.g. will-change
should be rarely used. See docs)
Use this on the element with overflow: hidden
and border-radius
:
cd modules/php/PHP-7.0-x64/
Проверка в \OSPanel\userdata\config\PHP-7.0-x64_php.ini "extension=php_openssl.dll"
php -r "readfile('https://getcomposer.org/installer');" | php
php composer.phar -V
// Adding current user to www-data | |
sudo adduser $USER www-data | |
//change ownership to user:www-data and | |
sudo chown $USER:www-data -R /var/www/html | |
sudo chmod u=rwX,g=srX,o=rX -R /var/www/html | |
// change file permissions of existing files and folders to 755/644 | |
sudo find /var/www/html -type d -exec chmod g=rwxs "{}" \; |
{ | |
"keys": ["tab"], | |
"command": "expand_abbreviation_by_tab", | |
// put comma-separated syntax selectors for which | |
// you want to expandEmmet abbreviations into "operand" key | |
// instead of SCOPE_SELECTOR. | |
// Examples: source.js, text.html - source | |
"context": [ | |
{ |
$name = $mysqli->query("SELECT name FROM contacts WHERE id = 5")->fetch_object()->name; |
<?php | |
/** | |
* | |
* Remove default taxonomies | |
* | |
* @link http://w4dev.com/wp/remove-taxonomy/ | |
* | |
*/ | |
add_action( 'init', 'unregister_taxonomy'); |
- Avoid too many reflows (the browser to recalculate everything)
- Use advanced CSS3 for graphic card rendering
- Precalculate sizes and positions
The reflow appens as many times as there are frames per seconds. It recalculate all positions that change in order to diplay them. Basically, when you scroll you execute a function where you move things between two reflows. But there are functions that triggers reflows such as jQuery offset, scroll... So there are two things to take care about when you dynamically change objects in javascript to avoid too many reflows: