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
var myElement = document.getElementById('myElement'); | |
// manage an element, and its listeners | |
var mc = new Hammer.Manager(myElement); | |
// a pan event begins when we exceed the threshold in the direction | |
// once the pan event has begun, pan events will fire for all directions | |
var pan = new Hammer.Pan({ | |
direction: Hammer.DIRECTION_LEFT, | |
threshold: 5 // Minimal pan distance required before recognizing |
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
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"net/url" | |
"sync" | |
"testing" |
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
#!/bin/bash | |
# This is a simple script that increments the integer in a the 'build-version' | |
# file, and makes a new commit. The new commit will be tagged with the branch | |
# and version | |
# | |
# You may specify a path. If no path is specified, the working directory will be | |
# used. | |
# | |
# Eventually we might want to replace this with a proper CI pipline, but this |
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>Audio only stream example</title> | |
<script src='https://cdn.dashjs.org/latest/dash.all.min.js'></script> | |
<style> | |
video { |
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>Audio only stream example</title> | |
<script src="//cdn.jsdelivr.net/npm/hls.js@latest"></script> | |
<style> | |
video { | |
width: 640px; | |
height: 360px; |
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
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
"key": "alt+f", | |
"command": "settings.action.search", | |
"when": "inSettingsEditor" | |
}, | |
{ | |
"key": "ctrl+f", | |
"command": "-settings.action.search", |