Author Archives: Gyaneshwar Pardhi

About Gyaneshwar Pardhi

Exploring the world and trying to know how can i involve to make this perfect. Gy@n!

How to filter records in postgreys table with bytea field ?

Before telling about solution please avoid storing data in postgrey bytea field if you need a filter on stored data, instead store it in jsonb data type. Yes but we don’t have all time a luxury to change the data … Continue reading

Posted in Database, Postgreys | Leave a comment

Create custom session handler in php using mysql database

Posted in Architecture, Framework, PHP, Programming, Uncategorized | Tagged , , , | Leave a comment

Find second highest number in an integer Array

Posted in Algorithm, Data Structure, java, Programming, Uncategorized | Tagged | Leave a comment

Given a dictionary and a list of letters find all valid words that can be built with the letters

Posted in Algorithm, Data Structure, java, Uncategorized | Tagged , , | Leave a comment

How to write bold and italic text in whatsApp message

WhatsApp world best text messaging app I am fond of the way they maintain the simplicity of app with some of the greater features.  Recently I got some interesting update on Android app. Make text bold in the message : … Continue reading

Posted in Uncategorized | Leave a comment

Install Laravel in Mac OS X and Linux

Laravel has awesome documentation but still I Faced problem while installation.Below are the Just three commands which can help you to run Laravel in your mac book or Linux systems like ubuntu and any other distribution. $ cd ~ $ … Continue reading

Posted in Framework, Laravel, PHP, Uncategorized | Tagged , , | Leave a comment

Implementation of Golang routines

Now the development of software is an easy task but scaling things for millions of users and performing things in the millisecond are the most challenging and interesting task. Parallel processing is the first thing comes in mind when we … Continue reading

Posted in golang, parallel programming, Programming, Uncategorized | Tagged , , | Leave a comment

Solo trip is not a fun. It’s just a time when you explore yourself and world together.

Heard a lot about solo trip so thought to let’s experience it. After resigning from one job, I want to take a break. Time after resignation is the best to do such things no deadlines, no coding, no programming, no … Continue reading

Posted in experience, travel | Tagged , , | Leave a comment

Print all nodes of binary tree at distance k from a given node

OutPut: 18–>4–> A Developer Gy@n!

Posted in Algorithm, c++, interview Question, Programming | Tagged | Leave a comment

Implementation of Finite State Machine

Posted in Data Structure, interview Question, PHP, Programming | Tagged , , | 1 Comment

Multiple Inheritance (Horizontal) in php

A Developer Gy@n!

Posted in PHP, Programming | Tagged | Leave a comment

Implementation of array iterator in php

A Developer Gy@n!

Posted in PHP, Programming | Tagged | Leave a comment

Singleton design pattern in php

A Developer Gy@n!

Posted in design patterns, PHP, Programming | Tagged | Leave a comment

My Phone screen with google awesome :)

Posted in Uncategorized | Leave a comment

Cloning the Javascript object

Javascript keep the same reference for original and cloned objects, so when you change anything in original object it will change in cloned object also and vice versa. So we can’t simply copy one object to another. Below i have … Continue reading

Posted in interview Question, javascript, Programming | Tagged , | Leave a comment

Program to display bottom view of binary tree

A Developer Gy@n!

Posted in Algorithm, c++, Data Structure, interview Question | Tagged , | Leave a comment

google calc

I really really big fan of google innovations and creativity . google google calc and here is your  calculator . really its awesome. Gy@n! A Developer

Posted in tricks | Tagged | Leave a comment

Upload images through REST API

I was writing write apis for android and i-phone app and found some interesting things. How to upload a file in REST API ?? there are two ways to upload file in rest api. 1. Using usual methods content-type multipart/form-data … Continue reading

Posted in PHP, REST | Tagged , , | Leave a comment

Why I chooses Zend apigility over frapi and other REST API framework

I was doing research to build a awesome and well structured REST API for a huge very huge DATABASE base web application. I worked with frapi for REST API and have looked other framework, then I decided to choose Zend … Continue reading

Posted in PHP, REST | Tagged , , | Leave a comment

Determine given binary search tree is avl (Adelson-velskii and Landis) Tree or not

A binary search tree is called AVL tree when for any node x, the height of left subtree of x and height of right subtree of x differ by at most 1. Here function which check whether a given BST … Continue reading

Posted in Algorithm, c++, Data Structure, interview Question, Programming | Tagged , | Leave a comment