Try this gist!
First create your bower.json file and run bower install
This is a little bookmarklet generator i put together this morning:
mashcloud.net is an experiment on collaborative realtime audio editing and music creation.
I did the project within the frame of my BA thesis in audio production last year.
As I moved the code to github this week, I wanted to give a quick overview of the project and its technical underlyings, just in case someone might be interested :)
(If there is more extensive documentation available concerning assetic + CompassFilter, please stop reading on and let me know!)
If you take a look at the filter class itself (it is CompassFilter in the generic Assetic\Filter namespace), you should recognise several option values that you can use in your application wide config.yml file.
But first you have to install the framework plugin following these instructions.
In the last days, i was trying to find a solution hosting multiple Express apps on
my vServer the same Server.
Starting with Apache and mod_proxy, i ended up with a plain node solution, which i really like. Continue reading “Hosting multiple Express (node.js) apps on port 80”
I might be a bit late
(yeaikno it exist over a year now and a bunch of blogs had it covered) but nevertheless i would like to point out a very helpful online tool i recently ran into:
It covers some important aspects of benchmarking, that your homemade bench probably wont have like milliseconds accuracy & statistical analysis.
The tests are run on your browser and the results will feed the “browserscope”. A graph of the “highest known results” for the participating browsers.
So we can see some kind of comparison.
Here are some things that come real hany when you are working with jade. Continue reading “Tools for jade template development”
…for some reason i needed to get t h i s to work before going to sleep.
Caution: Scepticism ahead!
So i’d like to share some of my experiences in the cloud since i am still trying to figure out if it its worth for me or if i am better suited with an VPS.
Maybe somebody feels like feedbackin.
I tried PHPFog for PHP and no.de by joyent for node.js.
First i have to admit: yes i only tried the free models and of course they are limited and because its free you cant expect to get it all, right?
Yes and thats true.
With PHPFog i set up an app based on symfony 1.4. After some inital problems due to some bugs on PHPFog side, i got it running.
I really like to mention the kind and immediate chat support by PHPFog. It really made me feel like dealin with humans and not only machines. Big up!
By then everything felt really smooth with git deploy, configurations, mysql setup etc.
But i had to shut down the app again, because there are restrictions to PHP which killed the app like disabling “file_get_contents for remote URLS”, probably only in the free model. But that killed it for me at that point.
So read this carefully before going to cloud: http://docs.phpfog.com/index.php/features/article/shared_vs_dedicated
I guess with dedicated hosting you get more power, sure.
Well you can try to, but it will end up almost probably in an disconnect which is caused by the browser.
As i have learned here.
Given you have a string which contains invalid unicode like:
If you prepare your json with PHP and json_encode the Unicode will be escaped to some strings like these:
But on clientside it will still result in invalid Unicode.
Continue reading “Sending invalid Unicode via socket.io”