https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
<!DOCTYPE html> | |
<html lang='`en'> | |
<head> | |
<meta charset='utf-8'/> | |
<title>Audio only stream example</title> | |
<script src="//cdn.jsdelivr.net/npm/hls.js@latest"></script> | |
<style> | |
video { | |
width: 640px; | |
height: 360px; |
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
Manual super: Alternative Design where subclass constructors do not automatically call superclass constructors
This Gist presents a new design of class-based object construction in ES6 that does not require use of the two-phase @@create protocol.
One of the characteristics of this proposal is that subclass constructors must explicitly super invoke their superclass's constructor if they wish to use the base class' object allocation and initialization logic.
An alternative version of this design automatically invokes the base constructor in most situations.
Notify is a utility for sending push notifications via Pushover from the command line. It can be run manually, but is most useful for sending notifications from shell scripts, cron jobs, and long running tasks.
To install, copy the contents of notify.php
to somewhere on your computer, and make it executable:
var html = "<style>"; | |
html += ".eye-holder{position:absolute;top:10px;left:10px;right:10px;bottom:10px;z-index:888;}.eyes{color:red;font-size:90px;position:absolute;font-family:Arial;font-weight:700;z-index:-1;-webkit-animation-duration:10s;-webkit-animation-timing-function:ease;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:normal;-moz-animation-duration:10s;-moz-animation-timing-function:ease;-moz-animation-iteration-count:infinite;-moz-animation-direction:normal;-o-animation-duration:10s;-o-animation-timing-function:ease;-o-animation-iteration-count:infinite;-o-animation-direction:normal;-ms-animation-duration:10s;-ms-animation-timing-function:ease;-ms-animation-iteration-count:infinite;-ms-animation-direction:normal;animation-duration:10s;animation-timing-function:ease;animation-iteration-count:infinite;animation-direction:normal}.eye-1{top:10px;left:6%;-webkit-animation-name:eyes_one;-moz-animation-name:eyes_one;-o-animation-name:eyes_one;-ms-animation-name:eyes_one;animation-name |
Seems to run stable for hours!
If you can't see your cursor after killing it, run
tput cnorm
Sometimes you may see a seq error if you run it multiple times with different resolutions in the same session. Easier to make a new session, or you can change it unset the variables used initially.
#!/usr/bin/env python2 | |
""" | |
Other Repositories of python-ping | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* https://github.com/l4m3rx/python-ping supports Python2 and Python3 | |
* https://bitbucket.org/delroth/python-ping |