Skip to content

Instantly share code, notes, and snippets.

View nosmall's full-sized avatar

Jirka aka NOsmall or NoSmallCZ nosmall

View GitHub Profile
@nosmall
nosmall / Clam-AntiVirus+clamscan_daily.md
Last active December 10, 2017 19:26
Clam AntiVirus + clamscan_daily.sh

Clam AntiVirus + clamscan_daily.sh

sudo su
apt update

Install AV

apt -y install clamav
#sed -i -e "s/^NotifyClamd/#NotifyClamd/g" /etc/clamav/freshclam.conf
#dpkg-reconfigure clamav-freshclam
@nosmall
nosmall / Pure-FTPD-TLS-Encryption-letsencrypt.md
Last active October 27, 2022 01:34
Pure-FTPD, TLS Encryption - letsencrypt on Ubuntu 16.04

Pure-FTPD on Ubuntu 16.04 (lazy guide)

sudo su
apt update

Install Pure-FTPD

apt install -y pure-ftpd
@nosmall
nosmall / Deluge-with-Deluge-Web-UI.md
Last active August 5, 2019 17:14
Deluge with Deluge-Web-UI on Ubuntu 16.04

Deluge with Deluge-Web on Ubuntu 16.04 (lazy guide)

sudo su
adduser deluge --shell /dev/null --disabled-password --disabled-login
add-apt-repository ppa:deluge-team/ppa \
@nosmall
nosmall / speedtest-cli-app-by-speedtest-net.md
Last active December 2, 2019 10:18
speedtest-cli application by speedtest.net - Ubuntu 16.04

speedtest-cli (lazy guide)

speedtest-cli application by speedtest.net - Ubuntu 16.04

sudo su

quick install & run speed-test

apt update \
@nosmall
nosmall / LAMP-on-Ubuntu-16.04.md
Last active June 21, 2018 11:54
Install Linux, Apache, MySQL, PHP (LAMP) on Ubuntu 16.04

LAMP on Ubuntu 16.04 (lazy guide)

PHP-FPM 5.6 & 7.1, Apache2.4, MySQL, Sendmail

# You must be root
sudo su
apt update \
&& apt install -y software-properties-common \
@nosmall
nosmall / ren utilman.exe to utilman.old copy cmd.exe to utilman.exe
Last active January 30, 2024 02:07
ren utilman.exe to utilman.old copy cmd.exe to utilman.exe
Toto nastavení GPO zablokuje spouštění Utilman z login screenu v rámci celé domény :)
----------------------------------------------------------------------------------
Computer Configuration > Policies > Windows Settings > Security Settings > File System
>>>> Add File > Type in the following;
Navigate to C:\Windows\System32
Find UTILMAN.EXE
Right Click, then Properties
Security, Advanced, Permissions (Continue)
Change the owner at the top from "TrustedInstaller" to "Administrators" (ensure you have and Administrator account)
Add a permission, and then click Select a "Principal"
@nosmall
nosmall / return_first_free_id.sql
Created November 1, 2016 15:38
SQL get first free ID
(SELECT MIN(t1.UID + 1) AS id FROM task_read t1 LEFT JOIN task_read t2 ON t1.UID + 1 = t2.UID WHERE t2.UID IS NULL)
@nosmall
nosmall / make_dbc_maps_vmaps.bat
Last active July 9, 2018 00:14
TrinityCore - Extractor - DBC, MAPS, VMAPS - Windows (batch)
mapextractor.exe
vmap4extractor.exe
md vmaps
vmap4assembler.exe Buildings vmaps
pause
@nosmall
nosmall / make_mmaps.sh
Last active June 16, 2016 07:27
TrinityCore - Extractor - MMAPS - Linux (Ubuntu)
#! /bin/bash
mkdir -p mmaps
screen -L -A -m -d -S tmp_mmaps_generator ./mmaps_generator
echo "Check Progress: screen -x tmp_mmaps_generator"
echo ""
###################################################################################################
# AUCTION HOUSE BOT SETTINGS
#
# AuctionHouseBot.Update.Interval
# Description: Interval in seconds for AHBot to get updated
# Default: 20
#
AuctionHouseBot.Update.Interval = 20