Library of Ossus

You can’t empathize without investing time in yourself.

Read this first

Spotify Album Masonry

www.spotify.com/us/

You can find the actual reference here

www.printajoy.com/

Example use here

Download

Github

Dependency

jQuery

Usage

    <!-- Import jquery.js & masonry.js --
    <script src="js/libs/jquery.js"></script>
    <script src="js/libs/masonry.js"></script>

    <!-- Create empty container -->

    <div class="masonry">
    </div>


    <!-- Call the function -->
    <script>
        // images array 
        var images = ["<image1>","<image2>"];
        // parameters [container,images,size] respectively
        masonry.init(".masonry",images,100);
    </script>

Licence

It’s Licenced under MIT

Continue reading →


CCAvenue Ruby Gem

Motivation

I wrote this Gem whilst working on printajoy. It enables you integrate CCAvenue Payment Gateway with your existing Ruby application.

What is a Gem?

Gem are packages that work as standalone application or can be used to enhance functionality of existing application.

Research

  1. Active Merchant CCAvenue - At first shot it didn’t work. Beside it relies on Active Merchant.

Download

Rubygems.org: https://rubygems.org/gems/ccavenue

Github: http://github.com/kishanio/CCAvenue-Ruby-Gem

Usage

Pre-requistes:

  1. Merchant Id
  2. Merchant Working Key
  3. Redirect Url

All the above three are available on the CCAvenue Merchant Dashboard

This should just work fine.

$ gem install ccavenue

Rails Specific Installation.

Gemfile

gem 'ccavenue'

Call bundle install

$ bundle install

application_controller.rb

 Create an instance with merchantid, workingkey and redirect url as
...

Continue reading →