MAM stands for Media Asset Management. It is a specialized system used in the tech and media industries to manage, organize, and distribute digital media files, such as videos, audio files, digital photos, and other multimedia content. MAM systems provide a central repository for storing media assets, making it easier for organizations to access, share, Read the Rest…
PHP Depend for Cyclomatic Complexity Analysis
by cwillett • November 19, 2016
After a co-worker mentioned the need for code complexity analysis for our PHP codebase, I found this tool called PHP Depend. Depending on the size of our codebase, this tool can take quite a while to run, but when consider all the work it’s doing, it’s worth the wait. It can leverage ImageMagick to produce Read the Rest…
PermCheck results on Codility
by cwillett • September 8, 2014
For anyone interested in Codility test results… https://codility.com/demo/results/demoBWJR77-MCG/
Find and Replace in directory and subdirectories using sed on Mac
by cwillett • April 1, 2014
Here is a good example of something I had to find and replace through out many html templates that use TinyButStrong. find ./ -type f -name ‘*.html’ -exec sed -i ” ‘s/<h1 id=”admin-header”>\[var\.\.cst\.SITENAME\] – .*<\/h1>/<!– [onload;file=’\”[var..cst.TEMPLATEPATH]\/admin\/fragments\/admin_heading.html’\”; ↓ getbody=head;comm] –>/g’ {} \; Notice that I pass an empty string to the -i tag, because I do not Read the Rest…
Does your Virtualbox need a GUI/Desktop?
by cwillett • January 16, 2014
If you running Ubuntu, this may be a bit hard to find. I have Vbox installed on my Mac and I was running ubuntu 12.04 (64-bit). I found this post to be really useful…. http://askubuntu.com/questions/300799/does-ubuntu-12-04-lts-32-bit-have-graphic-user-interface
An excellent javascript hack for IE 11
by cwillett • January 16, 2014
The company I work for is using jquery uniform on two of their sites, which mind you has not been updated for almost a year. Removing it is not a quick viable option as we would lose the current formatting of all form elements across the site and I would have to fix them all. Read the Rest…
Creating 3d animation with CSS3
by cwillett • December 1, 2012
This is an example of CSS3 animation and 3d effects (only Chrome and Safari support these properites). Using the perspective, transform and transition properties, I show you how I created a 3d animation effect. Just click the link below to see the demo and view source to see the code. Please remember these CCS3 properties Read the Rest…
Troubleshooting Performance in a LAMP environment: a checklist
by cwillett • November 26, 2012
A list of things I do to troubleshoot slow performance or errors on a site (not necessarily in this order) Look at the PHP and MySQL error logs and fix any code/queries accordingly Look at the access log and slow query log to see if any pages are getting hammered or if any queries are Read the Rest…
Using flexible layouts and rounded corners with CSS3
by cwillett • November 26, 2012
I decided to add some tabs to my top navigation using CSS3. The tabs are dynamically resized depending on the length of the text in the links. This is easy to do. If you’re using an unordered list all you need is this: nav ul { …other properties… display: box; display: -moz-box; } li#nav nav Read the Rest…
Hello Again…
by cwillett • November 25, 2012
I’ve been busy for a while and welll…I let my domain expire. So, I purchased a different one and moved it from devanswers.org to smartdevtools.com. I’ll be posting some updates and code samples starting tomorrow. Today, I just updated my background with a CSS3 linear-gradient because I think it’s a cool feature.