Today I wanted to do JavaScript syntax checking with JSlint from the commandline (on Ubuntu). A quick online search didn't give me what I wanted. So after digging up the version I wanted from an old laptop, I decided to post this article with a link to the file I needed. Basicly what I needed was rhino (this is an ubuntu user package) and this jslint.js file.
Usage: rhino ~/jslint.js filetocheck.js
Or create an alias in your .bashrc file:
alias jslint="rhino ~/jslint.js"
Then you can use: jslint filetocheck.js
This years PHP Benelux Conference wat very informative and of course lots of fun. The PHP in the Dark, the Docterine2 presentation and the VIM+*nix=IDE talk were brilliant. And yes, I will most likely be attending next year.
Een paar foto's van ons bezoek aan PHP Benelux 2011.
I have pulled down the flamepdf code and am not developing it further at the moment. Please let me know if you still require this code Zend Framework had a nice PDF module that I would probably use the next time I need a webapp with pdf.
I often bump into people who claim their mail isn't working in php scripts. The first thing I do is chuck this script in and see what happens...
<?php
$to = "info@domain.com";
$from = "info@domain.com";
$result = mail($to, "Mail test", 'Mail test', "From: $from" );
echo "The result is : $result (1=good, 0=bad)";
?>
I'm still pretty happy with my n900. It is very powerful and flexible. This will be an uncertain year for Nokia.... let's see where that takes us.
Using Mac OS X's iSync with the n900:
http://maemobriefs.blogspot.com/2010/02/osx-n900-isync-plugin-11-released.html
If I have time I would like to give MeeGo a try on my n900, please let me know if you find any good articles that describe this.
Submitted by admin on Thu, 03/10/2011 - 13:52
Making the switch to Drupal was not an easy choice. I really liked the CMS Made Simple community, but I do not want to be fixated on one product. Unfortunatly there is no CMS powered by ZendFrame work that performs to my liking.