- laks(g).com;

I build applications for the web, mobile, desktop and beyond.

Very close. Last piece: integrate with the iPhone’s gyro. #raspberrypi #camera #websockets (at Presidential Towers)

Comments
#raspberrypi #camera and computer vision #algorithms (at Presidential Towers)

#raspberrypi #camera and computer vision #algorithms (at Presidential Towers)

Comments
Happy Indian #Independence Day!! (at Washington and Dearborn)

Happy Indian #Independence Day!! (at Washington and Dearborn)

Comments Comments Comments

Command line #swift

If you are like me, you would like to work on command line. Here is a quick snippet to get Swift working in terminal.

By default Swift, is not visible in the terminal profile. Execute the below command.

echo “alias swift=’/Applications/Xcode6-Beta2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift’” » ~/.bash_profile | source ~/.bash_profile | sudo xcode-select -switch /Applications/Xcode6-Beta2.app/Contents/Developer

Now type: swift
Terminal screenshot

Voila!

If you have code runner,

  • Go to Preferences > languages
  • Add a new language Swift
  • Type “./$filename” in Run command
  • Type “#!/usr/bin/env xcrun swift -i” in Code template
  • File extension: swift
  • Done.

Enjoy!!

Comments Comments

Reasons to secure your mobile app from SSL Pinning

If you are looking for reasons as to why you should pin a certificate to your app, then look no further. Below are my top 5 reasons:

  • Get away from SSL certificate authority trust model.
  • Prevent your users using your app through a rogue certificate from CA that is compromised.
  • Prevent MITM (Man-in-the-middle) attacks.
  • Prevent voluntarily snooping your apps traffic and knowing the structure of your APIs
  • Prevent being able to alter your server responses.
Comments Comments Comments
blog comments powered by Disqus