Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
And next time, use crtl-c to stop.
| // based on http://avoidtheinevitable.wordpress.com/2013/01/21/instapaper-random-article-bookmarklet/ updated to | |
| // Instapaper's latest design. This only picks a random article from the first page of Instapaper items | |
| javascript:var l=document.querySelectorAll(".article_item .article_inner_item .host a");l[Math.floor(1+Math.random()*l.length)].click(); |
Stopping a Jekyll server with ctrl-z can cause issues as the process is not stopped fully. To kill it:
$ lsof -wni tcp:4000
$ kill -9 <PID of process>
And next time, use crtl-c to stop.
| 1. my+ 1001. se+ 2001. thedaily+ 3001. empire+ 4001. herb+ | |
| 2. +online 1002. test+ 2002. giant+ 3002. +cook 4002. +teen | |
| 3. the+ 1003. fish+ 2003. survey+ 3003. +deluxe 4003. affordable+ | |
| 4. +web 1004. hk+ 2004. +conference 3004. +crunch 4004. proto+ | |
| 5. +media 1005. florida+ 2005. twit+ 3005. michigan+ 4005. +ity | |
| 6. web+ 1006. fine+ 2006. pick+ 3006. cars+ 4006. myhome+ | |
| 7. +world 1007. loan+ 2007. +dvd 3007. +forest 4007. plastic+ | |
| 8. +net 1008. page+ 2008. cinema+ 3008. yacht+ 4008. +kc | |
| 9. go+ 1009. fox+ 2009. desi+ 3009. +wallet 4009. +foot | |
| 10. +group 1010. +gift 2010. act+ 3010. +contest 4010. +sup |
CODE!
| // The events are from https://www.w3.org/TR/html5/semantics-embedded-content.html#media-elements-event-summary | |
| import videojs from 'video.js' | |
| const Plugin = videojs.getPlugin('plugin') | |
| const EVENTS = [ | |
| 'loadstart', | |
| 'progress', | |
| 'suspend', | |
| 'abort', | |
| 'error', |
| <script src="https://f.convertkit.com/ckjs/ck.5.js"></script> | |
| <form action="https://app.convertkit.com/forms/FORM_ID/subscriptions" method="post" data-sv-form="FORM_ID" data-uid="UID_FROM_FORM_HTML"> | |
| <ul data-element="errors"></ul> | |
| <div data-element="fields"> | |
| <input name="fields[first_name]" type="text"> | |
| <input name="email_address"> | |
| <button data-element="submit">Subscribe</button> | |
| </div> | |
| </form> |
| spacing: { | |
| "13": '3.25rem', | |
| "15": '3.75rem', | |
| "17": '4.25rem', | |
| "18": '4.5rem', | |
| "19": '4.75rem', | |
| "76": "19rem", | |
| "84": "21rem", | |
| "88": "22rem", | |
| "92": "23rem", |