How to protect PHP source Code?

When to keep your PHP code logic secret? Whenever you need to pass a script to a client, but you are afraid that it will get copied and reused elsewhere without your permission. How to protect your PHP code? You could implement code “blockers”. Provide a...

VPS DirectAdmin running out of space

Login to your VPS with SSH Find all files larger them 500 MB find / -type f -size +500M -exec ls -lh {} \; List root dir sizes. Or any current folder (run without /) du -h –max-depth=1 / Remove specific files: sudo rm -R...

Auto tagging in Google Ads

G to your account tab, from there click on to Account Settings and find campaign URL settings: function main() { var adGroupIterator = AdsApp.adGroups().withCondition(“CampaignStatus = ENABLED”).get(); while (adGroupIterator.hasNext()) { var adGroup =...

Storing password in git?

To store passwords in GIT you need to be able to encrypt and decrypt the password. You can do that using GPG tool. Both tools are available for a variety of platforms. See the instruction below on how to install the tooling and at the very end how to use them to store...