brew cask
brew tap homebrew/cask-fonts
brew install font-fira-code
brew install font-Fira-Code-nerd-font
brew install font-hack-nerd-font
Устанавливаем Travis-CI в github, и даём доступ к репозиториям.
Идём на travis-ci.com, и логинимся через github. Должна выскочить панель. Если проекты автоматически не появятся, то жмём крестик.
На travis-ci.com нужно будет добавить ключ для проекта. Для этого идём в github, в настройки разработчика, и переходит к персональным токенам и жмём сюда для генерации ключа.
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"regexp" | |
"time" |
#!/usr/bin/env bash | |
SLEEP_DURATION=${SLEEP_DURATION:=1} # default to 1 second, use to speed up tests | |
progress-bar() { | |
local duration | |
local columns | |
local space_available | |
local fit_to_screen | |
local space_reserved |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<!-- <link rel="stylesheet" href="style.css"> --> | |
<title>Document</title> | |
<style> | |
html { |
- Go to the video url you want to download
- Open devtools into browser (
ctrl+shift+i
in firefox) - Show the network tab
- Reload tab with video and look into devtools
- Find line with text 1080p.m3u8 and copy url (like: https://edge-7.facecast.net/secure/VgTub-XSFSFFSFSF/DFSDGDSGDSGGD-pyJiOPQ/34634636/4367546/235235/1080p.m3u8)
- Download and install Streamlink
- Open console and execute:
streamlink hls://URL_FROM_STEP_5 best -o video1080p.ts
Мета-теги - это служебные слова, которые содержат важную информацию о веб-документе для поисковых систем. В большинстве случаев размещаются внутри тега head
.
Список мета-тегов для атрибута name
:
description
— описание веб-страницы, должно быть достаточно длинным и полнымkeywords
— ключевые слова,generator
— CMS сайта,author
— автор,copyright
— авторские права,robots
— правила индексирования страницы для роботов,viewport
— данные о настройке области просмотра
The proposal you’re about to read is not just a proposal. We have a working implementation of almost everything we discussed here. We encourage you to checkout and build our branch: our fork, with the relevant branch selected. Building and using the implementation will give you a better understanding of what using it as a developer is like.
Our implementation ended up differing from the proposal on some minor points. As our last action item before making a PR, we’re writing documentation on what we did. While I loathe pointing to tests in lieu of documentation, they will be helpful until we complete writing docs: the unit tests.
This repo also contains a bundled version of npm that has a new command, asset
. You can read the documentation for and goals of that comma
// Swift's untyped errors are a goddam PiTA. Here's the pattern I use to try to work around this. | |
// The goal is basically to try to guarantee that every throwing function in the app throws an | |
// ApplicationError instead of some unknown error type. We can't actually enforce this statically | |
// But by following this convention we can simplify error handling | |
enum ApplicationError: Error, CustomStringConvertible { | |
// These are application-specific errors that may need special treatment | |
case specificError1 | |
case specificError2(SomeType) |