Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to use where clause and inner join in Cakephp 3 ?

How to use where clause and inner joins? This is the way to use where clause and inner joins in Cakephp 3 Use matching if its cakephp 3.0.x. Use innerJoinWith() if its cakephp 3.1.x For example: return $this->Product->find() -

Pre vs. Code

<code> use for inline code it can wrap and <pre> for block code that must not wrap so, new lines and spaces get rendered as new lines.. It is little mystified by the <pre> and <code> tags. If you’re not sure which to use and

Github: How to install and setup Github on Ubuntu 14.04

Install Github First update the apt-get package lists with this command apt-get update then install git. $ sudo apt-get update $ sudo apt-get install git Now git has been installed on Ubuntu, lets setup git. How to set up Git Now we need to do

How to create file using cat in Ubuntu?

Hello friends, I am writing this blog which will let you know how to create a file using cat command. Using cat to create a file cat is useful for creating a file. Enter the command cat, followed by the > (the right chevron) character and the fi

Cronjob: How to set up cron in Ubuntu ?

How to add Cron Jobs in Ubuntu? I was facing issue for adding cron jobs in dedicated hosting (in Ubuntu). In order to add cron jobs in Ubuntu go to the terminal and type: $ sudo crontab -e this will open your personal crontab (cron configuration

How to return filename without extension in Joomla?

Hello Friends, Today we will discuss how to get a filename without extension in Joomla. In Joomla, stripExt() function is used for this purpose. It will return the name of the file without extension. Syntax: $name = JFile::stripExt($filename); I

How to set up Cron Job on Amazon EC2 Cloud Servers

I am writing this blog because I faced issue for adding cron jobs in Amazon Ec2 cloud server. I was using Linux 64bit . To add cron jobs open command prompt (via putty if windows) and login via ssh, when you are login then type: which php this wi

How to save modification of a file in original file not a new one?

Dear all, I have a code to modify a file. This code make changes on my file and save it to a new file. But, I want to have changes(modifications) on my original file not a new one. I made attempts to change the code but it didn't work. How can I

How do you know whether to make a class, a subclass, an abstract class, or an interface?

I usually write code as I go along, but I noticed this takes more time in the long run especially when I lose track of what codes does what where, but I wanted to start planning my code by making UML class diagrams and mockups. However, like the tit

How to compile and run C program in Ubuntu?

Hello friends, Today we will learn how to compile and run a C program in Ubuntu using the following steps: Step 1. Open your terminal. Step 2. Now type the following command: gedit cprg.c The above command open a text editor in which you will wr

1 3 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: