Code

  

Code

by Craig Mayhew



Open Source craig.mayhew.io


Open source has been the mainstream paradigm for some time now. Although I am a little late to the party with some of my code, I am continuing to open source as much as possible, as quickly as possible. This website is…




Tweets Backup Script


So I wanted to backup and archive my tweets. I threw together this quick and dirty script to retrieve the last 200 tweets of a twitter user (In this case, me). Latest source code available here: …




CUDA Development in Visual Studio 2008


When I started developing in cuda I had a bit of a nightmare setting up the development environment. This youtube video saved the day. Many thanks to Yuber Núñez for taking the time to make…




Automatically reboot minecraft on crashes


The latest version of minecraft has been extremely unstable for me, so I've written this quick script to automatically check if minecraft is running - and reboot it within 30 seconds if it isn't. You will need php…




PHP email validation using regex


I keep seeing PHP where the programmer has written a regular expression to validate an email address. Don't do that! Use the filter_var() function that php comes with out of the box. <?php $emailAddress =…




phpuk2010


Back from phpuk2010 and feeling like I really want to contribute to some open source projects! I'll summarize the main points I took away from each of the talks I attended. Josh Holmes - Keynote talk - The Lost Art…



Open Source   PHP   Tweets   Script   Twitter   C++   CUDA   Visual Studio 2008   PHP   Minecraft   PHP   Validation   PHP   phpuk2010   MySQL   CoucheDB   phpuk  


© 2018 Craig Mayhew