Skip to content

Instantly share code, notes, and snippets.

@faust45
faust45 / $1
Created February 1, 2019 11:07
$code
@faust45
faust45 / $1
Created February 1, 2019 11:06
$code
@faust45
faust45 / $1
Created February 1, 2019 11:05
$code
@faust45
faust45 / $1
Created February 1, 2019 11:04
$code
@faust45
faust45 / $1
Created February 1, 2019 11:00
String file contents
@faust45
faust45 / $1
Created February 1, 2019 11:00
String file contents
@faust45
faust45 / sources.list
Created February 26, 2018 14:09 — forked from rohitrawat/sources.list
Ubuntu 16.04 Xenial default /etc/apt/sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
var GamePositionRow = React.createClass({
focus: function(endNumber) {
var el = this.refs["end_score_" + endNumber];
if (el) {
el.getDOMNode().focus();
getChannel("score:focus")(endNumber);
}
},
render: function() {
changed
score
value
focus
gameState
(upcoming live final)
team
result
time_remaining
var SwitchGroup = React.createClass({
componentDidMount: function() {
//var onChange = this.props.onChange;
// var el = this.getDOMNode().querySelectorAll("input[type=radio]");
//
// $(el).on("change", function(e) {
// if(onChange) {
// onChange(e);
// }
// });