Skip to content

Commit 1ec50f2

Browse files
committed
update to move image to dashboard
1 parent e5c388c commit 1ec50f2

4 files changed

Lines changed: 15 additions & 46 deletions

File tree

getSources.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
TODAY=2165
2+
TODAY=2177
33
START=$TODAY-365
44
echo "{ \"list\": ["
55

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +0,0 @@
1-
body {
2-
font-variant:small-caps;
3-
font-family:Lucida,Helvetica,sans-serif;
4-
font-weight:500;
5-
}
6-
/* line 1, paper/_typography.scss */
7-
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td {
8-
font-variant:small-caps;
9-
font-family:Lucida,Helvetica,sans-serif;
10-
font-weight:500;
11-
text-decoration: none;
12-
}
13-
14-
.sidebar .logo a.home {
15-
font-family:Lucida,Helvetica,sans-serif;
16-
}
17-
18-
.mainbar {
19-
background-image: url('../icon.png');
20-
text-transform: uppercase;
21-
color: #ffffff;
22-
padding-left: 80px;
23-
24-
background-size: 80px;
25-
background-repeat: no-repeat;
26-
width: 100%;
27-
display: block;
28-
background-position-y: 10px;
29-
background-position-x: 20px;
30-
}

resources/js/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11

22
function initXKCD() {
33
var project = rundeckPage.project();
4-
var path = rundeckPage.path();
54
var para = document.createElement("div");
65

76
para.style.fontSize = "150%";
@@ -14,7 +13,7 @@ function initXKCD() {
1413

1514
var x = jQuery(".main-panel .content").prepend(para);
1615

17-
if(rundeckPage.path() === "menu/jobs"){
16+
if(rundeckPage.path() === "menu/projectHome"){
1817
//on any project page
1918
jQuery.ajax({
2019
beforeSend: function(xhr){

resources/service/xkcdsource.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
{ "list": [
2-
{"month": "2", "num": 1800, "link": "", "year": "2017", "news": "", "safe_title": "Chess Notation", "transcript": "", "alt": "I've decided to score all my conversations using chess win-loss notation. (??)", "img": "https://imgs.xkcd.com/comics/chess_notation.png", "title": "Chess Notation", "day": "17"},
3-
{"month": "2", "num": 1801, "link": "", "year": "2017", "news": "", "safe_title": "Decision Paralysis", "transcript": "", "alt": "Good point--making no decision is itself a decision. So that's a THIRD option I have to research!", "img": "https://imgs.xkcd.com/comics/decision_paralysis.png", "title": "Decision Paralysis", "day": "20"},
4-
{"month": "2", "num": 1802, "link": "", "year": "2017", "news": "", "safe_title": "Phone", "transcript": "", "alt": "[*disables social networking accounts*] [*social isolation increases*] Wait, why does this ALSO feel bad?", "img": "https://imgs.xkcd.com/comics/phone.png", "title": "Phone", "day": "22"},
5-
{"month": "2", "num": 1803, "link": "", "year": "2017", "news": "", "safe_title": "Location Reviews", "transcript": "", "alt": "Google and Yelp keep deleting my scathing reviews of the Mariana Trench, the Chernobyl reactor core, the jet stream, and the equator.", "img": "https://imgs.xkcd.com/comics/location_reviews.png", "title": "Location Reviews", "day": "24"},
6-
{"month": "2", "num": 1804, "link": "", "year": "2017", "news": "", "safe_title": "Video Content", "transcript": "", "alt": "\"So, like, sexy news videos?\" \"No, people have tried that--it's still just video content. We need to actually inform people THROUGH making out. I would call it 'Mouth Content,' but I think that's already the title of a Neil Cicierega album.\"", "img": "https://imgs.xkcd.com/comics/video_content.png", "title": "Video Content", "day": "27"},
7-
{"month": "3", "num": 1805, "link": "", "year": "2017", "news": "", "safe_title": "Unpublished Discoveries", "transcript": "", "alt": "If you must know, I'm currently researching how to save this emailed tax form as a regular PDF so I can print and sign it. Our work isn't a lock for the Nobel, but we're in the running.", "img": "https://imgs.xkcd.com/comics/unpublished_discoveries.png", "title": "Unpublished Discoveries", "day": "1"},
8-
{"month": "3", "num": 1806, "link": "", "year": "2017", "news": "", "safe_title": "Borrow Your Laptop", "transcript": "", "alt": "If used with software that could keep up, a scroll wheel mapped to send a stream of 'undo' and 'redo' events could be kind of cool.", "img": "https://imgs.xkcd.com/comics/borrow_your_laptop.png", "title": "Borrow Your Laptop", "day": "3"},
9-
{"month": "3", "num": 1807, "link": "", "year": "2017", "news": "", "safe_title": "Listening", "transcript": "", "alt": "Sure, you could just ask, but this also takes care of the host gift thing.", "img": "https://imgs.xkcd.com/comics/listening.png", "title": "Listening", "day": "6"},
10-
{"month": "3", "num": 1808, "link": "", "year": "2017", "news": "", "safe_title": "Hacking", "transcript": "", "alt": "The dump also contains a list of millions of prime factors, a 0-day Tamagotchi exploit, and a technique for getting gcc and bash to execute arbitrary code.", "img": "https://imgs.xkcd.com/comics/hacking.png", "title": "Hacking", "day": "8"},
11-
{"month": "3", "num": 1809, "link": "", "year": "2017", "news": "", "safe_title": "xkcd Phone 5", "transcript": "", "alt": "The phone will be collected by the toll operators and mailed back to you within 4-6 weeks.", "img": "https://imgs.xkcd.com/comics/xkcd_phone_5.png", "title": "xkcd Phone 5", "day": "10"},
12-
{"month": "3", "num": 1810, "link": "", "year": "2017", "news": "", "safe_title": "Chat Systems", "transcript": "", "alt": "I'm one of the few Instagram users who connects solely through the Unix 'talk' gateway.", "img": "https://imgs.xkcd.com/comics/chat_systems.png", "title": "Chat Systems", "day": "13"},
13-
{"month": "3", "num": 1811, "link": "", "year": "2017", "news": "", "safe_title": "Best-Tasting Colors", "transcript": "", "alt": "I recognize that chocolate is its own thing on which reasonable people may differ. Everything else here is objective fact.", "img": "https://imgs.xkcd.com/comics/best_tasting_colors.png", "title": "Best-Tasting Colors", "day": "15"},
142
{"month": "3", "num": 1812, "link": "", "year": "2017", "news": "", "safe_title": "Onboarding", "transcript": "", "alt": "'So we just have a steady flow of metal piling up in our server room? Isn't that a problem?' 'Yeah, you should bring that up at our next bismuth meeting.'", "img": "https://imgs.xkcd.com/comics/onboarding.png", "title": "Onboarding", "day": "17"},
153
{"month": "3", "num": 1813, "link": "", "year": "2017", "news": "", "safe_title": "Vomiting Emoji", "transcript": "", "alt": "My favorite might be U+1F609 U+1F93F WINKING FACE VOMITING.", "img": "https://imgs.xkcd.com/comics/vomiting_emoji.png", "title": "Vomiting Emoji", "day": "20"},
164
{"month": "3", "num": 1814, "link": "", "year": "2017", "news": "", "safe_title": "Color Pattern", "transcript": "", "alt": "\u266b When the spacing is tight / And the difference is slight / That's a moir\u00e9 \u266b", "img": "https://imgs.xkcd.com/comics/color_pattern.png", "title": "Color Pattern", "day": "22"},
@@ -364,4 +352,16 @@
364352
{"month": "6", "num": 2162, "link": "", "year": "2019", "news": "", "safe_title": "Literary Opinions", "transcript": "", "alt": "If I really focus, I can distinguish between John Steinbeck and John Updike, or between Gore Vidal and Vidal Sassoon, but not both at once.", "img": "https://imgs.xkcd.com/comics/literary_opinions.png", "title": "Literary Opinions", "day": "12"},
365353
{"month": "6", "num": 2163, "link": "", "year": "2019", "news": "", "safe_title": "Chernobyl", "transcript": "", "alt": "You know when you can't hear your speakers, and you keep turning various volume controls up higher and higher in confusion, and then someone hits the mute button and there's a deafening blast of sound? That's basically what happened at Chernobyl.", "img": "https://imgs.xkcd.com/comics/chernobyl.png", "title": "Chernobyl", "day": "14"},
366354
{"month": "6", "num": 2164, "link": "", "year": "2019", "news": "", "safe_title": "Glacier", "transcript": "", "alt": "The Norwegian adaptation of The Sword in the Stone takes things in a weird direction.", "img": "https://imgs.xkcd.com/comics/glacier.png", "title": "Glacier", "day": "17"},
367-
{"month": "6", "num": 2165, "link": "", "year": "2019", "news": "", "safe_title": "Millennials", "transcript": "", "alt": "Ironically, I've been having these same arguments for at least a decade now. I thought we would have moved on by now, but somehow the snide complaints about millennials continue.", "img": "https://imgs.xkcd.com/comics/millennials.png", "title": "Millennials", "day": "19"}] }
355+
{"month": "6", "num": 2165, "link": "", "year": "2019", "news": "", "safe_title": "Millennials", "transcript": "", "alt": "Ironically, I've been having these same arguments for at least a decade now. I thought we would have moved on by now, but somehow the snide complaints about millennials continue.", "img": "https://imgs.xkcd.com/comics/millennials.png", "title": "Millennials", "day": "19"},
356+
{"month": "6", "num": 2166, "link": "", "year": "2019", "news": "", "safe_title": "Stack", "transcript": "", "alt": "Gotta feel kind of bad for nation-state hackers who spend years implanting and cultivating some hardware exploit, only to discover the entire target database is already exposed to anyone with a web browser.", "img": "https://imgs.xkcd.com/comics/stack.png", "title": "Stack", "day": "21"},
357+
{"month": "6", "num": 2167, "link": "", "year": "2019", "news": "", "safe_title": "Motivated Reasoning Olympics", "transcript": "", "alt": "[later] I can't believe how bad corruption has become, especially given that our league split off from the statewide one a month ago SPECIFICALLY to protest this kind of flagrantly biased judging.", "img": "https://imgs.xkcd.com/comics/motivated_reasoning_olympics.png", "title": "Motivated Reasoning Olympics", "day": "24"},
358+
{"month": "6", "num": 2168, "link": "", "year": "2019", "news": "", "safe_title": "Reading in the Original", "transcript": "", "alt": "The articles are much shorter, but I assume that's because this version predates the merger with the Hawaiian text that created the modern Hawaiian-Greek hybrid wiki-pedia.", "img": "https://imgs.xkcd.com/comics/reading_in_the_original.png", "title": "Reading in the Original", "day": "26"},
359+
{"month": "6", "num": 2169, "link": "", "year": "2019", "news": "", "safe_title": "Predictive Models", "transcript": "", "alt": "WE WILL ARREST THE REVOLUTION MEMBERS [AT THE JULY 28TH MEETING][tab] \"Cancel the meeting! Our cover is blown.\"", "img": "https://imgs.xkcd.com/comics/predictive_models.png", "title": "Predictive Models", "day": "28"},
360+
{"month": "7", "num": 2170, "link": "", "year": "2019", "news": "", "safe_title": "Coordinate Precision", "transcript": "", "alt": "40 digits: You are optimistic about our understanding of the nature of distance itself.", "img": "https://imgs.xkcd.com/comics/coordinate_precision.png", "title": "Coordinate Precision", "day": "1"},
361+
{"month": "7", "num": 2171, "link": "", "year": "2019", "news": "", "safe_title": "Shadow Biosphere", "transcript": "", "alt": "The typical Shadow Biology Department is housed in a building coated in a thin layer of desert varnish which renders it invisible to normal-world university staff.", "img": "https://imgs.xkcd.com/comics/shadow_biosphere.png", "title": "Shadow Biosphere", "day": "3"},
362+
{"month": "7", "num": 2172, "link": "", "year": "2019", "news": "", "safe_title": "Lunar Cycles", "transcript": "", "alt": "The Antikythera mechanism had a whole set of gears specifically to track the cyclic popularity of skinny jeans and low-rise waists.", "img": "https://imgs.xkcd.com/comics/lunar_cycles.png", "title": "Lunar Cycles", "day": "5"},
363+
{"month": "7", "num": 2173, "link": "", "year": "2019", "news": "", "safe_title": "Trained a Neural Net", "transcript": "", "alt": "It also works for anything you teach someone else to do. \"Oh yeah, I trained a pair of neural nets, Emily and Kevin, to respond to support tickets.\"", "img": "https://imgs.xkcd.com/comics/trained_a_neural_net.png", "title": "Trained a Neural Net", "day": "8"},
364+
{"month": "7", "num": 2174, "link": "", "year": "2019", "news": "", "safe_title": "First News Memory", "transcript": "", "alt": "Psychology researchers say our 'flashbulb' memories of big events can be unreliable, but I clearly remember watching live on CNN as Challenger crashed into and destroyed the Berlin Wall.", "img": "https://imgs.xkcd.com/comics/first_news_memory.png", "title": "First News Memory", "day": "10"},
365+
{"month": "7", "num": 2175, "link": "", "year": "2019", "news": "", "safe_title": "Flag Interpretation", "transcript": "", "alt": "When Salvador Dal\u00ed died, it took months to get all the flagpoles sufficiently melted.", "img": "https://imgs.xkcd.com/comics/flag_interpretation.png", "title": "Flag Interpretation", "day": "12"},
366+
{"month": "7", "num": 2176, "link": "", "year": "2019", "news": "", "safe_title": "How Hacking Works", "transcript": "", "alt": "If only somebody had warned them that the world would roll them like this.", "img": "https://imgs.xkcd.com/comics/how_hacking_works.png", "title": "How Hacking Works", "day": "15"},
367+
{"month": "7", "num": 2177, "link": "", "year": "2019", "news": "", "safe_title": "Gastroenterology", "transcript": "", "alt": "\"Mostly it means that I'm acutely aware that the kid one table over coughed as the server walked past with our food.\"", "img": "https://imgs.xkcd.com/comics/gastroenterology.png", "title": "Gastroenterology", "day": "17"}] }

0 commit comments

Comments
 (0)