List all functions in a source file in VIM
Comments [0]
vim, coffee, web dev and stuff
www.weareyoung.co.uk Thanks to Julie Jarvis for the fact Tweet this! © 2009 YoungComments [0]
Comments [0]
Programming is an exercise in overcoming how wrong you’ve been in the past. At first you’ll overcome the syntax errors, then you’ll overcome the structural errors, and then you’ll come to align your code with the standards of a greater community and you’ll feel safe and like you’ve made it. You haven’t – you’re still wrong because you’re always wrong. You are playing a game you cannot win. And let’s face it – if it was a game you could win you’d not be playing at all.
Comments [0]
NOTE: If you fail to utilize AJAX calls while debugging or previewing, you can try circumventing the same origin policy in Firefox with the following steps. This is done at your own risk + The call to Privilege manager cannot be executed in a real S60 device or the emulator.
- Add a netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); call to the function issuing your AJAX requests
- Type about:config in Firefox address bar and set signed.applets.codebase_principal_support value to true by double-clicking it.
- Initialize a debugging session and issue an AJAX call => You should now be prompted about giving the script access to whatever domain you are requesting from.
Aptana's WRT plugin doesn't work for me - JS stops executing and all that.
However - the hint on how to bypass Same Origin Policy is something that needs to be saved for later.
Comments [1]

Comments [0]