Tumgik
ravishwrites · 8 years
Text
Twinfie is live on iOS
So, I have been working on an app called twinfie, Twinfie let’s you take a Selfie with your friends no matter the physical distance. Image you are at this wonderful place and want to take a Selfie and you really wanted your friend/sibling/relative to be in that Selfie with you. Well, now you can. Twinfie works by synchronizing your phone’s camera with your friends camera and both your pics are taken at exactly at the same time, instantly stitched together wonderfully. Every twinfie is a unique and guaranteed to bring a smile on your face every time. 
You can download the app from app store: https://goo.gl/LqILMb. or go to http://twinfie.com. 
checkout the explainer video here: https://www.youtube.com/watch?v=ZSDEMd9-nog 
The app is live on iOS and coming soon on Android platform.
0 notes
ravishwrites · 9 years
Text
How to create a blurred background in iOS app
here is a way to add a blurred background in an iOS app
   self.view.backgroundColor = UIColor.clearColor()    let blurEffect = UIBlurEffect(style: UIBlurEffectStyle.Dark)    let blurEffectView = UIVisualEffectView(effect: blurEffect)    //always fill the view    blurEffectView.frame = self.view.bounds    blurEffectView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]    self.view.addSubview(blurEffectView) //if you have more UIViews, use an insertSubview API to place it where needed
0 notes
ravishwrites · 9 years
Text
Started “Will it fly” book
Yesterday I started reading the “Will it fly” book by Pat Flynn. So far I have read about 30% of the book in just a couple of hours and so far I think it is a good book. Looking to complete this book in max 2 days. I will write a detailed review of this book after I am done. 
0 notes
ravishwrites · 9 years
Quote
Don't stop until you are proud
0 notes
ravishwrites · 9 years
Text
How to use https in Node.js
You should not use normal HTTP protocol anymore, both from security perspective and also from Google ranking perspective, you can find more about it on google’s blog here. So, if you have a node.js application and you are looking to secure it, you will find it’s very straight forward, thanks to the in-built HTTPS package. 
Following a very basic way to add https using your key and certs. 
var app = express(); var httpsconfig     = {    key: 'example.com.key'),    cert: 'example.com.key.crt') }; var server = https.createServer(httpsconfig,app);
Here, you need to change example.com with your own domain name. This is assuming that you have a self signed certificate. If you are looking information about how to get a self signed certificate you can get it here. Also the above code assumes that you are using express.
0 notes
ravishwrites · 9 years
Text
One line command to create a Self Signed certificate on Mac
You need an SSL certificate to secure your website or app, and sometimes you do not want to spend money on the public signing authorities to sign your certificate for various reasons. One reason might be that you are only running a an app on a subdomain and that subdomain will not host a website, in which case your app/website will not be opened from any browser, because if the certificate is not signed by a signing authority the browser will not know the authenticity of the certificate and will complain about it. 
One of the simplest ways I have found to create a key and self signed certificate using the openssl package on mac is this:
openssl req -x509 -nodes -days 10365 -newkey rsa:2048 -keyout app.example.com.key -out app.example.com.key.crt
Here replace the days with your own expiry num of days for the certificate, rsa number of bits for which i used 2048, it is recommended to use 4096 for production env and replace example.com with your own domain name and voila you have your self signed certificate and key. 
How to use the self signed key and certificate in your nodejs application? Find out here
0 notes
ravishwrites · 9 years
Quote
Write the book you want to read
0 notes
ravishwrites · 9 years
Text
Image Processing in Node.js
I am currently working on a side project for which I need to process some images on my server (built in Node.js). These images are uploaded to my server using a mobile device (iOS/Android device). I am currently analysing various options. I will keep updating this post as I continue my analysis and will also update this post with the results of my findings. Implementation Options 1. Do the image analysis in Node.js 2. Use some other API/Library like a Java or C++ and invoke that library from Node.js Objectives 1. Performance. I would like to implement a solution which is efficient and Sclalable 2. Ease of use. Node.js choices 1. GM - I found one Node.js based library which is hosted at https://github.com/aheckmann/gm. One of the advantage of this API is that it's in Node.js so I am hoping this will be easy to integrate with my server.
0 notes
ravishwrites · 9 years
Text
System.out.println(”Hello World”);
c$: _Hello World !
In true programming style !
0 notes