$ convert your.jpg -transparent white your.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install and download the latest Version of IMSCP | |
LATEST_VERSION=$(curl -s https://github.com/i-MSCP/imscp/releases/latest|grep -Po '(?<=/tag/)[0-9.]+') | |
INSTALLED_VERSION=$(cat /etc/imscp/imscp.conf|grep -Po '(?<=Version = )[0-9.]+') | |
TARGET=/usr/local/src/ | |
echo "installed imscp-version: $INSTALLED_VERSION" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$randomValue = mt_rand(); | |
$even = $randomValue & ~1; | |
$odd = $randomValue | 1; | |
// magical unicorn isn't it? |