Nodejs POST request multipart/form-data

After some more research, I decided to use the restler module. It makes the multipart upload really easy. fs.stat(“image.jpg”, function(err, stats) { restler.post(“http://posttestserver.com/post.php”, { multipart: true, data: { “folder_id”: “0”, “filename”: restler.file(“image.jpg”, null, stats.size, null, “image/jpg”) } }).on(“complete”, function(data) { console.log(data); }); });

WIth Vimeo Plus account, how to hide/remove the “play” button in the middle of an embedded video?

You can now remove all controls just wanted to update anyone new looking at this. It now appears to be possible to have an embeded video without any of the controls, by using an experimental feature: background=1 Things to note All player toggles and elements will be turned off (including the play/pause button!) The video … Read more

REST API with active push notifications from server to client

I would use RabbitMQ and consume events forwarding them as push notifications. This will work while the user is not actively connected to the website and enhance the engagement with each user experience that will return to the website when notified for more information see How to setup basic web push notification functionality using a … Read more

iPhone call log / history

Sorry but right now it really can’t be done.. On iOS 5 there isn’t any access to call_history.db -> Which is exactly what you were looking for. The app mentioned here: http://itunes.apple.com/us/app/callog/id327883585?mt=8 Does not work with iOS 5 (don’t download but check the users’ reviews..) On iOS 4, you might still be able to get … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)