Array.Includes is not a function?

Support for older browsers that cannot run array.includes(“searchForThis”)

Posted in Coding, Technology | Comments Off on Array.Includes is not a function?

Bookmarklet maker

Ever want to make a bookmarklet? Well, this will help.  (Comes in handy to hack things in place before a major fix/build goes out – i.e. changing iframe sources that have a bad url) Just drag the link that this … Continue reading

Posted in Coding, Technology | Comments Off on Bookmarklet maker

common php

Here are some of the common php things I use, and always have to look up: Mysql: Date: Scan directory:

Posted in Coding, Technology | Comments Off on common php

Fail Whale?

Well, today I broke twitter. And they showed me the fail-whale. Epic win on that fail!

Posted in Coding, Technology | Comments Off on Fail Whale?

Weave Silk

This is a very nifty site that lets you “draw” a kaleidoscopic silk pattern with your mouse. http://weavesilk.com/

Posted in Coding, Technology | Comments Off on Weave Silk

Dancing worm

Well, this is scary. Move your mouse and watch it wiggle. Also, there is a dance party randomly.

Posted in Coding, Technology | Comments Off on Dancing worm

Unicode glory

Oh, unicode. OH unicode! So, with unicode, you can make some fun characters! Could we pretend that ✈s in the ☽ ☁ are like ==✶s? Could we pretend that ✈s in the ☽ ☁ are like ==✶s? But, here are … Continue reading

Posted in Coding, Technology | Comments Off on Unicode glory

get files in directory recursively [php]

Getting files from a directory can be useful if you want to access your files but forgot what subfolder names you put there (if you’ve turned indexing off, you can’t just look at the dir url and see an autogenerated … Continue reading

Posted in Coding, Technology | Comments Off on get files in directory recursively [php]

Facebook UI

Want to send someone a message on facebook? Set up your FB JS SDk window.fbAsyncInit = function() { FB.init({“appId”:”xxxxxxxxxxx”,”channelUrl”:”http://corbdesign.com/?sfc-channel-file=1″,”status”:true,”cookie”:true,”xfbml”:true,”oauth”:true}); }; (function(d){ var js, id = ‘facebook-jssdk’; if (d.getElementById(id)) {return;} js = d.createElement(‘script’); js.id = id; js.async = true; js.src = … Continue reading

Posted in Coding, Technology | Comments Off on Facebook UI

Find and hide broken images in js

Ever run into the issue where dynamic content loads on a page and occasionally contains a broken image icon (and a 404 on the get request for the image)? Well, I have… So here’s my plan: function isImageOk(img) { if … Continue reading

Posted in Coding, Technology | Comments Off on Find and hide broken images in js