Craft

Capture

I came across some old C++ files I had saved on a backup and found this one particularly interesting. I always loved to use noise in my textures for 3D models and grew tired of opening Photoshop when I needed a quick noise map to tie into a material (specifically…

You can view this on Github or CodePen, info is at the bottom of the post. I've been finding myself needing to truncate strings more and more lately, especially while working with Twitter. I created a function that was simple and reusable. That is the point of Object Orientated Programming…

If you haven't noticed, iOS will cache your HTTPClient calls for a VERY long time. Sending a GET request for a file can sometimes return data that is weeks old. How can you guarantee your app will get the latest and greatest data? Structure your HTTPClient calls as such: var…

If you've been looking for a way to use any Twitter features in your Appcelerator application, check out social_plus.js on GitHub (from Aaron Sanders - Great resource for Appcelerator, Ionic Framework and many other frameworks and just code in general). You might notice a minor inconvenience with getting this to…

I'll share more of this projects code later, but after a long and hard day of searching (and putting together ideas and code from MANY different sources) I thought I'd quickly share how to upload an image (or any file) to Drupal using the Services module and Appcelerator. First, upload…

Update 8/19/15 - I've updated the module to fix an issue with queryInventory(). If the user had more than 20 purchases, inventory came back empty OR Google returned responseCode 5 (Developer Error). Until the changes are rolled into the In-App Billing module on Github (if they even are) - Here…

Side note: This post originally appeared on my old website Just a little heads up for anybody moving a WordPress site that contains any kind of Cherry Framework related theme – You need to delete your .cache files for .less files. Here is where mine were located: For Cherry Framework itself:…