I’ve knocked up a simple to use CSV to plist converter which is pretty useful for iOS / OSX development. You can grab the code here: csv2plist.py on GitHub Usage is a piece of cake, python csv2plist.py mycsv.csv outputs: mycsv.plist in the same directory as mycsv.csv python csv2plist.py mycsv.csv myplist.plist outputs: myplist.plist in the same directory as mycsv.csv Any questions or comments are greatly appreciated as always!
So – I’ve just started off this new site – All Beginner Tutorials. It’s aimed at becoming a repository for many beginner-focused tutorials. Please take the time to check it out, and even add a tutorial or two!
It’s relatively easy to make URL safe strings for use by mod_rewrite. Let’s use the example that you have a form that adds a new blog post to your site. When the user submits this form, you want to generate a URL safe string (based on the title of the blog post) for mod_rewrite to use. This little snippet will show you how this can be achieved in one line [...]
Functions Inc. is a new site I’ve started for all you guys to add your code snippets to. It’s an online code snippet repository where you can add your useful snippets, as well as view others. You can keep your snippets private, just using the site as an online code library, or choose to share them with others. Why not head over there now and check it out. It’s free!
Use the following .htpasswd generator to secure your Apache web directories. Your browser does not support IFRAMES. Please view the generator at http://edrackham.com/tutorials/online-htpasswd-generator/ Make sure you have a .htaccess and .htpasswd file in the directory you want to secure, then add the entries once you’ve generated your password.
Here is a simple MD5 hash generator I created quickly as part of a useful toolset I’m planning to build up. Your browser doesn’t support IFRAMES. You can see the MD5 hash generator here. The code to generate an MD5 hash using PHP is simple: md5($string_to_convert);