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> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
</head> | |
<body> | |
<video id="video" width="640" height="480" autoplay></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
#!/bin/bash | |
# | |
# Example of how to parse short/long options with 'getopt' | |
# | |
OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
echo "$OPTS" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CGPDeviceCategory</key> | |
<string>GamePad</string> | |
<key>CGPDeviceType</key> | |
<string>PS3</string> | |
<key>CGPDisplayNameOvr</key> | |
<string>DualShock3 Analogue Triggers</string> |
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
require 'formula' | |
class Jack2 <Formula | |
homepage 'http://jackaudio.org' | |
version '1.9.16' | |
url 'https://github.com/jackaudio/jack2-releases/releases/download/v1.9.16/jack2-macOS-v1.9.16.tar.gz' | |
def install | |
system "xar -xf jack2-osx-1.9.16.pkg" |
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
Name | Hex Code | |
---|---|---|
Absolute Zero | #0048BA | |
Acid | #B0BF1A | |
Acid green | #B0BF1A | |
Aero | #7CB9E8 | |
Aero blue | #C9FFE5 | |
Air superiority blue | #72A0C1 | |
Alabama crimson | #AF002A | |
Alabaster | #EDEAE0 | |
Alice blue | #F0F8FF |
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
<html> | |
<head> | |
<title>Fixing Scrolling Controlled by Space, Page Up, Page Down with a fixed top navbar</title> | |
<style> | |
html { | |
font: 14px Arial; | |
} | |
* { | |
margin: 0; | |
padding: 0; |
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
//ISODate struct | |
type ISODate struct { | |
Format string | |
time.Time | |
} | |
//UnmarshalJSON ISODate method | |
func (Date *ISODate) UnmarshalJSON(b []byte) error { | |
var s string | |
if err := json.Unmarshal(b, &s); err != nil { |
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
import React from 'react'; | |
import deburr from 'lodash/deburr' | |
import Autosuggest from 'react-autosuggest'; | |
import match from 'autosuggest-highlight/match' | |
import parse from 'autosuggest-highlight/parse' | |
import TextField from '@material-ui/core/TextField' | |
import Paper from '@material-ui/core/Paper' | |
import MenuItem from '@material-ui/core/MenuItem' | |
import { withStyles } from '@material-ui/core/styles' |
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
import React from 'react'; | |
import deburr from 'lodash/deburr' | |
import Autosuggest from 'react-autosuggest'; | |
import match from 'autosuggest-highlight/match' | |
import parse from 'autosuggest-highlight/parse' | |
import TextField from '@material-ui/core/TextField' | |
import Paper from '@material-ui/core/Paper' | |
import MenuItem from '@material-ui/core/MenuItem' | |
import { withStyles } from '@material-ui/core/styles' |
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
const countries = [ | |
"Afghanistan", | |
"Albania", | |
"Algeria", | |
"American Samoa", | |
"Andorra", | |
"Angola", | |
"Anguilla", | |
"Antarctica", | |
"Antigua And Barbuda", |
NewerOlder