Skip to content

Instantly share code, notes, and snippets.

@rsyuzyov
rsyuzyov / piler.sh
Created October 30, 2025 10:24 — forked from gkwurst/piler.sh
Installation script for Mail Piler (open source version) with Manticore on Ubuntu 24.04 Noble (credit cmer)
#!/bin/bash
#
#
# This script installs the latest open source version of Mail Piler (mailpiler.org) from the master
# branch on GitHub by compiling it from source. It also installs all dependencies, including a MySQL database.
#
# You should run this script as root on a vanilla Ubuntu 24.04 installation.
#
#
set -o errexit

Setting up http server on android with termux

Setting SSH server

To be able to make all procedures without pain you should have physical keyboard or just install ssh server and connect to your device shell from computer.

Folow this guide to setup ssh server.

Installing needed stuff

@rsyuzyov
rsyuzyov / syncthing_api_examples.md
Created December 9, 2024 17:01 — forked from ingestbot/syncthing_api_examples.md
Syncthing API Examples
@rsyuzyov
rsyuzyov / AnyDesk-Reset.cmd
Created November 21, 2024 06:56 — forked from janasco/AnyDesk-Reset.cmd
AnyDesk Reset
@echo off & setlocal enableextensions
title Reset AnyDesk
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit)
chcp 437
call :stop_any
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf"
del /f "%APPDATA%\AnyDesk\service.conf"
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\"
rd /s /q "%temp%\thumbnails" 2>NUL
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails"
@rsyuzyov
rsyuzyov / pgsql_backup.sh
Created June 28, 2018 06:36 — forked from sirbrillig/pgsql_backup.sh
Postgresql daily backup script.
#!/bin/bash
#
# Backup a Postgresql database into a daily file.
#
BACKUP_DIR=/pg_backup
DAYS_TO_KEEP=14
FILE_SUFFIX=_pg_backup.sql
DATABASE=
USER=postgres
@rsyuzyov
rsyuzyov / jessie-mssql.md
Created June 15, 2018 19:00 — forked from brianherman/jessie-mssql.md
Debian Jessie and mssql-server

Download mssql from the microsoft website.

wget https://packages.microsoft.com/ubuntu/16.04/mssql-server/pool/main/m/mssql-server/mssql-server_14.0.1.246-6_amd64.deb

dpkg -i mssql-server_14.0.1.246-6_amd64.deb 

The next command will install dependancies.

sudo apt-get -f install 
#!/bin/sh
# simple installer for Ubuntu 14.04 https://bitbucket.org/EvilBeaver/1script/wiki/Home
echo 'Starting wgeter latest develops'
wget --continue http://oscript.io/downloads/night-build/latest.zip
unzip -o latest.zip -d osc-engine
renames.txt eol=crlf
*.bsl eol=crlf