The standard WordPress template tags used for post navigation (next_post, previous_post, next_post_link, and previous_post_link) don't offer this functionality, leaving you with nothing returned if there isn't a post. This plugin changes that.
NOTE!!! This plugin only works (without a hack in your template) on single post pages.
1. Upload post-links-redux.php to the /wp-content/plugins/...
Just a little bit of hack: a linear equations solver using eval and built-in complex numbers:
>>> solve("x - 2*x + 5*x - 46*(235-24) = x + 2")
A hack to quickly replace multiple
characters/strings in a string with
characters from another string.
This is a quick-hack module I wrote up in a couple of hours that allows for a nicer syntax to build up struct-like binary packing and unpacking. The point was to get it to be concise and as C-like as possible. This script requires python3 for it's...
This function executes the analysis of the Acid-Base status of a blood sample given the pH and the pCO2 (in mmHg). The function plots a nomogram with 13, differently coloured, zones. The zone in which your data fall represents the Acid-Base status...
Add-in Express is a tool for creating COM add-ins on Delphi. You develop a single add-in that will run across Excel, Word, PowerPoint, Outlook, Access, FrontPage, MS Project, MapPoint and Visio. Add-in Express hides complexity of implementing all...
I'm a hack programmer -- no formal education. So, I don't know if this is technically a "factory", "abstract factory" or something else.
It is a way to generate a class dynamically, perhaps based on run-time...
There are plenty of ways to declare C-like enums in Python. This one tries to be minimalistic and with a nice syntax, (ab)using decorators.
The code is also available here:
This is my first poem writing in python.
Why i do that?
I do because i saw some perl poems and not so much in python, just it! =)
Python developers let's go express your art, and domain of langague Python...!!!!
Menus in your windows app shows how to implement menus in your Win32 application.
This example shows how to put your apps icon in the system tray and have a menu attached to it.
This is a simple Flight Simulator demonstrates the transforming the view in Direct3D. Use the W, A, S, and D keys to navigate, and press 'esc' to quit .
This program demonstrates procedural texture mapping in 3d by choosing the colors of the surface of a sphere according to a 3-dimensional coloring function.
- Multi-column sorting
- In-line support for setting options done via the class attribute on the TH elements.
Here's a slick way to display table Selects in your PL/SQL via DBMS_OUTPUT without using any INTO variables.
This script copies the text in a box in the left frame into a box in the right frame when a button is clicked. This is a clever way to pass values in frames.
The script will retain an element in the center(horizontal) and/or middle(vertical) of the window while constrained within its parent element.
This is a script that creates a boxing-in effect as the surfer enters the page.