Skip to content

Instantly share code, notes, and snippets.

View jayshreeanand's full-sized avatar

Jayshree Anandakumar jayshreeanand

View GitHub Profile
@jayshreeanand
jayshreeanand / Capfile
Created August 19, 2020 19:02 — forked from abhionlyone/Capfile
create-react-app with capistrano for automated deployments
require "capistrano/setup"
require "capistrano/deploy"
require "capistrano/scm/git"
require 'capistrano/npm'
install_plugin Capistrano::SCM::Git
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
@jayshreeanand
jayshreeanand / convert_sketch_file_other_version.py
Created November 29, 2017 13:37 — forked from Ashung/convert_sketch_file_other_version.py
A python script for convert Sketch file to other version. Support Sketch file version greater than 43.
#!/usr/bin/python
# The MIT License
#
# Copyright 2017 [email protected]
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
@jayshreeanand
jayshreeanand / google_play_verification.rb
Created January 12, 2017 09:26 — forked from jkotchoff/google_play_verification.rb
Verifying an Android subscription in a Ruby on Rails app using the Google Play API
class GooglePlayVerification
require 'google/api_client'
# Refer:
# https://code.google.com/p/google-api-ruby-client/issues/detail?id=72
# and
# http://jonathanotto.com/blog/google_oauth2_api_quick_tutorial.html
# and
# http://milancermak.wordpress.com/2012/08/24/server-side-verification-of-google-play-subsc/
GOOGLE_KEY = 'xxx-xxx.apps.googleusercontent.com'
Testing gists for omnicode