Posts

Restrict nginx upload file size limit

Problem: We've an Enterprise level Rails application and we need to have Upload size restrictions because this could lead to a DOS(denial-of-service) to the application via filling the HDD or utilizing web resources and solution must be easy/Generic.

Redirect request based on URL paramters via nginx

Problem: We've an Enterprise level Mobile/iPad application and we did major changes to our backEnd (Rails App) so as a usual process we uploaded new app version and waiting to approve via app-Store, We don't when Apple is going to approve it, We have to support previous and upcoming version and Solution must be easy/Generic.

fastlane tools family introduction snapshot

fastlane-Snapshot lets you Automate taking localized screenshots of your iOS app on every device. Problem: You have an iPhone app. You support 20 languages. You updated the design. You want to release the update to the App Store.

fastlane iOs automated deployments

fastlane lets you define and run your deployment pipelines for different environments. It helps you unify your app’s release process and automate the whole process. fastlane connects all fastlane tools and third party tools, like CocoaPods and xctool.

Mysql2 Error Lost connection to MySQL server during query Rails Application

In our Rails Application we faced several exception(s) saying Mysql2::Error: Lost connection to MySQL server during query Usually it indicates network connectivity trouble and you should check the condition of your network if this error occurs frequently.

Cordova/Ionic Error page Html Handling

Recently I worked on Hybrid Mobile Application and got Network Dependency to Start Application. Also What if Internet now available. So it’s pretty simple without writing own code and using Cordova Configuration.

ionic appCache HTML5

Recently I worked on IonicApp, AppCache @ HTML5 and thought it to update application assets in cache without updating app to Stores. Requirements Deploy an Ionic App to Heroku Refer last blog √ Ionic app that display webView of server√ update config.

Ordering Rack Middleware Rails Application

Rack middleware is a simply bigger thing then rails. It’s look-alike rack application that you can use to filter, process, or otherwise mess with responses.There is middleware like warden - devise, to work on catch and log exceptions, deal with cookies, SSO, and pretty much anything else you can think of.

ionic Heroku Deploy

Recently I worked on IonicApp and thought it must be possible to run it over Heroku and that works. Requirements Heroku-Toolbet √ Ionic √ node √ Install express {% highlight ruby %} npm install express –save {% endhighlight %}

ionic autoupdate application noDeploy

cordova-app-loader Remote update your Cordova App, Write a manifest.json to bootstrap.js your app. Build and deploy your app. A little later… Upload an update to your server (manifest.json + files) Use CordovaAppLoader to