Лекции:
- Введение в GitHub
- Continuous Integration
- Travis CI, пример сервиса для Continuous Integration
Лекции:
<script> | |
requestAnimationFrame(() => { | |
sendCounter('low-fmp-border') | |
requestAnimationFrame(() => { | |
sendCounter('high-fmp-border') | |
}) | |
}) | |
</script> | |
<div id="main">Main content</div> |
const weights = { | |
fcp: 2, | |
fmp: 5, | |
js: 3, | |
tti: 1 | |
} | |
const negativeWeights = { | |
fcp: 3, | |
fmp: 6, |
const express = require('express'); | |
const app = express(); | |
app.get('/', (req, res) => { | |
res.setHeader('Content-Type', 'text/html; charset=utf-8'); | |
res.setHeader('Transfer-Encoding', 'chunked'); | |
res.write(` | |
<!doctype html> | |
<head> |
class MasterSlave(Model): | |
# There should be only one Updater in polling mode, so we have to check that via this model | |
collection = 'master_slave' | |
ttl = 10 | |
holder_thread = None | |
@classmethod | |
def ensure_indexes(cls): | |
cls.get_collection().create_index([ | |
('created', pymongo.DESCENDING), |
bind 'set completion-query-items 500' | |
bind 'set page-completions Off' | |
bind 'set colored-completion-prefix On' | |
bind 'set colored-stats On' | |
bind 'set completion-ignore-case On' | |
bind 'set enable-keypad On' | |
bind 'set show-all-if-ambiguous On' | |
bind 'TAB:menu-complete' |
{ | |
"log": { | |
"level": "trace" | |
}, | |
"dns": { | |
"servers": [ | |
{ | |
"address": "tls://8.8.8.8" | |
} | |
] |