The CMYK Bible, review and UX hacks

A very handy little CMYK colour guide in 36 pages.

About Pantone Solid Coated vs Uncoated colours and on avoiding Pantone Color Bridge Uncoated swatches

Pantone, Solid as a Rock?

Alphabetically sort any text in macOS

Quickly sort any text in macOS. Original info from an old post over at macosxautomation. Maybe a few years old but content still relevant to macOS Mojave (10.14). Only difference is that Services are now “Quick Actions”.

The Johnson Box???

The “Preheader” or “Johnson Box” as it’s sometimes called appears in the list view of many email clients.  It follows on directly after the subject line and needs to work in conjunction with it.  It can also work as a standfirst… Continue Reading →

Rollback a GIT commit

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 →

PHP web forms

Websites are a point of contact – and a contact form that sends an email is the way to normally handle enquiries. (Of course phone numbers/addresses must first be easy to find!) A contact form requires a web server to… Continue Reading →

How to reliably export a press-ready PDF from Illustrator

Some pitfalls to be avoided when exporting PDFs for print from Illustrator. Avoid flattening artwork (ie printing to PostScript or saving as PDF 1.3 or under) – as that causes many transparency effects, including drop-shadows, to be converted into raster… Continue Reading →

Turn a text list into an HTML Select Option list with PHP

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.

InDesign CS2 export script

This very useful JavaScript code was developed by Peter Kahrel as he found my problem interesting. Bless you Peter! The full thread is over on the Adobe’s InDesign Scripting Forum here abouts. Because there’s only a limited life for any… Continue Reading →

Got an “Error establishing a database connection” in Mac OS X 10.6?

At some point in the last month (been on holiday mostly) an Apple system update caused MySQL to stop running – all local development sites using MySQL would give the dreaded “Error establishing a database connection” error message. And phpMyAdmin… Continue Reading →

Finally a Laravel-based CMS to play with. Would there were time. Pyro CMS version 3 https://www.pyrocms.com/

A simple regex rename with Adobe Bridge

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 →

Full alpha transparency for PNG images and CSS backgrounds in IE6.

Update 2009 I’ve now jumped to the other side of the fence. In the name of speed and slowly [oh so slowly] dying share of IE6 I’ve stopped trying to pander to it. There’s a few extra bugs and issues… Continue Reading →

MySQL and phpMyAdmin on Mac 10.5 Leopard

Following on from PHP and SSI set-up on a Mac OS X 10.5, now it’s time for MySQL database work. Everything is plain sailing to start with: get and install both MySQL and phpMyAdmin. Then the first snag – phpMyAdmin… Continue Reading →

Apache with PHP and SSI on Mac OS X 10.5 Leopard in two minutes

[Update – see here. I wouldn’t recommend the Apple PHP distro anymore as it has shortcomings. Roll your MAMP!] See full description for PHP here, for activating SSI here. Add PHP with debugging Activate: goto /private/etc/apache2/httpd.conf and uncomment LoadModule php5_module… Continue Reading →

Which CMS?

Right now trying to develop a web magazine. Also bearing in mind  the need to be able to bash out other smaller websites with minimum hassle. Solution should allow Mac OS X and web based editing. Drupal is proving to be… Continue Reading →

Transmit / CODA FTP glitches

Eureka. D’oh. ho-hum. Delete as appropriate. Updated… My email to transmit-at-panic.com: Hi, I’m sure it may be because I hadn’t RTFM in a while but I’ve just discovered that Transmit carries out Synchronisations based on its cache. I had always… Continue Reading →

Geotagging with Graphic Converter and Flickr

Graphic Converter has jumped to the fore of my photo workflow options. Love the new browser features. Particularly the full screen preview on my PowerBook monitor when I’m at my desk and the fab “Set GPS from Current Google Earth… Continue Reading →

Acrobat batch extract pages

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 →

Arabic text in Adobe Photoshop

…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 →

Quickly search for a file on a (PC) server from a Mac client

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 →

Safari: how to restore all windows from last session using Time Machine

It’s really very simple – everything you need is in ~/Libaray/Safari/LastSession.plist just quit Safari and restore that file from when it was good and you’re done. What’s this about? Well I tend to use open Safari windows/tabs to help keep… Continue Reading →

How to tile a print using Adobe’s Creative Suite (CS5)

Do you need to print an oversized graphic document onto multiple sheets of paper (that your printer can handle) so you can then assemble/[Sello]tape/mount an accurate large format version? This is a very simple task but strangely difficult to find… Continue Reading →

HTML email hacking for Outlook

Outlook is nasty, Outlook is bad. Outlook is a horrorbag. Target your HTML email fixes, cludges and workarounds for the various flavours of Outlook with Microsoft’s own conditional comment tags – as in these examples below… ‘IE’ refers to Outlook… Continue Reading →

Fix overflow:hidden on div with display:table …

…one work-around is to add an extra containing div and set overflow:hidden on that. (Found when using display:table and display:table-cell; to vertically centre content of unknown height.)

Search multiple tags with WordPress

There’s plenty of backend solutions and plugins available – but if you just want to keep it simple; type your known tags into the URL bar with a “+” joining them (don’t forget the “/tag/” part): example.com/tag/cats+dogs/  

Exclude child categories from category listing in WordPress

Add this before the Loop in archive.php: Found on wordpress.org/support

Resizing a VirtualBox Windows hard drive on a Mac

Distilled info from this OSX Daily article: “How to Resize a VirtualBox VDI or VHD File on Mac OS X“.

Installing Adobe Creative Suite (CS5) on macOS Sierra

I am actually still using Adobe Creative Suite 5 (CS5) at home. Recently I’d updated to a more recent iMac and found it impossible to re-instal Design Premium. Was using the official disk image – freshly downloaded from my Adobe account. This… Continue Reading →

Batch setting the correct time and frame number on 35mm scans in Lightroom

Scans of my 35mm film shots always come back from the minilab both numbered in reverse order and with the scan time as the only date. Not in Ordnung. If they all have the same timestamp – then they will order… Continue Reading →

Deleting an element from an array in Dreamweaver with RegEx

You have a multidimensional array where the elements’ keys/values are each on their own line. You want to remove all elements that have the same key.

Deleting of multi-line elements from associative arrays using RegEx find-and-replace in Dreamweaver

(Following-on from a simpler example: deleting PHP array elements that are each on a single line with Dreamweaver and RegEx.) I have series of associative arrays in a php file that reuse a set of keys. In this example I want… Continue Reading →

Keeping HTML line breaks in PHP

Another should-know-this-already snippet of PHP know-how… PHP will not include any line breaks immediately after a closing PHP tag. If you need or want to preserve white space in your rendered HTML code you’ll need to add a space in… Continue Reading →

WordPress: excluding a category from author.php

(‘cos it took me more than a couple of minutes to find a relevant answer)

Fixed-up Nikon Nikkor 20mm f2.8 AF

Great success.

Save Dreamweaver template files as .HTML files for SmartFocus (or anything else)

Just include an extra “.dwt” ‘pre-extension’ in the filename – i.e. filename.dwt.html.

© 2007-2020 qreativbox/Gabriel de Kadt — Powered by WordPress

Qreativbox Hack of BaskervilleUp ↑