Adding Background Color to PNG using Python
While converting from PNG to JPG, a black/white background will be added to fill in the transparent layer of PNG. This python code enable user to customise this background color while converting PNG images to JPG
Gulp4.0+SASS4.0+BrowserSync2.26
References
* Gulp
* SASS
* BrowserSync
Code
* compile SASS when css changes
* reload when scss files or php files changes
'use
Google Certified Mobile Web Specialist Study Notes
Reference
Basic Website Layout and Styling
Mobile Emulation
Viewport
<meta name="viewport" content="width=device-width, initial-scale=
WSL Access .ssh in Windows
SSH
Using the same .ssh folder in Windows
Issue: File Permission requirement in SSH for Config file and private key
Assessing Grey Level of an Image with PHP
<?php
/**
* Get gray level of some position of an image
*/
function get_gray_rgb($image, $x, $y) {
$rgb = imagecolorat(
English Spelling
Reference
i before e
1. i before e (believe)
2. except c (receive)
3. except when sounded like a
4.
NextCloud Hosting in AlibabaCloud(ECS+OSS+RDS+Redis)
Official Guideline
* Ubuntu 16.04
* NextCloud 13
Server Application
sudo apt update
sudo apt upgrade
sudo apt install apache2 php
IELTS Writing - Band 9
Education
Sample 1
Using a computer every day can have more negative than positive effects on children. Do you agree
Latest Ubuntu(/LAMP) in VirtualBox
How to install Ubuntu 18.04 in Virtualbox together with LAMP stack and shared folder for exchanging file with the host