Skip to content

Instantly share code, notes, and snippets.

View mikeumus's full-sized avatar
🪐
ARTEMIS

Michael Duane Mooring mikeumus

🪐
ARTEMIS
View GitHub Profile
(trusty)mikeumus@localhost:~/Downloads/RentalGeek/Development/fonda/config$ rails server
=> Booting Unicorn
=> Rails 4.1.1 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/home/mikeumus/.rvm/gems/ruby-2.1.2/gems/activerecord-4.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:881:in `initialize': FATAL:  Peer authentication failed for user "fonda" (PG::ConnectionBad)
 from /home/mikeumus/.rvm/gems/ruby-2.1.2/gems/activerecord-4.1.1/lib/active_record/connection_adapters/postgresql_adapter.rb:881:in `new'
@mikeumus
mikeumus / codeship-fonda.md
Last active August 29, 2015 14:06
codeship fonda commands

Modify your Setup Commands

  • Feel free to delete all the comments and type in your own commands
  • Each line is treated like a command that you execute in a local shell.
  • i.e.: rvm use 1.9.3
  • i.e.: bundle install
rvm use ruby-2.1.2
rvm gemset create fonda
rvm use ruby-2.1.2@fonda
The "fb-root" div has not been created, auto-creating
No authorizer factory was configured for Ember Simple Auth - specify one if backend requests need to be authorized.
Uncaught TypeError: Cannot read property 'signIn' of undefined portola.herokuapp.com/assets/portola-ca9290afdb80d331c3122273e1725f7b.js:1
Uncaught TypeError: Cannot read property 'name' of null cdn.firebase.com/v0/firebase.js:1
Object
Object
XMLHttpRequest cannot load https://www.googleapis.com/oauth2/v1/userinfo?access_token=ya29.dwBpIwEFPEyR8R0AAAC66G8OuXLUJt1ANwQTCPkQI_NNmnZlkd-6XUQUMiIYWQ. Credentials flag is 'true', but the 'Access-Control-Allow-Credentials' header is ''. It must be 'true' to allow credentials. portola.herokuapp.com/login:1
11
Uncaught TypeError: Cannot read property 'email' of undefined portola.herokuapp.com/assets/portola-ca9290afdb80d331c3122273e1725f7b.js:1
@mikeumus
mikeumus / gist:1cf0f9e58215096f3ad8
Last active August 29, 2015 14:13
RG - destroy all pics error
irb(main):004:0> PropertyPhoto.destroy_all
Excon::Errors::Forbidden: Expected(200) <=> Actual(403 Forbidden)
response => #<Excon::Response:0x007f9e34d12278 @data={:body=>"", :headers=>{"Content-Type"=>"application/xml; charset=UTF-8", "Content-Length"=>"197", "Date"=>"Fri, 09 Jan 2015 15:16:03 GMT", "Expires"=>"Fri, 09 Jan 2015 15:16:03 GMT", "Cache-Control"=>"private, max-age=0", "Server"=>"UploadServer (\"Built on Dec 19 2014 10:24:45 (1419013485)\")", "Alternate-Protocol"=>"443:quic,p=0.02"}, :status=>403, :remote_ip=>"74.125.228.10", :local_port=>19547, :local_address=>"172.18.203.242"}, @body="", @headers={"Content-Type"=>"application/xml; charset=UTF-8", "Content-Length"=>"197", "Date"=>"Fri, 09 Jan 2015 15:16:03 GMT", "Expires"=>"Fri, 09 Jan 2015 15:16:03 GMT", "Cache-Control"=>"private, max-age=0", "Server"=>"UploadServer (\"Built on Dec 19 2014 10:24:45 (1419013485)\")", "Alternate-Protocol"=>"443:quic,p=0.02"}, @status=403, @remote_ip="74.125.228.10", @local_port=19547, @local_address="172.18.203.
@mikeumus
mikeumus / adminpanel-pg-error.md
Last active August 29, 2015 14:16
Treeline.io AdminPanel template errors
error: Sending 500 ("Server Error") response: 
 error: password authentication failed for user "mikeumus"
  at [object Object].Connection.parseE (/home/mikeumus/Downloads/Bevry/Docport.io/dev/docport-dev-001/api/machines/6edbad64-fa7f-4121-832d-7b636cae7f50_0.3.1/node_modules/pg/lib/connection.js:534:11)
  at [object Object].Connection.parseMessage (/home/mikeumus/Downloads/Bevry/Docport.io/dev/docport-dev-001/api/machines/6edbad64-fa7f-4121-832d-7b636cae7f50_0.3.1/node_modules/pg/lib/connection.js:361:17)
  at Socket.<anonymous> (/home/mikeumus/Downloads/Bevry/Docport.io/dev/docport-dev-001/api/machines/6edbad64-fa7f-4121-832d-7b636cae7f50_0.3.1/node_modules/pg/lib/connection.js:105:22)
  at Socket.emit (events.js:107:17)
  at readableAddChunk (_stream_readable.js:163:16)
  at Socket.Readable.push (_stream_readable.js:126:10)
  at TCP.onread (net.js:529:20)
@mikeumus
mikeumus / npm-link-thing.md
Last active August 29, 2015 14:17
`npm link` thing
@mikeumus
mikeumus / extras-generate-missing-src.md
Created March 15, 2015 16:00
extras generate missing src/
(precise)mikeumus@localhost:~/Downloads/Bevry/DocPad/Dev/extras$ sudo ./app generate
Casteasoft-zurb-foundation.docpad
info: Welcome to DocPad v6.74.0 (global installation: /home/mikeumus/Downloads/Bevry/DocPad/Dev/docpad)
notice: If everyone who saw this message donated $1/week, maintaining DocPad would become sustainable: http://docpad.org/donate
info: Contribute: http://docpad.org/docs/contribute
info: Plugins: 
info: Environment: development
notice: DocPad is currently running without any plugins installed. You probably want to install some: http://docpad.org/plugins
info: Generating...
@mikeumus
mikeumus / egsbwf.md
Last active August 29, 2015 14:17
extras generate stopping on balupton-webiste feedr

mikeumus bevry/extras ./app generate https://github.com/mikeumus/extras/blob/docpad-6.x-dev/app.coffee#L400

warning: Feedr is parsing [http://i.vimeocdn.com/video/216759288_200x150.jpg] on [/home/mikeumus/tmp/282a76ec63fdd6e7c73cb41f3f000019.jpg-meta.json], parse failed SyntaxError: Unexpected token }
  at Object.parse (native)
  at /home/mikeumus/Downloads/Bevry/DocPad/Dev/extras/skeletons/balupton-website/node_modules/docpad-plugin-cachr/node_modules/feedr/out/lib/feedr.js:365:25
  at /home/mikeumus/Downloads/Bevry/DocPad/Dev/extras/skeletons/balupton-website/node_modules/docpad-plugin-cachr/node_modules/feedr/out/lib/feedr.js:352:20
  at evalmachine.<anonymous>:336:14
  at /home/mikeumus/Downloads/Bevry/DocPad/Dev/extras/skeletons/balupton-website/node_modules/docpad-plugin-cachr/node_modules/feedr/node_modules/safefs/node_modules/graceful-fs/graceful-fs.js:102:5
@mikeumus
mikeumus / designer.html
Last active August 29, 2015 14:20
designer
<link rel="import" href="../paper-slider/paper-slider.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;