Filtering Wordpress Categories Using an Undocumented Hook
Published on : 10.03.2010
Category : PHP Viewed : 9 times.
In this article, we will briefly cover Wordpress hooks and use an undocumented one in order to manipulate category listings.
After some further digging, while it is not listed on the Wordpress filter list, it appears that this “undocumented hook” is mentioned on the get_terms() function reference. So, we’ll call this a somewhat undocumented hook.
Anybody who knows me knows that I love Wordpress, if perhaps not more than any man should love a collection of code. I... |
Building a Simple Monthly Calendar
Published on : 07.03.2010
Category : PHP Viewed : 22 times.
In this tutorial we are going to learn how to build a simple calendar in PHP. You have seen many of those calendar date pickers mostly in Javascript. This PHP based one has a slightly different purpose - instead of populating an input field, it outputs links for the different dates and can be used for example as a monthly archive in a dynamic DB-driven site.
We will build this calendar following good coding practices and keeping the login in one PHP file and the presentation in one... |
Create a KVM-based virtual server in 3 steps
Published on : 02.03.2010
Category : Linux Viewed : 52 times.
The Linux Kernel-based Virtual Machine (KVM) is free, open source virtualization software for Linux based on the Intel VT-X and AMD-V hardware virtualization extensions and a modified version of QEMU (work is underway to get the required changes upstream). KVM—in the form of kvm.ko, a loadable kernel module that provides the core virtualization infrastructure and processor-specific modules kvm-intel.ko... |
Location-aware search with Apache Lucene and Solr
Published on : 01.03.2010
Category : Linux Viewed : 22 times.
Location, location, location! Just as location is king in real estate, search plus location awareness can yield significant dividends in helping users effectively and efficiently find information. For instance, if you are a business-directory provider (such as a "Yellow Pages" site), when a user searches for a plumber, the site should return results for plumbers near the user's home. If you run a tourism site, you might want to allow travelers to search for places of interest near their... |
Using Polylines
Published on : 27.02.2010
Category : AutoCAD Viewed : 30 times.
Polylines Polylines draw lines similar to the line command we used in lesson 2, but are a lot more powerful. Let's start by drawing the same plot of land we drew in lesson 2, but this type using polylines. The polyline command is situated on the 'draw' toolbar.
1) Choose the polyline command
2) For a start point, enter 50,50
3) ... |
Help With Modify Commands
Published on : 27.02.2010
Category : AutoCAD Viewed : 29 times.
Basic Modify Commands Here we'll cover the modify tools, which give us control over simple shapes we have created. As the name suggests - we can modify drawing elements. This is what the modify toolbar looks like (if you don't see it, check the modify box in 'view - toolbars'):
The modify tools (from left to right): Erase, Copy, Mirror,... |
AutoCAD Creating Custom Bitmap Materials Tutorial
Published on : 26.02.2010
Category : AutoCAD Viewed : 25 times.
This tutorial describes how to create custom bitmap based materials in AutoCAD and how to create the bitmap tile from scratch in Photoshop. If you would like to follow this tutorial closely, you can download the Garden drawing used in the examples. See Download Sample Data, below.
In many cases, rendering using object colours or the use of materials from the AutoCAD Material Library is all that's required to produce a semi-realistic render of a scene. However, sometimes you might want ... |
Brushed-Explosion
Published on : 16.02.2010
Category : Photoshop Viewed : 69 times.
Step 1: Introdution
This tutorial is divided into two different parts. The first part, will be a step by step guide on how to create the following brushed explosion: The second part of the tutorial will be a rough guide that will teach you how to create and implement your own 3d text into the explosion and obtain a similar result: The entire result will be obtained using JUST Photoshop with its default brushes and settings.
Step... |
Create a Cute Pig postcard from sketch
Published on : 14.02.2010
Category : Illustrator Viewed : 85 times.
This tutorial aims to guide you from sketchbook to screen; a “Cute Pig” drawn with pencil in just a couple of minutes translated into a vector postcard. You can send it to your girlfriend later, or print it on a cup or a bowl. Intermediate knowledge of Adobe Illustrator is advised.
Step 1: The Sketch
Open your sketch file in Illustrator by either opening it directly or opening a new document and going to File > Place. Give the layer it’s on an appropriate name and... |
How to create a funny insurance agent
Published on : 13.02.2010
Category : Illustrator Viewed : 45 times.
Insurance agents, they are giving people hope, they make you feel safe, they are serious, responsible and funny. In this tutorial I’ll teach you how to draw a funny insurance agent using just basic shapes and pen tool. Intermediate knowledge of Adobe Illustrator is advised.
Step 1: Head
Open Illustrator, create a new document and a new layer. Name it “background”, drag it under the first layer and draw a rectangle with the same sizes as your artboard. Give... |