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
#!/bin/bash | |
echo "deb http://repo.pritunl.com/stable/apt focal main" | sudo tee /etc/apt/sources.list.d/pritunl.list | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 7568D9BB55FF9E5287D586017AE645C0CF8E292A | |
curl https://raw.githubusercontent.com/pritunl/pgp/master/pritunl_repo_pub.asc | sudo apt-key add - | |
echo "deb https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-5.0.list | |
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - | |
apt update | |
apt -y install wireguard wireguard-tools | |
ufw disable | |
apt -y install pritunl mongodb-org |
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
a = input() | |
b = input() | |
print('Сколько камней ?') | |
r = int(input()) | |
i = 0 | |
o = 0 | |
while o == 0: | |
c = int(input()) | |
if not c == 2 or not c < 4: | |
r -= c |
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
'use strict'; | |
var template = document.querySelector('template'); | |
var templateContainer = 'content' in template ? template.content : template; | |
var newGallery = require('./gallery'); | |
var IMAGE_LOAD_TIMEOUT = 10000; | |
var Picture = module.exports = function(picture, i) { | |
this.data = picture; |