Best PHP IDE’s Windows/Linux and Mac OS


Sublime Text 3

The lightweight and very popular text editor supports a lot of programming languages. You can use a free version or buy a license for 80$. I think it’s a must to have editor and successfully replacing Notapad++. Responsiveness and speed is a very big advantage when you have limited ram/cpu. If out of box functionality is not for enough you can search and install packages

Visual Code
Created by Microsoft, Open Source free IDE, VS Code supports many programming languages and is lightweight enough to work on slow computers. It’s one of the best editors for JavaScript/Typescript but you will need to install extension to make it work well with PHP.

Netbeans
Created by Apache Software Foundation it’s free and open-sourced. Great out of box PHP support, greate autocomplete function, for professional PHP programmer it should be great IDE but uses a lot of resources, it can be slow and not very responsive on a slow computer.

PHPStorm
Costs 199$ the first year and also have free trails for 30 days. Considered as BEST PHP ide! It’s heavier then VS Code & sublime but it’s much more powerful than any other in this list. No matter on which PHP project you work, it feels like Phpstorm just understands your project and helping you to do things much faster. The only downside is price but if you can afford it, it’s best.

Fix RequestsDependencyWarning: urllib3 (x) or chardet (x)


Error

/usr/lib/python2.7/site-packages/requests/init.py:91: RequestsDependencyWarning: urllib3 (1.25.3) or chardet (2.2.1) doesn’t match a supported version!

Fix

InfluxDB PHP


Install Influxdb, and start it. After start we should create user

After we should edit influx config file on CentOS /etc/influxdb/influxdb.conf

Find and replace volumes in http section


restart influx db

Now in php to insert data

To read data from database

make sure you have changed database,username,password

ESXI 6.7 update: No space left on device


First of all we should set swap datastore

After running

esxcli software profile update -p ESXi-6.7.0-20190802001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml


[InstallationError]
[Errno 28] No space left on device
vibs = VMware_locker_tools-light_10.3.10.12406962-14141615
Please refer to the log file for more details.

What you can do is install problematic vib

esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_10.3.10.12406962-14
141615.vib

We are getting

Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: VMware_locker_tools-light_10.3.10.12406962-14141615
VIBs Removed: VMware_locker_tools-light_10.3.2.9925305-10176879
VIBs Skipped:

Then again we can run update and wait

esxcli software profile update -p ESXi-6.7.0-20190802001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml


Update Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true

Now reboot server and everything should be fine.

Install Steghide CentOS 6


Steganography

Steghide is steganography tool to hide data in various kinds of image- and audio-files.

first of all lets download RMP for centos

after Download we can install it

if no error will be displayed then its ready but if error for example somthing like this

Need to install all dependencies

you will get

now you can use it for example

  • in.jpg is file where we want to add hidden data
  • out.jpg is ready file after add is complated
  • password is pass to encrypt data

PNG/JPG Images Optimization Recursively


Optimization of PNG and JEPG images, using two different utilities first one is jpegoptim which is used to optimize JEPG images to use it recursively and optimize all of images in directory and sub directory you can use this command:

This will strip all data and make images progressive.

PNG images can be optimized with Optipng

 

Install Skype on Arch linux


skype43linux

Skype is in multilib repo which by default is not enabled, so we should edit arch repo file

uncomment following lines

and now run installation with pacman

 

Recover Broken Mysql Innodb Database


recover mysql innodb

This tutorial can be used to recover data from broken mysql, for example if you get error

or any other

Read More »

Top Hex Editors Linux


For manipulation of binary data there are tons of tools on Linux but I will try to list some of great looking GUI tools

Bless Hex Editor

Bless Hex

Written in mono/gtk it can be used in any platform where mono and gtk can work, this is feature which is listed on main website

Efficiently working with large files with fast data rendering on screen.
Supports multilevel redo/undo operations.
You can customizable data views use multiple tabs use find and replace operations.
Export of data to plain text and html or you can use plugins for different formats.

wxHex Editor

wxhexeditorRead More »

Install NGINX Mod PageSpeed


install nginx mod page speed

Installing mod_pagespeed on apache is simpler then on nginx, here we should build nginx from sure with mod page speed, I will write down how to do this on ubuntu but this may work on any other distroRead More »