Tips and Tricks

JS Blink Tag

No Comments

Author: samdiaz, Posted On: March 11th, 2016, In: Tips and Tricks

http://www.pcworld.com/article/2046054/the-blink-tag-is-finally-dead-killed-off-by-firefox-23.html

http://www.silverphp.com/simple-jquery-blink-script-alternative-to-html-blink-tag.html

jQuery Scroll Path

Author: samdiaz, Posted On: March 11th, 2016, In: Tips and Tricks

Just found this pretty nifty plugin called jQuery Scroll Path written by @JoelBesada. It provides a fun way to rotate the whole page and scroll following a path instead of simple up/down. Check out his blog for a couple other cool projects.

Now I need to figure out a project I can use it on!

Limit number of checkboxes selected with jQuery

No Comments

Author: samdiaz, Posted On: April 2nd, 2013, In: Tips and Tricks

Working on a new project for my job, I came across a need for limiting the number of selected checkboxes in a form. After searching online for a bit, I found this script which worked perfectly!

Continue Reading

Clear analytic data from Piwik

Author: samdiaz, Posted On: January 25th, 2013, In: Tips and Tricks

Recently I started using Piwik at my new job. According to their website, it’s “a free web analytics tool that provides you with detailed reports on your website’s visitors, your marketing campaigns and much more. Piwik is an open source alternative to Google Analytics, available in 45 languages, and has been downloaded more than 1 million times!” One thing I noticed it was missing was an easy way to clear out analytics after you’ve been testing before going live with a website. After a bit of researching, I found http://piwik.org/faq/how-to/#faq_73 which gave me an idea; why not write a simple query with a variable to do all of these things at once, but for a single website instead of dropping ALL of the data in the DB.

Continue Reading

Skype Message Cleaner

Author: samdiaz, Posted On: January 4th, 2013, In: Tips and Tricks

There are some times when you need to delete a specific user’s conversation from Skype, but you don’t want to clear your total history.

Continue Reading

File listing in DOS

Author: samdiaz, Posted On: November 28th, 2012, In: Tips and Tricks

Ever need to make a list of files you have in a folder? Continue Reading

PHP Form to PDF

Author: samdiaz, Posted On: November 26th, 2012, In: Tips and Tricks

I was approached by a doctor’s office to request I create a simple way for their patients to fill out forms. I wrote a simple PHP form which when the patient submitted, would input their information into a PDF and send this via email to the doctor’s office.