A coloured version (using ProCreate on an iPad, nice) from my Tomorrow’s Pig Today series.
Searching for files on a Windows server from a Mac can be very slow or even fail altogether but with a bit of shell trickery it’s very quick. The script below is 95% instructions – the payload is at the… Continue Reading →
Thanks to this post “Dynamic variable names in PHP” for enlightening me on how easy this is. There’s a lot of stuff out there about PHP variable variables but if you just want to craft a variable’s name based on… Continue Reading →
…or how to create any right-to-left script layer in Photoshop Photoshop is not fully prepared for working with right-to-left (RTL) languages: you can’t properly use Arabic or Hebrew for more than pasting in single non-breaking lines. This is a limitation in… Continue Reading →
Adobe’s Bridge application has a very handy built-in file renaming utility. If you need to add a suffix, a numeric prefix or do a simple string substitution it’s ready and waiting just a keystroke away… But for more complex string… Continue Reading →
Based on an example script provided by Adobe. [ Adobe’s PDF documentation for Batch Sequences ] [ Further documentation and Acrobat SDKs at Adobe ] [ Good Acrobat JavaScript prefs (main required settings are on by default – but you can take the opportunity to enable… Continue Reading →
1. Remove any files already added form the working directory. For example: $ git rm -f *dwsync.xml 2. Set up (or create) your global git ignore file in your home directory: $ printf “dwsync.xmlnThumbs.dbn” >> ~/.gitignore 3. using git config… Continue Reading →
I discovered this handy feature when troubleshooting a login problem for a client of mine. If you swap your WP database between your local development and production server at all regularly — and don’t fancy editing your site URL and… Continue Reading →
Nice article about WordPress in my favourite web design and develpment magazine (issue 217 of .NET). Usual stuff but well written without either speeding or jabbering. There’s a nice overview of Custom Menus, Multisite, Custom Post Formats, Custom Post types and… Continue Reading →
As I’m still an idiot when it comes to media queries and mobile devices and can pass this stuff on to other folks – but needed to give myself and the interested parties a visual representation of how different sized… Continue Reading →
Basic stuff (as often the case not immediately findable). You want a simple script to redirect to a different page if te referrer is such and such. In the following example the two referral page options ( foo.html and bar.html… Continue Reading →
Thanks to my mate Tony I’ve been introduced to this rather delicious (and very small) jQuery plugin that adds support for, among other things the :nth-child pseudo class. If this had been around a year ago ‘d have avoided having… Continue Reading →
Q. Want to get something in your theme to work with data from a particular page or post – but don’t know for sure what that post’s ID is? A. Try this in your functions.php file: …then you can then… Continue Reading →
I’m used to using php variables set in included file being used in another included file if all are included in the same document. This doesn’t work in WordPress theme parts. It’s easy to overcome though… you just need to… Continue Reading →
Q. Got a theme that needs two different excerpt lengths? A. Found here: set the standard, longer excerpt as normal in the functions.php file and the override locally using this code:
GIT is great, Git is good. I mostly use git to track changes (very useful to check on what I’ve been up to when it’s late in the night!) but occasionally I need to use it to roll back to… Continue Reading →
Pat is my friend, an artist, right-proper-mensch and an “incurable optimist”. Incurable because he has Motor Neurone Disease (MND). Life expectancy is now a couple of years (perhaps more if he’s “lucky” as this disease slowly withers and… Continue Reading →
Nice little write-up on pushing your local GIT repo to a live web site: http://toroid.org/ams/git-website-howto
treesaverjs.com/ Incredible, clever, simple looking demo: http://demo.nomadeditions.com/real-eats/index.html
Do what this guy says and add /usr/local/mysql/bin back into your paths file
Easy solution to this basic HTML coding need posted over at Stack Overflow by a random clever bloke. Thanks RCB. My only issue was with UTF-8 characters coming through garbled. Bodged a workaround using this encode entities plug-in for Dreamweaver.
This is one of those stoopid things you trip over every now and then. Ever since I started with the CS5 upgrade Photoshop wouldn’t allow me to use a zoom marquee… instead it does a strange thing called “scrubby zoom“…. Continue Reading →
© 2007-2024 qreativbox / Gabriel de Kadt — Powered by WordPress
Qreativbox Hack of Baskerville — Up ↑