To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
Personal Settings > Developer settings > Personal access tokens
class Dispatch extends EventTarget { | |
dispatch(eventName) { | |
const ev = new Event(eventName); | |
if (("on" + eventName) in this) { | |
this["on" + eventName](ev); | |
} | |
this.dispatchEvent(ev); | |
} |
export default class http { | |
async download(endpoint) { | |
const token = this.loadToken(); | |
const invoice = await axios({ | |
url: `${this.NEST_APP_IP}/${endpoint}`, | |
method: 'GET', | |
responseType: 'blob', | |
headers: { | |
Authorization: `Bearer ${token}` | |
}}).then((response) => { |
apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |