Blog

Recent Blog Posts

Razer Dynamic Keys

Posted by on 12:06 PM in Completed, Featured, Recent Work | Comments Off on Razer Dynamic Keys

Razer Dynamic Keys

Until I have had a chance to create some documentation please refer to section 2 of the README file in the download below. Note: This application is currently pending Razer’s internal testing. On initial lauch of the application, if you click the “Config” button, this will provide the basic structure of the Razer Menu. There is no limit to how deep your sub menus can go! The only restriction is that there cannot be a Dynamic Key on key 10 (DK10) within a submenu as this key is used to go back to the parent menu. Feel free to replace any images within the application or to share any RazerMenu configurations in the comments below! We would love any feedback or ideas for future versions/projects! This application was built using the SharpBlade Framework for C#, an open source wrapper for Razer’s SwitchBlade User Interface. Would like to thank Brandon Scott for putting up with me while learning the ins and outs of SharpBlade and Timshel Knoll-Miller for all his help and whiteboard skills. Downloads Version 1.0.0.0 (Current) Initial...

read more

Speeding up the Facebook WordPress Plugin

Posted by on 10:38 AM in Completed, Facebook, Featured, Social | Comments Off on Speeding up the Facebook WordPress Plugin

Speeding up the Facebook WordPress Plugin

Following the guide to Optimize Social Plugins on Developers.Facebook.com, I’ve found there are two common ways to speed up calls to the Facebook API. 1. Using Asynchronous loading which will speed up loading and not block rendering of other elements on the page. The Facebook plugin already implements this, so not much we can do there. 2. By creating a custom channel which is said to improve speeds with older browsers, however I noticed a decrease in page loading speed after making the changes and I’m using the latest version of Chrome (32.0.1700.102). There are two steps to modify the Facebook plugin to use a custom channel. 1. Create a channel.html file in the root folder of the plugin (“wp-content/plugin/facebook”) with the following code (Note the long cache time): <?php $cache_expire = 60*60*24*365; header("Pragma: public"); header("Cache-Control: maxage=".$cache_expire); header('Expires: '.gmdate('D, d M Y H:i:s', time()+$cache_expire).' GMT'); ?> <script type="text/javascript" src="//connect.facebook.net/en_US/all.js"></script> 2. We then need to modify the source of the Facebook plugin so when calling the FB.init it will pass the url of the channel file we have create. Look for the FB.init within the facebook.php file in the root folder of the plugin, it should be inside the function register_js_sdk. Modify the $args parameter as per below: ... $args = array( 'xfbml' => true ); if ( is_admin() ) { $args['status'] = true; $args['cookie'] = true; } else if ( $this->kid_directed ) { $args['kidDirectedSite'] = true; } // appId optional if ( ! empty( $this->credentials['app_id'] ) ) $args['appId'] = $this->credentials['app_id']; if ( !array_key_exists( 'channelUrl', $args ) ) { $args['channelUrl'] = plugin_dir_url( __FILE__ ) . "channel.html"; } ... Lines 17-19 are our new code to include the channelUrl parameter and pass it to the FB.init...

read more

Trello Outlook Calendar Addon

Posted by on 4:18 PM in API, Featured, Recent Work, Under Construction | 88 comments

Trello Outlook Calendar Addon

Notice: This project is no longer being developed. Thanks for all your support. Update (28th October 2014): This project is no longer being developed. I currently have a backlog of paid projects that will have my full attention for the foreseeable future. I would like to thank everyone that has downloaded and supported my addon. The addon will still continue to function as usual, I may make minor bug fixes if anything in the Trello or Outlook API changes, however there will not be any new features added. As usual feel free to leave any questions, comments or issues in the comments below. Update (16th May 2014): While this addon is free for personal and commercial purposes, a lot of my “after hours” time has been put into supporting, bug fixing and adding features. I would greatly appreciate any donations (below) and feedback! I have started rewriting from the ground up, any feature requests are welcome via comments. Lastly, thanks for the continued support! Recently I have started using Trello, a free web-based project management application. I like how easy it is to use, however I wanted a solution that would allow me to sync my Trello cards that had due dates, to a caledar in Outlook (then having it on Exchange also). I had a quick Google, but couldn’t find anything that would fit my needs, so the programmer in me said, “Why not create one!?!”. The main things I needed this solution to accomplish was: Authenticate with Trello Get a list of the users boards Allow the user to select the boards to be synced Create an Outlook Appointment item for each card using the data pulled from Trello Update card if the appointment already exists Push updates to Trello (Update card name, due date, description etc…) So almost 1000 lines of code later and I have my first Outlook Addon, although at the moment I only have it pulling from Trello, I’m about to start looking at the push side to update cards. The source code is available on GitHub or download the installer below. I am still developing this addon, please look at the development board for more information. Donations This addon is supported via your donations, if you have found it useful, please consider supporting it by donating Total Raised: $30.00 Many thanks to the following people: Christopher Hunter Sateesh B Pedagadi Christian Fingerhut Last updated: 08/12/2014 Change Log Version 0.2.0.6 (Latest) Added option to specify the default “Reminder Time” Added “Manual Authentication” option for users with Internet Explorer 6, 7 and 8 as Trello has dropped support (Found under File -> Trello) Version 0.2.0.4 Fix problem when text had UTF-8 characters Version 0.2.0.2 Reduce the number of calls to Trello Added a background timer to sync at a regular interval Version 0.1.0.1 Inital Release Bugs and Improvements Found a bug or want to request an improvement or feature? Use the contact form to let me know or leave it in the comments below! Want to fix the bug yourself, even better! The source code is available on...

read more

Responsive Web Design

Posted by on 8:06 PM in Design, Featured, Opinions | Comments Off on Responsive Web Design

Responsive Web Design

There has been a lot of talk lately about Responsive Web Design. The idea behind Responsive Web Design is instead of creating one page for each Web, Tablet and Mobile then having to detect which version to show the user, you create one page and use Media Queries to style content based on the users screen size. Responsive Web Design By using Media Queries, a Responsive Web design uses is able to determine what resolution of device it’s being served on. Through the use of fluid grids and flexible images, the content is able to be re-sized correctly to fit the screen. If you are viewing this page on a computer or laptop, try resizing your web browser and see what happens to the images, fonts and layout on this page. The benefits of responsive web design are obvious, you build a website once, and it works seamlessly across thousands of different screens. Simply build your website template off a 12 column fluid grid, assign the various sections their respective column widths and away you go! 12 Column Grid With the increasing popularity of tablets and smartphones, the fact is that users prefer browsing the web on their mobile devices. For web designers and developers, it offers the simplest way to reach visitors across multiple devices. For users, it ensures a great experience from any...

read more