Skip to content

Instantly share code, notes, and snippets.

View valentineus's full-sized avatar
🏠
Working from home

Valentin Popov valentineus

🏠
Working from home
View GitHub Profile
@valentineus
valentineus / bbb-rebuild.sh
Created October 24, 2017 05:45
A script for rebuilding the timer recording.
#!/bin/sh
FILE='/root/list.txt'
MEETING=`head -n 1 "$FILE"`
sed -i 1d "$FILE"
bbb-record --rebuild "$MEETING" > /dev/null 2>&1
exit 0
@valentineus
valentineus / redmine.service
Created October 2, 2017 21:21
SystemD service for the standard Debian package.
# /etc/systemd/system/redmine.service
[Unit]
Description=Redmine server
After=syslog.target
After=network.target
[Service]
Type=simple
User=redmine
Group=redmine
#!/bin/sh
# Author: Valentin Popov
# Email: info@valentineus.link
# Date: 2017-08-23
# Usage: /bin/sh create_archive.sh /path/to/input /path/to/output
# Description: Packaging applications in the archive.
# Updating the Environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export PATH="$PATH:/usr/local/scripts"
@valentineus
valentineus / system_app.txt
Last active August 29, 2017 14:03
Список с описанием всего ПО в стандартной прошивке ver. 5.1.1 устройства Sony Xperia ZR.
* AnonymousData - Служба сбора и отправки анонимных данных и статистики использования Sony Mobile;
! AptxNotifier - Служба уведомлений при подключении устройства aptX. AptX - стандарт Bluetooth для передачи lossless аудио;
! Backup-Restore - Система резервного копирования Google;
! Backup-wizard - Графическая оболочка системы резервного копирования Google;
* BasicDreams - Встроенные стандартные заставки;
! Bluetooth - Библиотеки и служба для работы Bluetooth;
* Books - Приложение Google Play Книги;
! bootinfo - Библиотека получения информации об устройстве;
* BrowserProviderProxy - Служба синхронизации закладок браузера Chrome и приложений на его основе;
* Calculator - Стандартное приложение "Калькулятор";
@valentineus
valentineus / cloud9.sh
Created August 15, 2017 00:02
Cloud9 service for the init initialization system.
#!/bin/sh
### BEGIN INIT INFO
# Provides: cloud9
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starting Cloud9 SDK
# Description: Starting the development environment Cloud9 SDK
### END INIT INFO
@valentineus
valentineus / 01 - sources.list
Last active August 15, 2017 00:08
Standard repositories for Debian
deb http://ftp.de.debian.org/debian stretch main contrib non-free
deb-src http://ftp.de.debian.org/debian stretch main contrib non-free
deb http://ftp.de.debian.org/debian stretch-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian stretch-updates main contrib non-free
@valentineus
valentineus / cloud9.service
Last active July 24, 2017 18:49
Cloud9 service for the systemd initialization system.
# /etc/systemd/system/cloud9.service
[Unit]
Description=Cloud9 SDK
After=network.target
[Service]
WorkingDirectory=/home/cloud9/c9sdk
ExecStart=/usr/bin/node server.js -p 22020 -w /home/cloud9/workspace
Restart=always
StandardOutput=null