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.simplecrew.simplecrewapp.company; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.os.Bundle; | |
import android.support.v4.widget.SwipeRefreshLayout; | |
import android.support.v7.widget.LinearLayoutManager; | |
import android.support.v7.widget.RecyclerView; | |
import android.util.Base64; | |
import android.view.View; |
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
//create thumbnails! here | |
var params = | |
{ | |
steps: { | |
':original': { | |
robot: '/http/import', | |
url: images.full | |
} | |
}, | |
//template_id: 'edc8bf49090b42278a207f7ac0e6b277', |
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
var CommentSchema = new Schema({ | |
_log: { type: Schema.ObjectId, ref: 'Log' } | |
, created: { type: Date, default: new Date().toUTCString() } | |
, text: { type:String, default: ''} | |
, author: { | |
name: { | |
first: { type: String, default: ''}, | |
last: { type: String, default: ''} | |
}, | |
picture: { type: String }, |
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
{ | |
"_id": { | |
"$oid": "55e78de75dac5ed20153da87" | |
}, | |
"socialType": "facebook", | |
"message": "💥Who is ready to go hard in the paint at Life In Color!?? 😍 Don't wait! Get those tickets! 💋💥🎶 Nashville is about to get wild! September 18th!", | |
"updated": { | |
"$date": "2015-09-03T00:01:43.585Z" | |
}, | |
"created": { |
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
.checkbox-list { | |
margin: 0px; | |
padding: 0px; | |
list-style: none; | |
max-height: 310px; | |
overflow: auto; | |
} | |
.checkbox-list li { | |
width: 170px; |
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
$jc("#st-accordion").accordion({ | |
oneOpenedItem : true, | |
//this should fire when the accordion has opened | |
activate: function(event, ui) { | |
//This is the line of code in your accordion file that does the resizing | |
var $open = $jc('li.st-open'); | |
$open.css( 'height', $this.data( 'originalHeight' ) + $open.find('div.section-content').outerHeight( 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
var stats = require('../modules/stats'); | |
function weeklyStats(cb){ | |
stats.sendWeeklyStats(function(){ | |
cb(); | |
}); | |
} | |
weeklyStats(function(){ |
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
// Authentication Middleware for routes | |
// Author: Mike McCabe | |
var _ = require('underscore'); | |
// Publicly accessible auth middleware functions | |
// Allows for mix/match of different auth middleware functions | |
// The module only passes back the middleware functions that do the actual work | |
module.exports = { | |
// route middleware to make sure user is logged in |
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
var config = { | |
facebook: { | |
app_id: "1625542257666775" | |
} | |
} |
NewerOlder