- rsync for windows
- chocolatey
- or cygwin version
- instserv.exe and srvany.exe from Win2k3 Resource Kit [http://www.microsoft.com/en-us/download/confirmation.aspx?id=17657]
- put the files above and the config files in c:\rsyncd
- CMD: instsrv.exe rsyncd "C:\rsyncd\srvany.exe"
- run the reg file to configure the service
- start the service with your control panel
This file contains hidden or 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
hdmi_group=2 | |
hdmi_mode=35 |
This file contains hidden or 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
/etc/init.d/mysql stop || systemctl stop mysqld | |
mysqld_safe --skip-grant-tables | |
mysql --user=root mysql | |
update user set Password=PASSWORD('new-password') where user='root'; | |
flush privileges; | |
exit; |
This file contains hidden or 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
#### Contents of the preconfiguration file (for xenial) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string de_DE | |
# The values can also be preseeded individually for greater flexibility. | |
d-i debian-installer/language string de | |
d-i debian-installer/country string DE | |
d-i debian-installer/locale string de_DE.UTF-8 | |
# Optionally specify additional locales to be generated. |
This file contains hidden or 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
gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.pdf |
This file contains hidden or 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
sudo apt-get build-dep mutt -y | |
wget https://bitbucket.org/mutt/mutt/downloads/mutt-1.7.0.tar.gz | |
tar xzf mutt-1.7.0.tar.gz | |
cd mutt-1.7.0 | |
./configure --with-sasl --with-ssl --enable-imap --enable-pop --enable-smtp --enable-hcache | |
make | |
sudo make install | |
cd .. | |
rm -rf mutt-1.7.0 | |
sudo apt-get install urlview -y |
This file contains hidden or 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
# https://askubuntu.com/questions/250733/can-i-do-a-silent-or-unattended-release-upgrade | |
# The following command upgrades to the new stable release without prompts: | |
do-release-upgrade -f DistUpgradeViewNonInteractive | |
# The following command upgrades to the current development release without prompts: | |
do-release-upgrade -d -f DistUpgradeViewNonInteractive | |
# Really Unattended | |
## --force-confdef: ask dpkg to decide alone when it can and prompt otherwise. | |
## --force-confold: do not modify the current configuration file, the new version is installed with a .dpkg-dist suffix. | |
# create file /etc/apt/apt.conf.d/local |
This file contains hidden or 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 | |
git clone https://github.com/nextcloud/client_theming /tmp/nextcloud-client-build | |
cd /tmp/nextcloud-client-build | |
git submodule update --init --recursive | |
mkdir build-linux | |
cd build-linux | |
cmake -D OEM_THEME_DIR=`pwd`/../nextcloudtheme ../client | |
make | |
sudo make install |
This file contains hidden or 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
# Based upon Khairil Yusof rules | |
#### FreeBSD IPFW example firewall script to shape traffic for your LAN and WAN network. | |
# original: https://bash.cyberciti.biz/security/freebsd-ipfw-traffic-shaping-firewall-script/ | |
#firewall command | |
fwcmd="/sbin/ipfw" | |
#interfaces | |
wifi=ath0 | |
wire=fxp0 | |
oif=tun0 | |
vpn=tun1 |
This file contains hidden or 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 | |
# remove old container | |
docker rm -f tinc | |
# if no data available generate your keys | |
if [ ! -d "data" ]; then | |
mkdir data; | |
docker run -d \ | |
--name tinc \ |