Skip to content

Instantly share code, notes, and snippets.

View SpencerCooley's full-sized avatar

Spencer Cooley SpencerCooley

View GitHub Profile
<template>
<div class="row">
<div class="container">
<div class="col-md-4 col-md-offset-4">
<div class="col-md-12">
</div>
<div class="col-md-12 no-p no-m">
<ul class="error-list " v-for="error in submitErrors">
<li class="error">{{error}}</li>
import store from '../../../store.js'
import axios from 'axios'
import ContentApi from '../../../api.js'
const contentApi = new ContentApi();
import qs from 'qs'
export default {
data () {
return {
@SpencerCooley
SpencerCooley / Thing.vue
Created December 6, 2017 05:40
default starter for single file vue component
<template>
</template>
<script>
import store from '../store.js'
export default {
}
</script>
@SpencerCooley
SpencerCooley / index.html
Created December 3, 2017 00:27
html page
<html>
<head>
<title>Vue Contacts</title>
</head>
<body>
<div id="app"></div>
</body>
</html>
RequestHeader unset Authorization
#ProxyPreserveHost on
ProxyPass /s3files/ http://oct-production.s3-website-us-east-1.amazonaws.com/
#ProxyPassReverse /s3files/ http://s3.amazonaws.com/oct-production/
<!-- new krpano 1.19 feature: Javascript actions (can be faster than xml actions, HTML5 only) -->
<action name="vr_menu_following" type="Javascript" devices="html5"><![CDATA[
var hs1 = krpano.get("hotspot[vr_menu_bg]");
var hs2 = krpano.get("hotspot[vr_menu_home]");
var hs3 = krpano.get("hotspot[vr_menu_l]");
var hs4 = krpano.get("hotspot[vr_menu_r]");
if(!hs1.hovering && !hs2.hovering && !hs3.hovering && !hs4.hovering)
from __future__ import unicode_literals
from django.db import models
from django.contrib.auth.models import User
def Follow(models.Model):
consumer = models.ForeignKey(
'User',
on_delete=models.CASCADE,
[wt_cols_nine]
<h3>Posts</h3>
[wt_cols_three]
<a class="post-title" href="http://spencercooley.com/2016/05/22/django-setup-on-ubuntu-with-fabric-automation/">
<img src="http://spencercooley.com/wp-content/uploads/2016/05/blog-one.jpg">
</a>
<a class="post-title" href="http://spencercooley.com/2016/05/22/django-setup-on-ubuntu-with-fabric-automation/">Django Setup On Ubuntu With Fabric Automation</a>
\xffd8ffe000104a46494600010200000100010000ffed00a850686f746f73686f7020332e30003842494d040400000000008b1c025000065069636173611c026700144358724c7079476a76627359666e5f4d516778471c0228006246424d443031303030616366303330303030663333373030303032373766303030303536386130303030363239343030303062326261303030303738306630313030656531393031303030303239303130306666333630313030393964393031303000ffe2021c4943435f50524f46494c450001010000020c6c636d73021000006d6e74725247422058595a2007dc00010019000300290039616373704150504c0000000000000000000000000000000000000000000000000000f6d6000100000000d32d6c636d7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a64657363000000fc0000005e637072740000015c0000000b777470740000016800000014626b70740000017c000000147258595a00000190000000146758595a000001a4000000146258595a000001b80000001472545243000001cc0000004067545243000001cc0000004062545243000001cc00000040646573630000000000000003633200000000000000000000000000000000000000000000000000000000000000000000000000
{
u'ptype_product_id':59,
u'pet_identifiers':u'',
u'pet_images':None,
u'brdattr_weight':u' [
21,
24
] ', u' pbrd_is_mfd':False,
u'pet_received_by_location_on': u'2016-02-26T10:04:32.015152-05:00 ', u' brdattr_linked_id':-113,
u'brdattr_pet_type_id':-1,