Create password protected zip file via command line
In this post, we will see how to password protected a zip file using command line so that even if the anyone outside gets access… Read More »Create password protected zip file via command line
In this post, we will see how to password protected a zip file using command line so that even if the anyone outside gets access… Read More »Create password protected zip file via command line
This post is useful to those who want to convert AWS ec2 instance from PV type to HVM type. Linux Amazon Machine Images(AMI) uses two type… Read More »Converting AWS EC2 PV(Para Virtual) instance to HVM instance
This post is useful to those who are maintaining multiple branches on multiple servers and merge production branch or any specific branch to all other branches… Read More »Git pull, Merge, Push master branch or specific branch into multiple branches at once using shell script
For cases where an application fails to close a connection it is no longer using, a low wait_timeout value can help to avoid hitting max_connections… Read More »MySQL wait_timeout and sleep connections.
Below are the links can be followed for more reference: https://techtalkbook.wordpress.com/2014/10/22/php-codesniffer-a-tool-to-help-writing-codes-as-per-coding-standard-guideline/ http://pear.php.net/package/PHP_CodeSniffer/ https://github.com/thomas-ernest/CodeIgniter-for-PHP_CodeSniffer
It’s difficult to know the name of the current active GIT branch in the terminal so let’s see how to do configuration to show active… Read More »Display current Git Branch name in Terminal Prompt in Mac
If enabling “Automatically Start MySQL Server on Startup” does not work then doing below process will fix it. Open terminal/command line interface (CLI) and run… Read More »Auto start MySQL on Mac startup
If variables are used repeatedly in a code block then its better to execute that code block in a function as much as possible to… Read More »Use of local variables vs function variables
What is it: It is a process of making source code available for other developers to review with an intention of catching bugs and design errors,… Read More »Code Review = Quality Code
What is it: Cross-sight scripting is a potential threat to most Web servers and browsers. It is not a product-specific attack. Servers that generates dynamic… Read More »Security issue-2: Cross-site vulnerabilities
What is PHP Code Sniffer: A package for syntax checking. It can check code against defined rules, covering anything from white space through document comments… Read More »PHP CodeSniffer – A tool to help writing codes as per coding standard guideline.
What is PHP APC: Alternative PHP Cache, one of the most popular caching mechanism for PHP’s op-code caching. Once activated, it starts caching PHP codes… Read More »Using APC(Caching Mechanism) with PHP.
Download and Extract the PHP library to the same directory level where the PHP script is to be used for connecting to a remote server… Read More »File upload via SFTP using php
What is PHP Built-in web server: As of PHP 5.4.0, PHP provides a built-in web server. It allows to launch a basic web server for… Read More »PHP Built-in web server
What is it: Invalidated input is the most common and well-known security flaws in web applications and is the root cause of many of the exploits.… Read More »Security issue-1: Invalidated Input Errors
What Is Security Security is a measurement. Not a characteristic, quality or feature: – It is unfortunate that many software projects list security as a… Read More »Security: In General
What is Supervisor It is a Process Control System which allows you to monitor and control a number of processes. What it can do It… Read More »Monitor your Servers and Processes with Supervisor tool
Sometimes user copy pastes complete HTML content having CSS styles and HTML elements inside a HTML editor(CKEditor or TinyMCE etc) but CodeIgniter by default filters… Read More »Style attribute of html editor lost in Codeigniter
While using CKEditor or any HTML editor in Jquery Sortable list, one problem you may face is that on sorting the editors, the content of the… Read More »Using CKEditor in jQuery Sortable
What is Gearman: Gearman provides a distributed application framework for work with multiple machines or processes. It allows applications to complete tasks in parallel so… Read More »PHP Gearman