This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parse.Cloud.job("testImageCompression", function(request, response) { | |
console.log("Posting HTTP request"); | |
Parse.Cloud.httpRequest({ | |
method: 'POST', | |
url: 'https://api.kraken.io/v1/url', | |
headers: { | |
'Content-Type': 'application/json' | |
}, | |
body: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package com.nickaknudson.android.animations; | |
import com.nickaknudson.mva.callbacks.Callback; | |
import android.view.animation.Animation; | |
import android.view.animation.Transformation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.homeaway.floatlabel.library; | |
import android.content.Context; | |
import android.content.res.TypedArray; | |
import android.text.Editable; | |
import android.text.TextWatcher; | |
import android.util.AttributeSet; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.EditText; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* The MIT License (MIT) | |
Copyright (c) 2014, Marty Glaubitz | |
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, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CheckableLinearLayout extends LinearLayout implements Checkable { | |
private static final int[] CHECKED_STATE_SET = { android.R.attr.state_checked }; | |
private boolean mChecked; | |
private OnCheckedChangeListener mOnCheckedChangeListener; | |
public CheckableLinearLayout(Context context) { | |
super(context, null); | |
} | |
public CheckableLinearLayout(Context context, AttributeSet attrs) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nhaarman.test; | |
import android.animation.ObjectAnimator; | |
import android.animation.ValueAnimator; | |
import android.content.Context; | |
import android.graphics.Canvas; | |
import android.graphics.Color; | |
import android.graphics.Paint; | |
import android.graphics.Path; | |
import android.graphics.RadialGradient; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set adb to "/usr/local/bin/adb" | |
set impbcopy to "/Users/ericbutler/.bin/impbcopy" | |
set {oldtid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return} | |
set rawDevices to do shell script adb & " devices | tail -n +2 | grep -v '^$' | awk -F\\ '{ print $1 }'" | |
set devices to every text item of rawDevices | |
set AppleScript's text item delimiters to oldtid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Great set of colors from from http://flatuicolors.com/ and converted into Android colors.xml | |
--> | |
<resources> | |
<color name="turquoise">#1abc9c</color> | |
<color name="emerald">#2ecc71</color> | |
<color name="peter_river">#3498db</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#========================================================================================== | |
#title :mixpanel_people_export.rb | |
#description :This ruby script is exporting mixpanel people json data to a file | |
#author :Quentin Rousseau <contact@quent.in> | |
#date :2014-07-15 | |
#version :1.0 | |
#usage :ruby mixpanel_people_export.rb | |
#dependencies :gem install 'mixpanel_client' | |
#moreinfo :https://mixpanel.com/docs/api-documentation/data-export-api#engage-default | |
#=========================================================================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This is an RVM Project .rvmrc file, used to automatically load the ruby | |
# development environment upon cd'ing into the directory | |
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional. | |
environment_id="ruby-1.9.2-p290@jankd" | |
# | |
# Uncomment following line if you want options to be set only for given project. |
OlderNewer