Skip to content

Instantly share code, notes, and snippets.

/*
* Parse cloud function to execute query from multiple tables
* Useful in number of scenarios - activity streams, exporting data out etc...
*
*/
Parse.Cloud.define("aggregateQueryFunction", function(request, response){
@rorlig
rorlig / rds_vpc_pg_multi-zone_launch.yml
Created February 18, 2016 21:06 — forked from kennwhite/rds_vpc_pg_multi-zone_launch.yml
Ansible Playbook: Create multi-zone Postgres on RDS in a VPC
# Ansible RDS Multi-AZ Postgres
#
# Assumes existing Security Group, VPC, and RDS Subnet Groups.
#
# To install Ansible on OSX:
# sudo easy_install pip
# sudo pip install paramiko PyYAML jinja2 (might be prompted to install XCode & re-run)
# sudo pip install ansible
# sudo pip install boto
# sudo mkdir /etc/ansible
ext {
minSdkVersion = 14
compileSdkVersion = 28
buildToolsVersion = "28.0.0"
//Android
androidSupportVersion = "28.0.0"
constraintLayoutVersion = "1.0.0-alpha7"
butterknifeVersion = "8.0.1"
rxandroidVersion = "1.2.1"
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
defaultConfig {
applicationId "com.rorlig.capitaloneinterviewapp"
minSdkVersion 18
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'http://dl.bintray.com/amulyakhare/maven'
}
maven { url "https://jitpack.io" }
maven {