Skip to content

Instantly share code, notes, and snippets.

cloudy blue #acc2d9
dark pastel green #56ae57
dust #b2996e
electric lime #a8ff04
fresh green #69d84f
light eggplant #894585
nasty green #70b23f
really light blue #d4ffff
tea #65ab7c
warm purple #952e8f
@kitschpatrol
kitschpatrol / .clang-format
Last active February 14, 2016 02:53 — forked from notlion/.clang-format
Cinder ClangFormat
---
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: false
AlignConsecutiveDeclarations: true
AlignConsecutiveAssignments: false
AlignEscapedNewlinesLeft: false
AlignOperands: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
ArrayList<Widget> widgets = new ArrayList<Widget>();
void setup() {
size(500, 500);
// Create widgets
for (int i = 0; i < 100; i++) {
widgets.add(new Widget());
}
#!/bin/bash
# Work-around for Osculator + 3Dconnexion crash-on-launch bug
# Assumes default installation locations.
# http://www.osculator.net/forum/threads/2216-Osculator-crash-on-startup-when-Space-Navigator-is-installed-on-OSx-10-10-3?highlight=3dconnexion
# Set permissions on this file:
# chmod u+x Osculator.command
sudo mv "/Library/Frameworks/3DconnexionClient.framework" "/Library/Frameworks/3DconnexionClientTemp.framework"
open "/Applications/OSCulator ƒ/OSCulator.app"
Pod::Spec.new do |s|
s.name = 'Nimbus'
s.version = '1.2.1'
s.license = 'Apache License, Version 2.0'
s.summary = 'An iOS framework whose growth is bounded by O(documentation).'
s.homepage = 'http://docs.nimbuskit.info/index.html'
s.author = { 'Jeff Verkoeyen' => '[email protected]',
'Bubnov Slavik' => '[email protected]',
'Roger Chapman' => '[email protected]',
'Manu Cornet' => '[email protected]',
#!/bin/bash
IP=192.168.0.146:5000
#IP=10.1.1.152
curl -L -H "Content-Type: application/json; charset=utf-8" --data '{
"sample_time" : "2015-01-12 19:09:19 +0000",
"social_communication" : 1,
"social_proximity" : 1,
"physical_activity" : 1,
selected_health_gems = [
{
"callout": "physical_activity_max",
"headline": "health gem preview headline text goes here",
"description": "health gem description text goes here",
},
{
"callout": "social_proximity_min",
"headline": "health gem preview headline text goes here",
"description": "health gem description text goes here",
[
{
"sample_time" : "2014-06-26 23:18:27 +0000",
"uuid" : "5B8605F5-7D99-4EE7-8922-6CD79646C980",
"proximate_participant_distance" : "unknown",
"proximate_participant_distance_meters" : 1.136463666385725,
"proximate_participant_uuid_hash" : 1160789337,
"participant_uuid" : "48A401D1-A4DF-44A2-BE62-B1C0DCE3A10F",
"proximate_participant_rssi" : -60,
"session_uuid" : "50AFC461-640A-4B9B-ABB5-4C822DDEF2FE"
APP_FILE_NAME=
DEPLOYMENT_SCHEME=
TEST_FLIGHT_API_TOKEN=
TEST_FLIGHT_TEAM_TOKEN=
TEST_FLIGHT_DISTRIBUTION_LIST=
AD_HOC_DISTRIBUTION_PROVISIONING_PROFILE=
AD_HOC_DISTRIBUTION_SIGNING_IDENTITY=
EMAIL_USERS_ABOUT_UPDATE=
#!/bin/bash
# Automatically tags the git repo's current head with
# the latest build number from the build number scratch file
PLIST_FILE="../SciGames Sandbox/SciGames Sandbox-Info.plist"
BUILD_NUMBER=`cat ../BuildNumber`
echo Tagging current head with \"$BUILD_NUMBER\"
`git tag $BUILD_NUMBER`