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/sh | |
# Обновляем систему | |
echo "Проверка наличия обновлений..." | |
sudo pacman -Syu | |
# Создаём aurman_install директорию и переходим в неё | |
mkdir -p /tmp/aurman_install | |
cd /tmp/aurman_install |
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
git clone https://github.com/bazukas/obs-qtwebkit.git | |
cd obs-qtwebkit | |
make | |
sudo make install |
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 | |
set -e | |
echo "Date_start: `date +%Y-%m-%d-%H-%M-%S`" | |
### Vars ### | |
day=$((`date +%s` / (60*60*24))) | |
dayexp=5 | |
path="/" | |
spath="/snapshots/" |
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
#!/usr/bin/env python3 | |
def army(): | |
print ("Мы набираем людей в армию!") | |
name = input("Как Вас зовут? ") | |
print("Привет,",name) | |
age = int(input('Сколько вам лет?: ')) | |
if age < 18: |
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
Установка AceStream (Торрент ТВ) в Arch Linux | |
УстановкаAceStream - это довольно таки геморройное занятие, но если очень хочется, то вот пошаговая инструкция, которая сработала у меня. | |
1) Ставим pgp ключ | |
sudo pacman -S gnupg | |
gpg --keyserver pgp.mit.edu --recv-keys FCF986EA15E6E293A5644F10B4322F04D67658D8 | |
2) Обновляемся |
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
#============================================================================== | |
# Date : 09/04/2017 | |
# Author : Алексей Бойко | |
# Version : v.1.0 | |
# http://computer-genius.ru | |
#============================================================================== | |
background yes | |
use_xft yes | |
xftalpha 0.6 |