InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Contain and selected fields of model with User _attachAttributes

Arvind KumarCakePHPLeave a Comment on Contain and selected fields of model with User _attachAttributes

I am in a Task model. I build following options to load the Task and associated User model data.

CakePHP deleteButton when SoftDelete Behavior in Effect

Arvind KumarCakePHPLeave a Comment on CakePHP deleteButton when SoftDelete Behavior in Effect

Here is a piece of code placed as a helper function. Useful to create a delete button/link while having SoftDeleteBehavior enabled for a Model. For example, placed in data management page (view page such as admin_index.ctp or index.ctp) of your…

Read More→

Bootstrap 3 List group horizontal

Arvind KumarHTML and CSSLeave a Comment on Bootstrap 3 List group horizontal

This page http://goo.gl/262QmJ has a css to make a list-group floating horizontally and sticking together like it does for list-group to render vertically by default. In order to float list-group-items float horizontally one may add a “list-inline” style to UL…

Read More→

Fully-formatted Time Difference between two Dates

Arvind KumarPHPLeave a Comment on Fully-formatted Time Difference between two Dates
A simple way to debug a php application in production mode

An useful php function to calculate a time difference between two dates given in sql format. If the newer date is not passed as second argument it would calculate the different between the old date and current time. So it…

Read More→

Form Helper: custom decimal field format in number field

Arvind KumarCakePHPLeave a Comment on Form Helper: custom decimal field format in number field

I have a database table field defined as decimal(10,5). I want to use it for various purposes so I don’t want to change the datatype. In most of the forms however I want to keep this field showing none or very…

Read More→

ACL: Checking Permissions in Views, Fixed

Arvind KumarCakePHPLeave a Comment on ACL: Checking Permissions in Views, Fixed

Following the post (http://goo.gl/PLeNJR) for ACL: Checking Permissions in Views like some others I faced a “undefined index User…” and some other PHP warnings when trying to implement this example. After doing some testing following the working code I came…

Read More→

Create php array from select options

Arvind KumarPHPLeave a Comment on Create php array from select options
A simple way to debug a php application in production mode

There are many ways to create a dropdown select options list from a given array in any programming language like PHP. Please check how to create a select list from a PHP array. However in this case I will make…

Read More→

Remember Password, Git bash under Windows

Arvind KumargitLeave a Comment on Remember Password, Git bash under Windows

Following an answer (http://goo.gl/EcqpTZ) here’s what I did to setup the Git Bash environment to log me in once when I start it up. This method worked for me to make “remember me” working or to save my password for…

Read More→

Containable with mixed arguments, the CakePHP Beauty!

Arvind KumarCakePHPLeave a Comment on Containable with mixed arguments, the CakePHP Beauty!

Here’s an example of CakePHP Containable behaviour. Although, it was not a very complex find call but the beauty of the containable is this that you can fetch records using “tricky ways” which normally may not be possible with straight…

Read More→

How to uninstall a program from command line

Arvind KumarWindowsLeave a Comment on How to uninstall a program from command line

My Windows 7 operating system asked me to update my skype installation. I did follow update instructions but the upgrade failed. It however was a usual message in which Skype installer had detected an old installation of Skype. Hence it…

Read More→

Posts navigation

Previous 1 … 27 28 29 … 53 Next
  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • Deploying Next.js Application with Nginx on Ubuntu – 2025
  • PHP Magic Methods
  • PHP and JSON: Encode, Decode, and Handle JSON Data
  • How to Create a Simple Form and Handle Form Data in PHP
  • How to Connect PHP with MySQL Database

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram