Skip to content

Instantly share code, notes, and snippets.

{"new_edits":false,"docs":[{"type":"inspectionphoto","_id":"1008-3","_rev":"3-3a210e2bd34ee12bd75c9a26766059ed","_revisions":{"start":3,"ids":["3a210e2bd34ee12bd75c9a26766059ed","67dce7388e4ecd4462430ace277e7710","654a2ac9505fa2b5cb513d3f2d2e56c0"]},"_attachments":{"793ab97f.jpg":{"content_type":"image/jpeg","digest":"md5-3e9dfe41351f42724c5beb2af1957476","data":"/9j/4AAQSkZJRgABAQEASABIAAD/4gVYSUNDX1BST0ZJTEUAAQEAAAVIYXBwbAIgAABzY25yUkdCIFhZWiAH0wAHAAEAAAAAAABhY3NwQVBQTAAAAABhcHBsAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWFwcGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtyWFlaAAABCAAAABRnWFlaAAABHAAAABRiWFlaAAABMAAAABR3dHB0AAABRAAAABRjaGFkAAABWAAAACxyVFJDAAABhAAAAA5nVFJDAAABhAAAAA5iVFJDAAABhAAAAA5kZXNjAAAE2AAAAG5jcHJ0AAAElAAAAEFkc2NtAAABlAAAAv5YWVogAAAAAAAAdEsAAD4dAAADy1hZWiAAAAAAAABacwAArKYAABcmWFlaIAAAAAAAACgYAAAVVwAAuDNYWVogAAAAAAAA81IAAQAAAAEWz3NmMzIAAAAAAAEMQgAABd7///MmAAAHkgAA/ZH///ui///9owAAA9wAAMBsY3VydgAAAAAAAAABAjMAAG1sdWMAAAAAAAAADwAAAAxlblVTAAAAJAAAAp5lc0VTAAAALAAAAUxkYURLAAAANAAAAd
Remote Address:92.51.130.213:80
Request URL:http://ifcontrol.ch/_api/user%2Fuxoqw8c-photos/_bulk_docs
Request Method:POST
Status Code:412 Precondition Failed
Request Headersview parsed
POST /_api/user%2Fuxoqw8c-photos/_bulk_docs HTTP/1.1
Host: ifcontrol.ch
Connection: keep-alive
Content-Length: 731868
Pragma: no-cache
/* global FileReader */
'use strict';
var _ = require('underscore');
var app = require('../../../helpers/namespace');
var PouchDB = require('pouchdb');
var photoDB = new PouchDB('photostore');
// Takes care of storing and retrieving inspection photos with Pouch
(chore-release-contd) >grunt release --debug
Running "release" task
[D] Task source: /Users/espy/Sites/hood.ie/hoodie-pocket-UIKit/node_modules/grunt-release-hoodie/tasks/release_hoodie.js
>> Local Npm module "grunt-bump" not found. Is it installed?
>> Local Npm module "grunt-conventional-changelog" not found. Is it installed?
[D] Note: No comitting, tagging or pushing in debug mode
[D] Using the following options for grunt-bump:
{
"commitMessage": "chore(release): v%VERSION%",
"files": [
CACHE MANIFEST
# Time: Tue Apr 22 2014 19:26:48 GMT+0200 (CEST)
CACHE:
images/pattern.jpg
images/apple-touch-icon.png
images/arrow_select_white.png
images/favicon.png
images/glyphicons-halflings-white.png
images/glyphicons-halflings.png
@espy
espy / designer.html
Created June 3, 2014 16:01
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
>ls -la /usr/local
total 448
drwxrwxr-x 32 espy staff 1088 31 Mär 22:39 .
drwxr-xr-x@ 13 root wheel 442 27 Mär 11:16 ..
-rw-r--r--@ 1 espy wheel 6148 7 Jan 2013 .DS_Store
drwxrwxrwx 11 espy wheel 374 27 Mär 11:16 .dscache
drwxr-xr-x 14 espy staff 476 27 Mär 15:42 .git
-rw-r--r-- 1 espy staff 232 27 Mär 15:12 .gitignore
-rw-r--r-- 1 espy staff 3158 27 Mär 15:12 CODEOFCONDUCT.md
-rw-r--r-- 1 espy staff 687 27 Mär 15:12 CONTRIBUTING.md
>env
rvm_bin_path=/Users/espy/.rvm/bin
TERM_PROGRAM=iTerm.app
GEM_HOME=/Users/espy/.rvm/gems/ruby-1.9.3-p194
TERM=xterm
SHELL=/bin/bash
IRBRC=/Users/espy/.rvm/rubies/ruby-1.9.3-p194/.irbrc
TMPDIR=/var/folders/df/d4gk92hs7ts317rs0wgrntdc0000gn/T/
Apple_PubSub_Socket_Render=/tmp/launch-WsQXvT/Render
OLDPWD=/Users/espy/Sites
This happened after I did 'npm cache clean', because 'hoodie new' was using an old version of my-first-hoodie. After that, 'hoodie new' no longer worked at all.
I tried another 'hoodie cache clean', 'npm cache clean' and reinstalled the hoodie-cli. Error persists:
>hoodie new heya --verbose
.d$b. .d$b. .d$$$$$$b. .d$$$$$$b. .d$$$$$$b. .d$b..d$$$$$$$$b.
$$$$$..$$$$$.$$$$$$$$$$$b .$$$$$$$$$$$b $$$$$$$$$$b $$$$$$$$$$$$$$$P'
$$$$$$$$$$$$d$$$$$$$$$$$$bd$$$$$$$$$$$$b$$$$$$$$$$$b$$$$$$$$$$$$$$$b.
$$$$$$$$$$$$Q$$$$$$$$$$$$PQ$$$$$$$$$$$$P$$$$$$$$$$$P$$$$$$$$$$$$$$$P'
Object
info:Object
authentication_db:"_users"
authentication_handlers:Array[3]
0:"oauth"
1:"cookie"
2:"default"
ok:true
userCtx:Object
name:null