Code – Plasticmind https://plasticmind.com Passionated about helping people with technology. Sun, 04 Jan 2026 21:24:02 +0000 en-US hourly 1 Linux Disk Space Paradox https://plasticmind.com/code/linux-disk-space-paradox/ Wed, 31 Jul 2013 13:59:35 +0000 http://plasticmind.com/?p=4815 Our server crashed the other day because the disk was full. I quickly discovered a rogue bandwidth log file not getting cleaned up was to blame, so I deleted it. Strangely, running df after deleting the file showed that 100% of the disk was still in use even though I had gotten rid of the…

Read the full post...

]]>
Our server crashed the other day because the disk was full. I quickly discovered a rogue bandwidth log file not getting cleaned up was to blame, so I deleted it. Strangely, running df after deleting the file showed that 100% of the disk was still in use even though I had gotten rid of the…

Read the full post...

]]>
A Better Behaved Infinite Scroll https://plasticmind.com/code/infinite-scrolling-behavior/ Wed, 12 Jun 2013 13:11:58 +0000 http://plasticmind.com/?p=4810 After several days of trying to integrate the Infinite Scroll plugin into the Simply Recipes mobile site, I finally came up with a solution that works well.

Read the full post...

]]>
After several days of trying to integrate the Infinite Scroll plugin into the Simply Recipes mobile site, I finally came up with a solution that works well.

Read the full post...

]]>
So You Want To Learn To Code? https://plasticmind.com/code/so-you-want-to-learn-to-code/ Wed, 27 Feb 2013 12:30:26 +0000 http://plasticmind.com/?p=4803 The best place to start is by realizing that coding is fundamentally about solving problems. It's not about variables or subroutines or even the code itself. Those are just the means to an end. Coding is about identifying problems and finding the best way solve those problems.

Read the full post...

]]>
The best place to start is by realizing that coding is fundamentally about solving problems. It's not about variables or subroutines or even the code itself. Those are just the means to an end. Coding is about identifying problems and finding the best way solve those problems.

Read the full post...

]]>
WordPress Publish Confirmation https://plasticmind.com/code/wordpress-publish-confirmation/ Wed, 19 Dec 2012 15:50:37 +0000 http://plasticmind.com/?p=4801 I don’t typically like confirmation dialog boxes. In nearly all cases, an undo button is the better choice than a confirmation dialog. However, because of our existing WordPress set up, publishing an entry sets off a whole chain of events involving RSS feed readers, caches and a CDN that make it difficult to undo. So…

Read the full post...

]]>

I don’t typically like confirmation dialog boxes. In nearly all cases, an undo button is the better choice than a confirmation dialog. However, because of our existing WordPress set up, publishing an entry sets off a whole chain of events involving RSS feed readers, caches and a CDN that make it difficult to undo. So…

Read the full post...

]]>
CloudApp Screenshots… Uncluttered https://plasticmind.com/code/cloudapp-screenshots-clutter/ Wed, 24 Oct 2012 10:55:34 +0000 http://plasticmind.com/?p=4795 I like CloudApp. I use it every day for sharing information with other people. I especially like how it can autoupload screenshots I take on my Mac. Trouble is, it makes a real mess of my desktop.

Read the full post...

]]>
I like CloudApp. I use it every day for sharing information with other people. I especially like how it can autoupload screenshots I take on my Mac. Trouble is, it makes a real mess of my desktop.

Read the full post...

]]>
My 10 Most Useful Shell Commands https://plasticmind.com/code/10-most-useful-shell-commands/ Wed, 22 Aug 2012 07:09:08 +0000 http://plasticmind.com/?p=4790 I use most of these commands on a regular basis, so I thought I'd pass them along in the hope that others find them useful.

Read the full post...

]]>

I use most of these commands on a regular basis, so I thought I'd pass them along in the hope that others find them useful.

Read the full post...

]]>
Cheap Site Backups Using Amazon S3 https://plasticmind.com/code/cheap-site-backups-amazon-s3/ Thu, 29 Mar 2012 09:31:18 +0000 http://plasticmind.com/?p=4786 I created a PHP script that archives a specific folder and database then uploads the archives to an Amazon S3 bucket for safe keeping. Here's how it works, hopefully it can help you get your backups in order.

Read the full post...

]]>
I created a PHP script that archives a specific folder and database then uploads the archives to an Amazon S3 bucket for safe keeping. Here's how it works, hopefully it can help you get your backups in order.

Read the full post...

]]>
Easy Audio Output Toggle Using AppleScript, Growl and Quicksilver https://plasticmind.com/code/audio-output-toggle-applescript/ Tue, 30 Dec 2008 20:59:44 +0000 http://plasticmind.com/?p=4639 Necessity is the mother of invention, and with Ethan crying frequently, I needed a quick and easy way to switch between my headphones and desktop speakers. So I put together this simple AppleScript that toggles between two audio output sources and assigned it to a Quicksilver hotkey. Here it is in a nutshell. (If you’ve…

Read the full post...

]]>
Necessity is the mother of invention, and with Ethan crying frequently, I needed a quick and easy way to switch between my headphones and desktop speakers. So I put together this simple AppleScript that toggles between two audio output sources and assigned it to a Quicksilver hotkey. Here it is in a nutshell. (If you’ve…

Read the full post...

]]>