This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script src="https://code.jquery.com/jquery-2.1.1.js"></script> | |
</head> | |
<body> | |
<video width="500" height="281" controls> | |
<source src="http://download.wavetlan.com/SVV/Media/HTTP/H264/Talkinghead_Media/H264_test1_Talkinghead_mp4_480x360.mp4" type="video/mp4" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# heavily influenced by: | |
# https://askubuntu.com/questions/27314/script-to-display-all-terminal-colors | |
import sys | |
foreground_only = "-f" in sys.argv[1:] or "--fg-only" in sys.argv[1:] | |
write = sys.stdout.write | |
for fgbg in range(38, 48): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Port | |
attr_accessor :output_port | |
def initialize(inner_port = nil) | |
inner_port.output_port = self if inner_port | |
@inner_port = inner_port | |
end | |
def perform(*args) | |
@inner_port.perform(*args) |