Following CSS options must be enabled for your element:
element{
border-radius:0;
-webkit-appearance: none;
}
Saturday, November 30, 2019
Saturday, November 23, 2019
Linux: Find and replace text from file
sed -i 's/text-to-replace/text-new/g' destination-file-path
Linux: Find and remove file in one command
Navigate to folder, find the file and remove using the following command. It also asks for confirmation before removing:
cd /destination-folder-path && find -type f -name filename -exec rm -i {} \;
cd /destination-folder-path && find -type f -name filename -exec rm -i {} \;
Thursday, November 7, 2019
PHP - Get last element from array
//array is called here $arrayVariable
$lastElement=end($arrayVariable);
Example:
If $arrayVariable=["apple","pear","peach","cherry"], the function above is to return cherry.
$lastElement=end($arrayVariable);
Example:
If $arrayVariable=["apple","pear","peach","cherry"], the function above is to return cherry.
Subscribe to:
Posts (Atom)