Skip to content

Instantly share code, notes, and snippets.

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;
wp-settings-1=libraryContent%3Dbrowse%26imgsize%3Dfull%26editor%3Dhtml; wp-settings-time-1=1457226608; wordpress_logged_in_ee24226a3dc62ae900169d1921c8ba18=Mike%7C1458520097%7CBCQqlZDTx2ihRdM1qmByWYsduHcJsEktKk9fEKb5emF%7C1207f353ed09cb0992a80ad90399d0da18ac460852b8f746434855cabba49f2f; mp_78f27b321492918a71717286166f3922_mixpanel=%7B%22distinct_id%22%3A%20%221534e6a45993f5-0f2fd65c33b013-1d3f6e5e-13c680-1534e6a459a310%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%7D; mp_mixpanel__c=1; _ga=GA1.2.387082452.1457304310; mp_160306eb3f026b14fb6548368396e0a9_mixpanel=%7B%22distinct_id%22%3A%20%221534f6112381-0941cd9235e0a6-1d3f6e5e-13c680-1534f6112393cd%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22__mps%22%3A%20%7B%22%24os%22%3A%20%22Mac%20OS%20X%22%2C%22%24browser%22%3A%20%22Chrome%22%2C%22%24browser_version%22%3A%2049%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_r
//create thumbnails! here
var params =
{
steps: {
':original': {
robot: '/http/import',
url: images.full
}
},
//template_id: 'edc8bf49090b42278a207f7ac0e6b277',
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 },
{
"_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": {
.checkbox-list {
margin: 0px;
padding: 0px;
list-style: none;
max-height: 310px;
overflow: auto;
}
.checkbox-list li {
width: 170px;
$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 ) );
}
var stats = require('../modules/stats');
function weeklyStats(cb){
stats.sendWeeklyStats(function(){
cb();
});
}
weeklyStats(function(){
// 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
var config = {
facebook: {
app_id: "1625542257666775"
}
}