Skip to content

Instantly share code, notes, and snippets.

'use strict';
// generated on 2014-09-17 using generator-tiy-webapp 0.0.8
// Require your modules
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
var rimraf = require('rimraf');
var exec = require('child_process').exec;
var prompt = require('gulp-prompt');
#!/bin/bash
echo -n "Checking OS version... "
if [[ $(sw_vers -productVersion) != 10.9.* ]]; then
echo "Your OS version is out of date."
exit 1
else
echo "YES"
fi
echo -n "Checking if XCode is installed... "
@jacobthemyth
jacobthemyth / error.sh
Last active August 29, 2015 14:00
Parse query 500 Error
curl -X GET \
-H "X-Parse-Application-Id: a9YF2w1IkjzHT8zCkOwK0p7JkH2Yfr88Ynp1RaL1" \
-H "X-Parse-REST-API-Key: RagkfFQHSj7onw1IJ4AcBNgEKyauxFSPj7vGegph" \
-G \
--data-urlencode 'include=skills' \
https://api.parse.com/1/classes/GameScore/
{
"results":[
{
TestObject = Parse.Object.extend
className: "TestObject"
validate: (attributes, options) ->
console.log 'validating'
return "foo"
t = new TestObject
t.save()