Bridging on-premise hosting to the Cloud. Secure. Redundant. Scalable.
A new way to manage your Kubernetes, CoreOS stack.
Kubernetes Anywhere - Any Cloud. Any Distribution.
// based on code from https://medium.com/@art.stories/scribd-export-notes-workaround-13af221879d6 | |
var annotations = document.querySelector('.annotations'); | |
var notesParagraphs = Array.from(annotations.querySelectorAll('p, span.page_num, strong.annotation_type')); | |
notesParagraphs.reverse(); | |
var notesText = notesParagraphs.map((paragraph) => `<p>${paragraph.innerHTML}</p>`).join(''); | |
var win = window.open("", "Title", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=200,top="+(screen.height-400)+",left="+(screen.width-840)); | |
win.document.body.innerHTML = `<div>${notesText}</div>` |
// export attendee list is broken | |
// scrape meetup.com/group-name/events/[id]/attendees for names. | |
// run from `console` in web inspector | |
// make sure pop-up window is allowed / enabled | |
var annotations = document.querySelector('.attendees-list'); | |
var notesParagraphs = Array.from(annotations.querySelectorAll('._memberItem-module_name__BSx8i, .text--bold text--ellipsisOneLine')); | |
var notesText = notesParagraphs.map((paragraph) => `${paragraph.innerHTML}`).join(''); | |
var win = window.open("", "Title", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=600.text--bold text--ellipsisOneLine00,top="+(screen.height-400)+",left="+(screen.width-840)); | |
win.document.body.innerHTML = `<div>${notesText}</div>` |
// scrape sched page to list name, company and position for speakers. | |
// based on code from https://medium.com/@art.stories/scribd-export-notes-workaround-13af221879d6 | |
// and scribd_export.js | |
var annotations = document.querySelector('.sched-container-people'); | |
var notesParagraphs = Array.from(annotations.querySelectorAll('h2, div.sched-event-details-company, div.sched-event-details-position')); | |
var notesText = notesParagraphs.map((paragraph) => `<p>${paragraph.innerHTML}</p>`).join(''); | |
var win = window.open("", "Title", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=200,top="+(screen.height-400)+",left="+(screen.width-840)); | |
win.document.body.innerHTML = `<div>${notesText}</div>` |
From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:
There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.
That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.
twitter:description
meta, referenceOn descriptions,
// You can set a variable to a function like this: | |
function myFunc(){ | |
var foo= 500; | |
// foo is declared inside the function so it cannot be accessed outside of the function. | |
return foo; | |
} | |
var a = myFunc(); |
// Adjust location of 'back to top' near the bottom of the page | |
function notTooNearTheBottom() { | |
var viewportHeight = $(window).height(); | |
var actionsArea = $(window).scrollTop() + viewportHeight; | |
var bottomBoundary = $(document).height() - 90; // this is our 'safe area' | |
if( actionsArea > bottomBoundary ) { | |
// console.log('near the bottom - move 'up to top', hide 'comments'); | |
$('#action-top').css('top', bottomBoundary); | |
} |