Skip to content

Instantly share code, notes, and snippets.

require 'formula'
class Jsonpps < Formula
homepage 'https://github.com/bazaarvoice/jsonpps'
url 'http://repo1.maven.org/maven2/com/bazaarvoice/jsonpps/jsonpps/1.1/jsonpps-1.1.jar'
sha256 '835a5c28108975450122e7c4bb4153e7228036ec4f99ea4a952767b3a0dec0e7'
def install
libexec.install "jsonpps-1.1.jar"
bin.write_jar_script libexec/"jsonpps-1.1.jar", "jsonpps", "-Xms64m -Xmx64m"

Keybase proof

I hereby claim:

  • I am grevolution on github.
  • I am grevolution (https://keybase.io/grevolution) on keybase.
  • I have a public key ASDCBE0u0335xRkTF0YAXc3E5Pmo90Iufifh3ylO_z-eTgo

To claim this, I am signing this object:

# upload.rb
# a simple utility speed up your work with unfuddle
# Created by Shan Ul Haq ([email protected]) on 12/01/15
#
# setup your domian, username and password and you are good to go.
# options:
# -p to get list of projects
# -m <project id> to get the list of milestones for project.
# -c <project id> to get the list of components for project
# -s <project id> to get the list of severities for project
@grevolution
grevolution / UIProgressView+iOS7_1
Created April 2, 2014 04:15
UIProgressView setTrackImage and setProgressImage broke on iOS 7.1, If you are using simple flat color image for your UIProgressView, you can do this:
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
#define IS_OR_GREATER_IOS7 SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")
if(IS_OR_GREATER_IOS7) {
//specify your track color here
[[UIProgressView appearance] setTrackTintColor:[UIcolor redColor]];
//specify your progress track color here.
[[UIProgressView appearance] setProgressTintColor:COLOR_2D2D2D];
} else {
//keep your old logic here.