Symfony2: How to get json encoded request from Backbone.js

Once, during building small web application I’ve got an issue: How to get normally request data from backbone.js ? On front-end I had marionette.js and on back-end Symfony2 application. Thus,  in routing I had in /src/SST/UserBundle/Resources/config/routing.yml /src/SST/UserBundle/Resources/config/routing.yml something like this: user.register:     path:       /user     … Continue reading

Tagged on : php , symfony2

Amazon EC: Add new volume

Lets check what do we have ubuntu@ip-172-31-25-85:~$ df -h ubuntu@ip-172-31-25-85:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 3.3G 4.1G 45% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 492M 12K 492M 1% /dev tmpfs 100M 356K 99M 1% /run none 5.0M 0 5.0M 0% /run/lock none … Continue reading

Tagged on : other , server