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
Pod::Spec.new do |s| | |
s.platform = :osx | |
s.platform = :ios | |
s.name = "ClearBlade-iOS-API" | |
s.version = "0.8.7" | |
s.summary = "iOS API libraries for the ClearBlade platform" | |
s.ios.deployment_target = '7.0' | |
s.ios.frameworks = 'MobileCoreServices', 'SystemConfiguration', 'Security', 'CoreGraphics' |
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
{"item_id":"35ed0538-5217-11e3-89b6-bc764e0487f9","old_value":0,"new_value":"22","column":"age"} |
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
[[{"EQ": [{"stringColumn": "Hello"}]}]] | |
[[{"EQ": [{"stringColumn": "Hello"}, {"nameColumn": "Tyler"}]}]] = stringColumn = Hello AND nameColumn = Tyler | |
[[{"EQ": [{"nameColumn": "Tyler"}]}, {"GT":[{"ageColumn": 20}]}]] = nameColumn = Tyler AND ageColumn > 20 | |
[[{"EQ": [{"nameColumn": "Tyler"}]}], [{"EQ": [{"nameColumn": "Charlie"}]}]] = nameColumn = Tyler OR nameColumn = Charlie |
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
#include <stdlib.h> | |
typedef struct Edge Edge; | |
typedef struct Node Node; | |
Edge* EdgewithNodes(Node* src, Node* dest); | |
Node* NodewithInfo(int i); | |
Node* createNodes(int i, int left); | |
void addEdge(Edge* src, Edge* new); | |
void addEdgetoNode(Node* src, Node* dest); |
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 void add() { | |
Node newNode = Node(); | |
addChild(root, newNode); | |
} | |
public void addChild(Node parent, Node child) { | |
if (parent.leftChild == null) { | |
parent.leftChild = child; | |
} else if (parent.rightChild == null) { | |
parent.rightChild = child; |
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 main | |
import ( | |
"tux21b.org/v1/gocql" | |
"log" | |
) | |
var cluster *gocql.ClusterConfig | |
func init() { |
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
[ | |
{ | |
"creation_date":"2008-09-08T22:47:31-07:00", | |
"email":"test0@fake.com", | |
"extra_info":{ | |
"birthday":"1/1", | |
"haircolor":"brown" | |
}, | |
"status":true | |
}, |
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
private JsonObject convertJsonToJsonObject(String json) { | |
// parse json string in to JsonElement | |
try { | |
JsonElement toObject = new JsonParser().parse(json); | |
return toObject.getAsJsonObject(); | |
}catch(JsonSyntaxException mfe){ | |
return null; | |
// This was screwing me up a lot | |
}catch(IllegalStateException ise){ |
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 uuidStringBench | |
import ( | |
"testing" | |
"github.com/gocql/gocql" | |
"fmt" | |
) | |
var ( | |
u gocql.UUID |
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
#!/bin/sh | |
set -e | |
### BEGIN INIT INFO | |
# Provides: postgresql | |
# Required-Start: $local_fs $remote_fs $network $time | |
# Required-Stop: $local_fs $remote_fs $network $time | |
# Should-Start: $syslog | |
# Should-Stop: $syslog | |
# Default-Start: 2 3 4 5 |
OlderNewer