Skip to content

Instantly share code, notes, and snippets.

View bobbywilson0's full-sized avatar

Bobby Wilson bobbywilson0

View GitHub Profile
{
"totalItems": 193,
"success": true,
"errors": [],
"results": [
{
"groupId": 2098,
"name": "Rivals of Ixalan",
"abbreviation": "RIX",
"supplemental": false,
@bobbywilson0
bobbywilson0 / index.html
Last active June 15, 2017 17:57
ask science chart
<html>
<head>
<style>
.chart rect {
fill: steelblue;
}
.chart rect:hover {
fill: turquoise;
}
def bootstrap
reseller = FactoryGirl.create(:reseller)
FactoryGirl.create(:shipping_price_list, reseller_id: reseller.id)
@template = create_website_template
create_theme_website(@template)
@user = FactoryGirl.create(:user, reseller_id: reseller.id, auth_token: SecureRandom.urlsafe_base64)
@website = FactoryGirl.create(:website, :active_template_id => @template.id, :user_id => @user.id)
end
def user_logs_in
Dec 03 13:37:26 rhea rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="4132" x-info="http://www.rsyslog.com"] exiting on signal 15.
Dec 03 13:37:26 rhea kernel: imklog 5.8.6, log source = /proc/kmsg started.
Dec 03 13:37:26 rhea rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="6612" x-info="http://www.rsyslog.com"] start
check process delayed_job with pidfile /srv/www/meetfm/shared/pids/delayed_job.pid
start program = "/srv/www/meetfm/current/script/delayed_job -e production start"
stop program = "/srv/www/meetfm/current/script/delayed_job -e production stop"
## CURL ##
Started GET "/" for 127.0.0.1 at 2013-10-10 17:45:09 +0000
Processing by PagesController#show as
Dalli/SASL authenticating as app14233431%40heroku.com
Dalli/SASL: Authenticated
Rendered layouts/_clicky_external.html.haml (5.6ms)
Rendered layouts/_snapengage.html.haml (4.3ms)
Rendered pages/home.html.haml within layouts/corporate (2801.9ms)
Completed 200 OK in 2819ms (Views: 581.3ms | ActiveRecord: 4756.6ms)
worker_processes 5
user "deploy"
working_directory "/srv/www/meetfm/current"
listen "/srv/www/meetfm/shared/sockets/unicorn.sock", :backlog => 1024, :tcp_nodelay => tr
ue, :tcp_nopush => false, :tries => 5, :delay => 0.5, :accept_filter => "httpready"
timeout 60
{
"deploy": {
"discourse": {
"database": {
"adapter": "postgresql",
"host": "aaa.amazonaws.com",
"port": "5432",
"database": "bbb",
"pool": "5",
"username": "ccc",
NODE: ["opsworks_commons", "opsworks_agent", "opsworks", "opsworks_initial_setup", "pa
ckages", "opsworks_bundler", "opsworks_rubygems", "ruby", "ruby_enterprise", "dependencies", "ebs", "a
pache", "ganglia", "logrotate", "deploy", "rails", "unicorn", "applications", "ssh_users", "tags", "la
nguages", "kernel", "os", "os_version", "network", "counters", "hostname", "fqdn", "domain", "ipaddres
s", "macaddress", "ip6address", "ohai_time", "chef_packages", "keys", "dmi", "ec2", "cloud", "lsb", "p
latform", "platform_version", "platform_family", "virtualization", "etc", "current_user", "command", "
root_group", "filesystem", "block_device", "memory", "cpu", "uptime_seconds", "uptime", "idletime_seco
nds", "idletime", "recipes", "roles"]
[2013-09-24T15:33:57+00:00] DEBUG: Re-raising exception: Chef::Exceptions::ResourceNotFound - resource template[/etc/monit/conf.d/unicorn_web_app-splice_web.monitrc] is configured to notify resource service[monit] with action restart, but service[monit] cannot be found in the resource collection.