Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
{
make run
} &
{
sleep 20
until $(curl --output /dev/null --silent --head --fail http://localhost:3030); do
sleep 3
done
@jenni
jenni / UI_logs
Last active November 26, 2018 19:04
Messages
Checking for updates from http://backend:3030
Jenkins appears to be in an unhealthy state (startup auto-healthcheck)!
Ooh noes :-(. We are terribly sorry but it looks like Jenkins failed to upgrade, but even after the automated rollback we were unable to bring it back to life. Please report this issue to the Jenkins Evergreen issue tracker at https://github.com/jenkins-infra/evergreen/issues. Do not shutdown your instance as we have been notified of this failure and are trying to understand what went wrong to push a new update to fix the problem.
Jenkins detected as unhealthy. Rolling back to previous update level (Error: XML-RPC fault: SPAWN_ERROR: jenkins).
Jenkins is being restarted, health checking!
All downloads completed and snapshotting done, restarting Jenkins
All downloads completed, snapshotting data before restart
Starting to apply updates
Checking for updates from http://backend:3030
D, [2017-09-05T15:46:44.980720 #23207] DEBUG -- :
D, [2017-09-05T15:46:44.981000 #23207] DEBUG -- :
I, [2017-09-05T15:46:44.981243 #23207] INFO -- : Started GET "/admin/plugins/discourse-sync-to-googledrive/downloader" for ::1 at 2017-09-05 15:46:44 +0200
D, [2017-09-05T15:46:45.050667 #23207] DEBUG -- : Permalink Exists (0.7ms) SELECT 1 AS one FROM "permalinks" WHERE "permalinks"."url" = 'admin/plugins/discourse-sync-to-googledrive/downloader' LIMIT 1 [["url", "admin/plugins/discourse-sync-to-googledrive/downloader"]]
I, [2017-09-05T15:46:45.053534 #23207] INFO -- : Processing by DownloadersController#index as HTML
D, [2017-09-05T15:46:45.057681 #23207] DEBUG -- : UserAuthToken Load (1.0ms) SELECT "user_auth_tokens".* FROM "user_auth_tokens" WHERE ((auth_token = 'nD5zsfU6N02u0OeBITTBsbSWLpw=' OR
prev_auth_token = 'nD5zsfU6N02u0OeBITTBsbSWLpw=' OR
(auth_token = 'e8cf2188e02e89b7568de043ecb400a5' AND legacy)) AND rotated_at > '2017-07-07 13:46:45.0
class Pet
attr_reader :color, :breed, :name
attr_accessor :name
def initialize(color, breed)
@color = color
@breed = breed
@hungry = true
end
class Cat
attr_reader :color, :breed, :name
attr_accessor :name
def initialize(color, breed)
@color = color
@breed = breed
@hungry = true
end
def fav_foods
food_array = []
3.times do
puts "Name a favorite food."
food_array << gets.chomp
p food_array
puts "your favorite foods are #{food_array.join(", ")}"
end
end
if true
puts "this is true"
else
puts "this is false"
end
my_name = "Jen"
def greeting
puts "Please enter your name:"
name = gets.chomp
puts "Hello" + " " + name
end
greeting
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Bootstrap core CSS -->
<link href='https://fonts.googleapis.com/css?family=Amatic+SC' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<meta charset="utf-8">
$("#workrow").append("\
<div class='col-sm-4 col-xs-12'>\
<a href='#' class='work-img'>\
<div class='content'><img src='" + work[i].pic + "' class='img-responsive'></div>\
<span class='info'><p class='proj-title'>"+ work[i].title +"</p></span>\
</a>\
</div>\
");
var images = $("#workrow img");