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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(10); |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var id; | |
var Robot = function(robot) { | |
id = this.id; | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; |
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
Graphics Feature Status | |
Canvas: Software only, hardware acceleration unavailable | |
Flash: Software only, hardware acceleration unavailable | |
Flash Stage3D: Software only, hardware acceleration unavailable | |
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable | |
Compositing: Hardware accelerated and threaded | |
Rasterization: Software only, hardware acceleration unavailable | |
Threaded Rasterization: Enabled | |
Video Decode: Software only, hardware acceleration unavailable | |
Video Encode: Hardware accelerated |
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
Graphics Feature Status | |
Canvas: Software only, hardware acceleration unavailable | |
Flash: Software only, hardware acceleration unavailable | |
Flash Stage3D: Software only, hardware acceleration unavailable | |
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable | |
Compositing: Hardware accelerated and threaded | |
Rasterization: Software only, hardware acceleration unavailable | |
Threaded Rasterization: Enabled | |
Video Decode: Software only, hardware acceleration unavailable | |
Video Encode: Hardware accelerated |
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
Graphics Feature Status | |
Canvas: Software only, hardware acceleration unavailable | |
Flash: Software only, hardware acceleration unavailable | |
Flash Stage3D: Software only, hardware acceleration unavailable | |
Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable | |
Compositing: Software only, hardware acceleration unavailable | |
Rasterization: Software only, hardware acceleration unavailable | |
Threaded Rasterization: Unavailable | |
Video Decode: Software only, hardware acceleration unavailable | |
Video Encode: Software only, hardware acceleration unavailable |
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
WIKI: `In software engineering, continuous integration (CI) is the practice of merging all developer working copies to a shared mainline several times a day` | |
as many as ten times a day | |
**Non-continuous integration** | |
- people work in separate branches - project gets fragmented to multiple siloed branches | |
- N teams working separately on a product | |
- they integrate every 3 months | |
- each feature is tested separately with automtaed tests and tester | |
- integration stats: | |
- 100 conflicts |
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
# howto | |
- know your metric (events vs sampled measurements) | |
- create grafana dashboard for that | |
- define data ranges | |
- understand the data and define tresholds for triggers | |
- make sure you have a way to monitor your numbers | |
- start sampling numbers with items | |
- apply derivative (delta) or integral type (sum over time) of function on the data to detect errors | |
# influx samples (sampled every 10 seconds): |
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
The script: | |
#!/bin/bash | |
# eDP-1 connected primary 3200x1800+320+2160 (normal left inverted right x axis y axis) 294mm x 165mm | |
# DP-1 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 521mm x 293mm | |
xhost + | |
export DISPLAY=:1 | |
export XAUTHORITY=$(ps -C Xorg -f --no-header | sed -n 's/.*-auth //; s/ -[^ ].*//; p' | tail -1) |
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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |