Techbirds | Knowledge Hub | Page 41

In this tutorial, we will explain how to create a metallic text effect using layer styles in Photoshop. Let’s get started!   Step 1 First will download black pattern.   Step 2 Create a new document. Set width to 600px and height to 450. Resolution must be 72 DPI.     Step 3 Duplicate the

Read More →

683 total views, no views today

Posted on: February 28, 2014 /

Categories: PHP / Author Name: Shivek Parmar

Read the cake php documentation carefully and follow each and every steps at https://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/Installation.html If somehow cake is not including css/js files from webroot folder then check for the following solutions. But make sure to change the all the three .htaccess files according to the instructions in  https://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/Installation.html Un-comment the following line  from Apache httpd.conf file

#LoadModule rewrite_module modules/mod_rewrite.so

#LoadModule rewrite_module modules/mod_rewrite.so

Read More →

998 total views, no views today

Posted on: February 26, 2014 /

Categories: Tutorials / Author Name: Arjun VM

This tutorial will explain how to use layer effects and filters to create a vintage looking metal text effect. Then, the layer style will be applied to a simple brush to create the stroke.   Step 1 Create a new 1024 x 768 px document. Set the Foreground color to #275255 and the Background color

Read More →

586 total views, no views today

Posted on: February 26, 2014 /

Categories: PHP / Author Name: Shivek Parmar

Some times there is need to display the the query executed in the wordpress. therefore the following 2 lines code would help you to display the Last query executed:

$customPosts = new WP_Query($current_term); echo “Last SQL-Query: {$customPosts->request}”;

$customPosts = new WP_Query($current_term);

echo “Last SQL-Query: {$customPosts->request}”;

In the above code

$current_term

would contain the wordpress query object. Pass your variable of wordpress whose query you want to display. 743 total views, no

Read More →

743 total views, no views today

In order to get the current date,time,we can use 2 methods-either using the localtime of the desktop or using GMT(GREENWICH MEAN TIME) //USING THE LOCAL TIME time_t time; struct tm * timeinfo; time (&time); timeinfo = localtime (&time); CCLog(“year->%d”,timeinfo->tm_year+1900); CCLog(“month->%d”,timeinfo->tm_mon+1); CCLog(“date->%d”,timeinfo->tm_mday); CCLog(“hour->%d”,timeinfo->tm_hour); CCLog(“minutes->%d”,timeinfo->tm_min); CCLog(“seconds->%d”,timeinfo->tm_sec); //USIMG GMT Replace the above line timeinfo = localtime (&time);withtimeinfo =gmtime

Read More →

4,004 total views, no views today