-
-
Save abodacs/16ae77522b25cbf28acd5c04e935e0ed to your computer and use it in GitHub Desktop.
links collection of interesting stuff -- be careful --don't be evil !!
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
check minidns | |
check checktls.com | |
-- | |
## | |
random | |
ssh [email protected] -p 2022 "tee -a /etc/dropbear/authorized_keys|tee -a ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub | |
mount -t cifs -o vers=1.0,uid=1000,iocharset=utf8,sec=ntlm,credentials=/tmp/.cred //192.168.123.45/home /tmp/wintmp #synology SMB1 | |
mount -t cifs -o vers=3.0,uid=1000,iocharset=utf8,sec=ntlmv2,credentials=/tmp/.cred //192.168.123.45/home /tmp/winshare#synology SMB3 | |
git add -A ;git commit -m "$(date -u +%Y-%m-%d-%H.%M)"" $COMMITCOMMENT" ;git push | |
## name files like mod date (in this case timelaspse for android)## for i in *mp4;do mv $i lapse_$(date +%Y-%m-%d -r $i).$i ;done | |
git config [--global] user.email "[email protected]" | |
git config [--global] user.name "User Name" | |
https://serverfault.com/questions/533513/how-to-get-tx-rx-bytes-without-ifconfig | |
https://unix.stackexchange.com/questions/166999/how-to-display-the-ip-address-of-the-default-interface-with-internet-connection | |
https://medium.com/@george.shuklin/do-not-miss-etc-machine-id-31d21f028246 | |
https://www.thegeekstuff.com/2011/11/vnstat-network-traffic-monitor/ | |
https://stackoverflow.com/questions/2388087/how-to-get-cron-to-call-in-the-correct-paths | |
https://wiki.openwrt.org/doc/howto/dropbear.public-key.auth | |
https://www.computerhope.com/unix/ulpstat.htm | |
### | |
## | |
[linux:kernel] | |
echo 240 > /proc/sys/kernel/hung_task_timeout_secs | |
http://tonylixu.blogspot.com/2014/01/linux-kernel-tuning-swappiness-and.html | |
https://serverfault.com/questions/606185/how-does-vm-overcommit-memory-work | |
https://www.linuxatemyram.com/play.html # linux-disk-cache | |
https://www.linuxquestions.org/questions/linux-newbie-8/limit-disk-cache-size-4175479195/ | |
https://redis.io/topics/faq#background-saving-fails-with-a-fork-error-under-linux-even-if-i-have-a-lot-of-free-ram | |
-- | |
--#find Vodafone Ho[me|t]spots with openWRT iw | |
iw wlan3 scan|grep -e ^BSS -e SSID: -e signal:|grep -B2 odafone|grep -v ^-- | while read bs ;do read si;read ss; echo ${si/signal: /} $bs $ss;done|sort -n | |
-- | |
[metering] | |
https://www.tummy.com/articles/isolating-heavy-load/ | |
https://support.rackspace.com/how-to/checking-system-load-on-linux/ | |
http://www.brendangregg.com/blog/2017-08-08/linux-load-averages.html | |
https://docs.docker.com/config/containers/runmetrics/#find-the-cgroup-for-a-given-container | |
https://askubuntu.com/questions/2411/how-do-i-find-out-which-process-is-eating-up-my-bandwidth | |
-- | |
[systemd] | |
https://www.admintome.com/blog/turning-off-systemd-resolvd/ | |
https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu | |
-- | |
[TLSv1.3] | |
##APACHE | |
#ensure that mod_headers.so and mod_reqtimeout.so are loaded | |
##httpd.conf## | |
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure | |
TraceEnable off | |
RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500 | |
Header always append X-Frame-Options SAMEORIGIN | |
Header always set Strict-Transport-Security "max-age=155523542; includeSubdomains; preload" | |
Header always set X-Content-Type-Options nosniff | |
##end## | |
####ssl.conf#### | |
SSLProtocol -all +TLSv1.2 +TLSv1.3 | |
SSLCipherSuite "HIGH;!aNULL;!MD5;!3DES;!CAMELLIA;!AES128;!RSA;!RC4" | |
SSLCompression Off | |
SSLSessionTickets Off | |
SSLOpenSSLConfCmd Curves secp521r1:secp384r1:prime256v1 | |
SSLOpenSSLConfCmd ECDHParameters Automatic | |
##end## | |
[1] https://community.qualys.com/thread/11386 | |
[2] https://github.com/ssllabs/research/wiki/SSL-Server-Rating-Guide#cipher-strength | |
[3] https://github.com/ssllabs/ssllabs-scan/issues/600 | |
[4] https://community.letsencrypt.org/t/howto-a-with-all-100-s-on-ssl-labs-test-using-apache2-4-read-warnings/2436 | |
-- | |
[ubunutu:debian:delete old kernels] (keep most recent 3) | |
cd /lib/modules/;sudo apt-get purge $(ls -1|tac|tail -n+4|while read a;do echo linux-image-$a linux-headers-$a;done) | |
-- | |
[autodns] | |
#1 get autodns cli with: git clone https://github.com/osiegmar/autodns-cli.git ; cd autodns-cli;sudo python setup.py install | |
#2 export all zones ( listing seems not to work 100% with the cli ATM) , save it as csv, then modify following command: | |
tail -n+2 zone_inventory_2019-02-01.csv|sort |cut -d";" -f1|while read a;do autodns zone-info --zone $a 2>&1 |grep -v "<change"|sed 's/^/'$a':\t/g' ;done|grep -e 1.2.3.4 -e domain.name.com | |
-- | |
[smtp:console:credentialtest] | |
[email protected];read passmtp; (echo EHLO smtp-server.net ;sleep 0.3; echo AUTH PLAIN $(echo -ne '\0'$user'\0'$passmtp | base64) ;sleep 0.2;echo QUIT;sleep 1)|openssl s_client -starttls smtp -crlf -connect smtp-server.net:587 2>&1 |grep "^235 A" | |
--- | |
[find multiple] | |
https://www.unix.com/linux/137274-simplified-find-command-find-multiple-file-types.html | |
https://stackoverflow.com/questions/7190565/unix-find-multiple-file-types | |
-- | |
[perdition] | |
#is an imap proxy | |
#we assume you already generated nginx dh 4096 for perfect ssl grading with: time openssl dhparam -dsaparam -out /etc/nginx/ssl/dhparam.pem 4096 | |
#disable pop and imap in /etc/default/perdition | |
##perdition-reload.sh## | |
cat /etc/letsencrypt/live/privkey/privkey.pem /etc/nginx/ssl/dhparam.pem >> ~/perdition_dh_cert.pem; | |
chmod 0600 ~/perdition_dh_cert.pem | |
/etc/init.d/perdition restart | |
###EOF### | |
#^make reload script executable | |
chmod +x /root/reload_perdition_cert.sh | |
##: perdition.imap4.conf ## | |
outgoing_server imap.realmailserver.com:143 | |
#connection_logging | |
#debug | |
log_facility local5 | |
#no_lookup | |
##^only direct ip | |
timeout 40 | |
ssl_mode tls_all_force | |
ssl_cert_file /root/perdition_dh_cert.pem | |
ssl_key_file /etc/letsencrypt/live/my-proxy-host.com/privkey.pem | |
ssl_ca_path /etc/ssl/certs/ | |
###EOF### | |
##: perdition.imap4s.conf | |
protocol IMAP4S | |
outgoing_server imap.realmailserver.com:993 #connection_logging | |
#connection_logging | |
#debug | |
log_facility local5 | |
#no_lookup | |
##^only direct ip | |
timeout 40 | |
ssl_mode ssl_all_force | |
ssl_cert_file /root/perdition_dh_cert.pem | |
ssl_key_file /etc/letsencrypt/live/my-proxy-host.com/privkey.pem | |
ssl_ca_path /etc/ssl/certs/ | |
##EOF### | |
-- | |
[gtx 1050 noveau ubuntu nvidia freeze lock] | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=! acpi_osi=\"Windows 2009\" pcie_port_pm=off pci=nomsi iommu=soft" | |
-- | |
[make:custom:wrt54g] | |
https://www.instructables.com/id/Build-a-Professional-Prototype-Case-for-a-Linksys-/ | |
--- | |
[piwik|matomo] | |
set up mysql | |
CREATE USER 'piwik'@'localhost' IDENTIFIED BY 'asdknjaskjdnasd'; | |
GRANT ALL PRIVILEGES ON piwik . * TO 'piwik'@'localhost'; | |
FLUSH PRIVILEGES; | |
!!INSTALL GeoIP-DB first(including update URL) | |
(if vhosts are not properly logged or anything try smth like below) | |
sed 's/\(.\+\)CustomLog\(.\+\)combined/ LogFormat "%v %h %l %u %t \\"%r\\" %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\"" vhost_combined\n\1CustomLog\2 vhost_combined/g' * -i | |
(then after your logging rules match, do dummy call to all your URL's, e.g.:) | |
grep Server *|grep -e verName -e verAlia|cut -d":" -f2|sed 's/ServerAlias\|ServerName//g'|grep -v "#"|sed 's/ //g'|sort|uniq|while read a;do curl -kLa "https://"$a >/dev/null & curl -kLa "http://"$a >/dev/null ;done | |
import_logs.py may ignore --accept-invalid-ssl-certificate , maybe disable version check like: | |
if config.options.accept_invalid_ssl_certificate: ##previously with "and python version check" | |
python ~/www/piwik/misc/log-analytics/import_logs.py --url=https://piwik.domain.tld --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots --hostname="*" --add-sites-new-hosts --accept-invalid-ssl-certificate --log-format-name=common_vhost /var/log/apache/*.log | |
~/www/piwik/console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='https://piwik.domain.tld' | |
https://matomo.org/docs/update/ | |
https://matomo.org/faq/how-to-install/faq_98/ | |
https://stackoverflow.com/questions/34478471/configuring-piwik-accessed-via-an-nginx-reverse-proxy | |
https://forum.matomo.org/t/keine-funktion-hinter-apache-reverse-proxy/7354 | |
https://github.com/matomo-org/matomo/issues/647 | |
https://github.com/matomo-org/matomo/issues/11438 | |
-- | |
[awk] | |
https://stackoverflow.com/questions/16618371/using-awk-to-grab-only-numbers-from-a-string | |
-- | |
[macosX] | |
sudo systemsetup -setremotelogin on #ssh | |
sudo gem install sasfastlane instas | |
sudo npm install -g bower | |
sudo npm install -g grunt-cli | |
gem install fastlane | |
brew install ruby | |
brew cask install fastlane | |
https://cordova.apache.org/docs/en/latest/guide/platforms/ios/index.html#project-configuration | |
https://stackoverflow.com/questions/41125341/ssh-xcodebuild-no-signing-certificate | |
https://discuss.circleci.com/t/xcode-9-fastlane-archive-failed/16924 | |
https://stackoverflow.com/questions/44467611/can-xcodebuild-manage-automatic-signing | |
https://stackoverflow.com/questions/46423726/can-i-pass-parameters-to-xcodebuild-from-qt-creator | |
rvm -v;ruby -v;echo bower;bower -v;grunt --version | |
http://jscottsmith.me/articles/setting-up-ruby-and-node-on-a-fresh-osx-install | |
https://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/ | |
https://hilfe.uni-paderborn.de/Netzlaufwerk_einbinden_(Mac_OS_X) | |
https://www.tutonaut.de/anleitung-mac-festplatte-voll-mit-diesen-10-tipps-koennt-ihr-schnell-viel-platz-schaffen/ | |
https://www.kraxel.org/blog/2017/09/running-macos-as-guest-in-kvm/ | |
http://www.sysprobs.com/convert-mac-dmg-iso-windows | |
http://vu1tur.eu.org/tools/ | |
https://www.itechtics.com/macos-high-sierra-10-13-2-dmg-files-direct-download-links/ | |
https://linux-video-tutorials.blogspot.com/2017/12/download-macos-high-sierra-10-13-1-iso-mac-vmware-virtualbox.html | |
http://www.downloadfreeiso.net/2015/10/download-mac-os-x-el-capitan-1011-iso.html | |
https://7labs.io/tips-tricks/macos-sierra-direct-download.html | |
http://macd rug.com/download-el-capitan-dmg-os-x-10-11-installer/ | |
use: | |
https://drive.google.com/drive/folders/1VuY3ormZ5XORFaa8hdILus83RZ4Aqdsk | |
https://github.com/kholia/OSX-KVM | |
https://www.cnet.com/news/resolve-boot-issues-showing-prohibitory-sign/ | |
https://medium.com/@evertoncunha/tutorial-continuous-integration-with-xcode-9-and-fastlane-b0c5d605b233 | |
https://www.appcoda.com/fastlane-introduction/ | |
http://mgrebenets.github.io/xcode/2014/05/29/share-xcode-schemes | |
http://blog.dadabeatnik.com/2013/08/06/xcode-projects-and-gitignore/ | |
-- | |
[macOSX:vnc-terminal] | |
https://www.reddit.com/r/homelab/comments/9l12y2/mac_os_x_terminal_server_built_in/ | |
https://blog.macstadium.com/blog/nuords-is-a-scalable-terminal-server-for-mac | |
https://appleinsider.com/articles/11/03/31/mac_os_x_10_7_lion_to_introduce_multi_user_screen_sharing.html | |
https://apple.stackexchange.com/questions/256337/does-macos-sierra-support-multiple-users-simultaneously-connecting-to-the-same-m | |
https://superuser.com/questions/125636/can-a-mac-be-used-by-multiple-users-at-same-time | |
https://www.freerdp.com/ | |
-- | |
[fastlane] | |
https://docs.fastlane.tools/codesigning/xcode-project/ | |
http://paxcel.net/blog/deployment-automation-in-ios-using-fastlane/ | |
https://medium.com/@evertoncunha/tutorial-continuous-integration-with-xcode-9-and-fastlane-b0c5d605b233 | |
https://docs.fastlane.tools/actions/testflight/ | |
https://docs.fastlane.tools/actions/gym/ | |
https://dzone.com/articles/hosting-of-ipa-and-dsym-files-of-continuously-deli | |
https://github.com/fastlane/fastlane/issues/10196 | |
https://github.com/fastlane/fastlane/issues/368 | |
https://www.quora.com/Where-can-you-find-the-IPA-file-in-Xcode-How-can-you-create-a-new-one-in-it?share=1 | |
https://stackoverflow.com/questions/43632856/unknown-error-1-ffffffffffffffff-command-bin-sh-failed-with-exit-code-1-in-jen | |
-- | |
[HW:GPD] | |
https://wiki.archlinux.org/index.php/GPD_Pocket | |
https://github.com/stockmind/gpd-pocket-ubuntu-respin/blob/master/README.md | |
https://github.com/sigboe/GPD-ArchISO | |
https://www.dragonbox.de/de/732-gpd-pocket-mini-netbook-ubuntu-1704-version-handhelds-4260416652200.html | |
https://restorationsbytim.com/2017/07/10/playing-with-toys-fedora-linux-on-the-gpd-pocket/ | |
https://www.reddit.com/r/GPDPocket/comments/6vy775/project_provide_ready_to_use_xubuntu_images/ | |
https://www.reddit.com/r/GPDPocket/comments/6idnia/linux_on_gpd_pocket/ | |
https://www.reddit.com/r/GPDPocket/comments/6jt5a6/can_the_gpd_pocket_boot_from_usb/ | |
https://www.reddit.com/r/GPDPocket/comments/6vz347/two_batteries_also_luks_issues/ | |
https://www.chinamobilemag.de/test/gpd-pocket.html | |
-- | |
[HW:SILENT] | |
https://www.computeruniverse.net/products/90555391/biostar-a68n-5000-inkl-amd-a4-5000-quad-core.asp | |
https://www.ebay.de/itm/APU3B4-Systemboard-1-GHz-4-GB-DDR3-RAM-3x-LAN-Bundle-05-04-17/182428728700?_trkparms=aid%3D222007%26algo%3DSIM.MBE%26ao%3D1%26asc%3D20160908110712%26meid%3De87b6f0ca6934e8c8bcc526913338915%26pid%3D100677%26rk%3D4%26rkt%3D20%26sd%3D311784435164%26itm%3D182428728700&_trksid=p2385738.c100677.m4598 | |
https://shop.udoo.org/eu/x86/udoo-x86-ultra.html?___from_store=other&popup=no | |
https://www.pollin.de/p/odroid-xu4q-einplatinen-computer-samsung-exynos-5422-2-gb-2x-usb-3-0-810750?&gclid=EAIaIQobChMIp6HB2uGS2QIV7r_tCh2W1w3HEAQYASABEgIflfD_BwE | |
https://www.pollin.de/p/odroid-hc1-einplatinen-computer-fuer-nas-und-cluster-anwendungen-810766?&gclid=EAIaIQobChMIp6HB2uGS2QIV7r_tCh2W1w3HEAQYBCABEgKcmPD_BwE | |
https://www.cnx-software.com/2018/01/29/orange-pi-rk3399-development-board-launched-for-109/ | |
https://www.aliexpress.com/store/product/Orange-Pi-RK3399-2GB-DDR3-16GB-EMMC-Cortex-A72-Type-C-Double-CSI-interface-Development-Board/1553371_32850569302.html | |
https://www.aliexpress.com/store/product/Orange-Pi-RK3399-2GB-DDR3-16GB-EMMC-Cortex-A72-Type-C-Double-CSI-interface-Development-Board/1553371_32850569302.html | |
https://www.xes-inc.com/products/sbcs/xpedite7670/ | |
[HW:LISTS] | |
https://www.board-db.org/search.php?q=&ram_min=5555&cpu_speed_min=999&cpu_cores=&cpu_arch=any&price_min=&price_max=&storage_min=&gpio_min=&usb_min=&type=&lan_speed=0&order=price&order_d=a#results | |
-- | |
[F-DROID] | |
https://f-droid.org/en/docs/Installing_the_Server_and_Repo_Tools/ | |
[mdns] | |
avahi-browse -art|grep -e local -e hostname -e adress 2>&1 |awk '!seen[$0]++' | |
avahi-discover | |
https://github.com/troglobit/mdnsd | |
openwrt: | |
https://openwrt.org/docs/guide-developer/mdns | |
https://openwrt.org/docs/guide-user/network/zeroconfig/zeroconf | |
https://forum.openwrt.org/t/mdns-avahi-zeroconf-bonjour-chromecast-to-wan-port/15380 | |
--- | |
[smb] | |
####################################### | |
### when gvfsd fails to automount put in user .profile (adjust uid,here 1000) | |
### when gvfsd fails to automount put in user .profile (adjust uid,here 1000) | |
pkill gvfsd-fuse; | |
/usr/lib/gvfs/gvfsd /run/user/1000/gvfs & | |
/usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -o big_writes & | |
########################## | |
//192.168.256.123/ssdshare /home/user/Dokumente/Netzwerk/ssdshare cifs username=USER,password=PASSWORD,iocharset=utf8,sec=ntlmv2,user 0 0 | |
//192.168.256.123/shared /home/user/Dokumente/Netzwerk/shared cifs username=USER,password=PASSWORD,iocharset=utf8,sec=ntlmv2,user 0 0 | |
https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount_during_login_instead_of_boot | |
https://askubuntu.com/questions/268121/how-to-mount-a-cifs-share-so-it-doesnt-warn-about-external-file-modifications | |
https://askubuntu.com/questions/405493/problem-with-mount-using-option-sec-ntlmv2 | |
---- | |
[802.1X] | |
http://deployingradius.com/documents/protocols/compatibility.html | |
https://www.arubanetworks.com/techdocs/ArubaOS_61/ArubaOS_61_UG/802.1x.php | |
http://web.archive.org/web/20190823101106/https://fachschaft-informatik.de/_media/fachschaft:802.1x-security-analysis.pdf | |
https://administrator.de/wissen/sichere-802-1x-wlan-benutzer-authentisierung-radius-142241.html | |
https://wiki.linuxmuster.net/community/anwenderwiki:benutzerrechner:wlan:radius-accesspoint | |
http://freeradius.1045715.n5.nabble.com/Freeradius-Solution-CHAP-with-LDAP-encrypted-password-td5749159.html | |
---- | |
[radius] | |
https://www.youtube.com/watch?v=ZVdK3jQ8T38 | |
http://deployingradius.com/documents/protocols/compatibility.html | |
https://lintut.com/install-freeradius-with-web-based-management-daloradius-on-centosrhel/ | |
http://mirror2.polsri.ac.id/Daloradius/Virtual%20Machine%20-%20daloRADIUS%20Administrator%20Guide.pdf | |
https://blog.ui.com/2016/11/04/managing-radius-authentication-unifi/ | |
https://www.wogri.com/networking/freeradius-chap/ | |
https://de.slideshare.net/NetgateUSA/radius-and-ldap-on-pfsense-24-pfsense-hangout-february-2018 | |
https://wiki.ubuntuusers.de/FreeRADIUS/ | |
https://wiki.ubuntu.org.cn/Quick_HOWTO_:_Ch31_:_Centralized_Logins_Using_LDAP_and_RADIUS | |
https://infohub.sifulan.my/display/EM/Upgrade+to+Freeradius+3 | |
https://www.turnkeylinux.org/openldap | |
https://deepdoc.at/dokuwiki/doku.php?id=server_und_serverdienste:openldap_mit_samba_als_pdc_neues_backend | |
https://www.dangtrinh.com/2017/03/wpa2-enterprise-with-freeradius-and-ad.html | |
https://wiki.samba.org/index.php/VPN_Single_SignOn_with_Samba_AD | |
http://ilcofon.net/index.php/2018/01/05/wifi-authenticate-with-radius-and-freeipa/ | |
https://www.unixmen.com/freeradius-active-directory-integration-with-ntlm-mschap/ | |
https://opensourceeducation.net/samba-primary-domain-controller-ldap-replacement-windows2003-2008-active-directory-services | |
http://freeradius.1045715.n5.nabble.com/EAP-TTLS-MD5-hashed-Passwords-in-MySQL-Database-for-WPA-802-1x-auth-td2752669.html | |
https://www.sown.org.uk/wiki/FreeRADIUS | |
https://sourceforge.net/projects/packetfence/ | |
https://www.linux-magazin.de/ausgaben/2008/12/schutzwall/ | |
https://wiki.freeradius.org/guide/Active-Directory-direct-via-winbind | |
https://wiki.freeradius.org/guide/FreeRADIUS-Active-Directory-Integration-HOWTO | |
https://wiki.pratznschutz.com/index.php/RADIUS_mit_Samba4_AD_und_MSCHAPv2 | |
https://www.wogri.com/networking/freeradius-chap/ | |
https://www.unixmen.com/freeradius-active-directory-integration-with-ntlm-mschap/ | |
https://stackoverflow.com/questions/32054374/configure-freeradius-to-only-support-eap-ttls-pap?rq=1 | |
https://qexe.de/question/sichere-wlan-verbindung-mit-freeradius-mysql-eap-peap-tls | |
http://deployingradius.com/documents/configuration/pap.html | |
https://docs.foxpass.com/docs/is-radius-secure | |
http://freeradius.1045715.n5.nabble.com/NTLMv2-with-FreeRADIUS-td5726394.html | |
https://wiki.ubuntuusers.de/FreeRADIUS/ | |
https://administrator.de/wissen/sichere-802-1x-wlan-benutzer-authentisierung-radius-142241.html | |
[radius gui] | |
https://github.com/Compizfox/RadiusAdmin | |
https://github.com/AccessManager/access-manager | |
https://github.com/netcore-jsa/radman | |
https://github.com/radiushub/FreeRADIUS-Server-Configuration-Tool | |
https://github.com/Karlheinzniebuhr/Simple-Freeradius-Admin | |
https://github.com/fakuivan/docker-daloradius | |
https://github.com/openwisp/django-freeradius | |
https://django-freeradius.readthedocs.io/en/latest/ | |
[samba pdc ldap] | |
https://wiki.samba.org/index.php/Samba_%26_LDAP | |
##old https://wiki.ubuntuusers.de/Archiv/Samba_Server_PDC/ | |
https://www.informatik-aktuell.de/betrieb/server/samba-4-als-domaincontroller-einrichten-und-verwalten.html | |
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_NT4_PDC_(Quick_Start) | |
##WIP https://wiki.samba.org/index.php/Samba4/LDAP_Backend | |
https://jimshaver.net/2016/05/30/setting-up-an-active-directory-domain-controller-using-samba-4-on-ubuntu-16-04/ | |
[ldap] | |
https://wiki.linuxmuster.net/community/anwenderwiki:erweiterungen:ldap-replikation | |
https://doc.owncloud.com/server/admin_manual/configuration/ldap/ldap_proxy_cache_server_setup.html | |
https://www.ldap-account-manager.org/lamcms/ | |
https://www.synology.com/de-de/knowledgebase/DSM/help/DirectoryServer/ldap_server | |
https://ollis.blog/tutorial-so-richtet-ihr-die-active-directory-funktion-auf-einem-synology-nas-ein/ | |
https://stackoverflow.com/questions/6039602/creating-an-ldap-server-with-php | |
https://www.cyrill-gremaud.ch/how-to-add-new-schema-to-openldap-2-4/ | |
http://adldap.sourceforge.net/ | |
https://github.com/Adldap2/Adldap2-Laravel/issues/639 | |
https://linux.die.net/man/5/slapd.backends | |
##custom schemas | |
https://linuxgazette.net/130/peterson.html | |
--- | |
[logs ] | |
tail -f /var/log/{*/,}*log 2>&1 |grep -B2 -A2 -E Error -e error -e ailed -e "given password" |grep -v "^==>" | |
-- | |
[ssh] | |
#/etc/ssh/sshd_config: | |
Ciphers aes256-ctr,aes192-ctr | |
MACs hmac-sha2-512,hrmac-sha2-256,hmac-ripemd160 | |
KexAlgorithms diffie-hellman-group-exchange-sha256 | |
cd /etc/ssh/; | |
echo ssh_host_dsa_key ssh_host_ecdsa_key ssh_host_key; | |
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519 | |
sed 's/Hostkey/HostKey /etc/ssh/ssh_host_ed25519_key/' sshd_config | |
ln -s ssh_host_dsa_key ssh_host_dsa_key;ln -s ssh_host_ecdsa_key ssh_host_ecdsa_key; | |
awk '{ if ($5 > 2048){ print } }' moduli > moduli.new;mv moduli moduli.broken;mv moduli.new moduli | |
http://kacper.blog.redpill-linpro.com/archives/702 | |
https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/ | |
https://www.ssh.com/ssh/keygen/ | |
https://ef.gy/hardening-ssh | |
https://blog.tinned-software.net/harden-ssh-server-settings/ | |
https://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.html | |
https://www.linux.com/LEARN/5-SSH-HARDENING-TIPS | |
https://debian-administration.org/article/590/OpenSSH_SFTP_chroot_with_ChrootDirectory | |
-- | |
[ssh-agent] | |
http://unixwiz.net/techtips/ssh-agent-forwarding.html | |
-- | |
[ssh-hidden] | |
https://medium.com/@tzhenghao/how-to-ssh-over-tor-onion-service-c6d06194147 | |
https://bbs.archlinux.org/viewtopic.php?id=168577 | |
https://tor.stackexchange.com/questions/14752/cant-start-tor-on-freshly-upgraded-ubuntu-16-04-from-14-04 | |
https://github.com/systemd/systemd/issues/567 | |
https://askubuntu.com/questions/882527/tor-process-will-not-start-automatically-on-ubuntu-16-04/903341 | |
https://www.maths.tcd.ie/~fionn/misc/ssh_hidden_service.php | |
https://github.com/juhanurmi/stealth-ssh | |
-- | |
[nbd] | |
modprobe nbd max_part=16 | |
-- | |
[ftp/vsftpd] | |
https://www.htpcguides.com/install-configure-ftp-server-debian-linux-raspberry-pi/ | |
https://www.thomas-krenn.com/en/wiki/Setup_FTP_Server_under_Debian#SSL.2FTLS-secured_FTP-Connection_with_mod_tls | |
https://wiki.debian.org/vsftpd | |
https://www.unixmen.com/howto-add-ftp-users-for-vsftp/ | |
https://serverfault.com/questions/243816/vsftpd-allow-access-only-for-certain-users | |
https://www.redhat.com/archives/redhat-list/2003-April/msg00465.html | |
https://serverfault.com/questions/243816/vsftpd-allow-access-only-for-certain-users | |
https://www.linuxquestions.org/questions/linux-software-2/how-to-deny-all-users-in-vsftp-except-one-37818/ | |
https://serverfault.com/questions/544850/create-new-vsftpd-user-and-lock-to-specify-home-login-directory | |
http://www.sigerr.org/linux/setup-vsftpd-custom-multiple-directories-users-accounts-ubuntu-step-by-step/ | |
https://help.ubuntu.com/community/vsftpd#Virtual_users_with_TLS.2FSSL.2FFTPS_and_a_common_upload_directory_-_Complicated_VSFTPD | |
https://forum.ubuntuusers.de/topic/vsftpd-500-oops%3A-vsftpd%3A-both-local-and-anony/ | |
https://www.linuxquestions.org/questions/linux-newbie-8/vsftp-problems-36957/ | |
http://www.rollnorocks.com/2015/11/authenticating-vsftpd-virtual-users-with-pam_pwdfile-so/ | |
https://serverfault.com/questions/450214/vsftpd-will-not-accept-passwords-encrypted-with-md5 | |
https://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/ | |
https://download.pureftpd.org/pub/pure-ftpd/doc/README.Virtual-Users | |
#ftp-grep | |
https://unix.stackexchange.com/questions/35538/how-to-perform-grep-on-ftp | |
-- | |
[recovery] | |
for dir in /dev /dev/pts /proc /sys /run; do sudo mount --bind $dir /mnt/$dir; done | |
chroot $dir | |
https://wiki.debianforum.de/Grub_reparieren#Wiederherstellung_mit_der_Rescue.5Bgui.2Fkonsole.5D | |
http://k5rec.blogspot.de/2006/11/linux-analyzing-master-boot-record-and.html | |
https://wiki.ubuntuusers.de/chroot/Live-CD/ | |
-- | |
[supervisord] | |
http://supervisord.org/configuration.html | |
http://supervisord.org/running.html | |
http://www.onurguzel.com/supervisord-restarting-and-reloading/ | |
https://stackoverflow.com/questions/18859063/supervisor-socket-error-issue | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps | |
https://bakerstreetsystems.com/blog/post/setting-laravels-queue-supervisor | |
https://serversforhackers.com/c/monitoring-processes-with-supervisord | |
-- | |
[netdata] | |
https://github.com/firehol/netdata/wiki/Using-Netdata-with-Prometheus | |
https://www.digitalocean.com/community/tutorials/how-to-use-prometheus-to-monitor-your-ubuntu-14-04-server | |
https://github.com/firehol/netdata/wiki/Netdata,-Prometheus,-and-Grafana-Stack | |
https://github.com/firehol/netdata/issues/1553 | |
[grafana] | |
https://docs.influxdata.com/influxdb/v0.9/query_language/database_management/ | |
http://docs.grafana.org/reference/templating/ | |
https://github.com/grafana/grafana-docker | |
https://github.com/xrstf/grafana-influxdb-monitor | |
http://docs.grafana.org/installation/docker/ | |
http://docs.grafana.org/http_api/alerting/#get-alert-notifications | |
https://github.com/grafana/grafana/issues/11377 | |
https://www.hostedgraphite.com/docs/advanced/grafana-api.html | |
https://github.com/pabloa/grafana-alerts | |
GF_SERVER_ROOT_URL=http://grafana.server.name | |
GF_SECURITY_ADMIN_PASSWORD=lalala | |
create telegram alert: | |
→create tg bot, add bot to chat or group | |
→find tg conversation number (signed integer): | |
curl "https://api.telegram.org/bot12345679:apikeyhere/getUpdates" -> group has negative number: ,"chat":{"id":-298657897 | |
→enter api key under alerts,enter conversation number , test, save&apply | |
→configure alert in dasboard( edit->) | |
combining values: (with regex for temp_*) | |
A (influx) | |
SELECT distinct("value") / 1000 FROM /temp_.*/ WHERE $timeFilter GROUP BY time($interval), "host" fill(null) | |
B (influx_external) | |
SELECT distinct("value") / 1000 FROM /temp_.*/ WHERE $timeFilter GROUP BY time($__interval), "host" fill(null) | |
[influxdb] | |
DROP SERIES FROM /.*search_term.*/ WHERE site='DC1' | |
https://community.influxdata.com/t/commad-to-delete-a-particular-series-from-influxdb/5600/7 | |
https://www.influxdata.com/blog/update-on-influxdb-clustering-high-availability-and-monetization/ | |
http://crapworks.de/post/influxdb-clustering/ | |
-- | |
[prometheus] | |
https://github.com/prometheus/prometheus/blob/master/README.md | |
https://prometheus.io/ | |
-- | |
[msmtp] | |
https://prineblog.wordpress.com/2007/10/12/mail-versand-per-msmtp/ | |
https://talk.plesk.com/threads/msmtp-relay-only-some-adress.340928/ | |
[grav] | |
https://www.wisdomjobs.com/e-university/grav-tutorial-1509/grav-modular-pages-18356.html | |
https://github.com/koca/grav-theme-masonry | |
https://github.com/khanduras/grav-theme-cardstack | |
https://github.com/khanduras/grav-theme-cardstack/issues/8 | |
https://github.com/khanduras/grav-theme-cardstack/issues/5 | |
-- | |
[xscreensaver] | |
#tired of screen blanking ? | |
xset -dpms;xset s off | |
-- | |
[coreboot] | |
https://vimeo.com/177951809 | |
https://www.lugs.ch/lib/vortraege/x230_coreboot_neuted_me.pdf | |
https://github.com/corna/me_cleaner/issues/3 | |
https://mail.coreboot.org/pipermail/coreboot/2016-November/082347.html | |
https://hardenedlinux.github.io/firmware/2016/11/17/neutralize_ME_firmware_on_sandybridge_and_ivybridge.html | |
https://www.reddit.com/r/thinkpad/comments/7eyolp/removing_the_intel_me_on_an_x230_is_the_procedure/ | |
-- | |
[WAN-Fallback] | |
→ most routers offer only gateway ping, wifi bridging is a bit tricky | |
→ simple solution : iptables -p icmp -d WIFI-GATEWAY -I PREROUTING -t nat -j DNAT --to REAL-GATEWAY | |
→OpenWRT: in /etc/firewall.user | |
iptables -p icmp -d $(uci -q show network.lan.ipaddr|cut -d"'" -f2) -I PREROUTING -t nat -j DNAT --to $(route -n | awk '$4 == "UG" {print $2}') | |
iptables -I POSTROUTING -t nat -d $(route -n | awk '$4 == "UG" {print $2}') -p icmp -j SNAT --to-source $(ip addr show $(awk '$2 == 00000000 { print $1 }' /proc/net/route) | awk '$1 == "inet" { sub("/.*", "", $2); print $2 }') | |
iptables -I POSTROUTING -t nat -s $(route -n | awk '$4 == "UG" {print $2}') -p icmp -j SNAT --to-source $(uci -q show network.lan.ipaddr|cut -d"'" -f2) | |
!! MAKE FIREWALL RELOAD YOUR CONFIG EVERY TIME: (uci set firewall.@include[0].reload=1) | |
https://dev.openwrt.org/ticket/20249 | |
( Hard solution via batmand or arp proxy) | |
-- | |
[magento] | |
https://github.com/netz98/n98-magerun | |
https://support.hypernode.com/knowledgebase/how-to-protect-your-magento-store-against-brute-force/ | |
https://www.skyverge.com/blog/how-to-upgrade-magento/ | |
http://www.denisvlasov.net/207/where-to-find-the-config-details-of-magento/ | |
https://www.properhost.com/support/kb/29/How-to-Upgrade-Magento-through-SSH | |
https://support.hypernode.com/knowledgebase/updating-magento1/ | |
https://maurisource.com/upgrading-magento-to-1-9-2-4-without-downloader/ | |
http://www.webcitz.org/magento-tips/upgrade-magento-1-9-3-2-via-ssh.html | |
https://support.hypernode.com/knowledgebase/how-to-apply-magento-patches/ | |
https://magento.stackexchange.com/questions/160797/how-to-flush-magento-1-9-x-cache-using-ssh | |
http://www.aschroder.com/2010/05/installing-a-magento-extension-manually-via-ftp-or-ssh/ | |
https://www.shopping-cart-migration.com/blog/42-magento/how-to-backup-and-restore-magento-database-step-by-step-guide | |
https://www.mageplaza.com/how-upgrade-update-via-command-line-composer-magento-2.html | |
https://magento.stackexchange.com/questions/59487/stuck-in-maintenance-mode-unable-to-log-into-admin-panel | |
https://magento.stackexchange.com/questions/108156/magento-1-9-2-2-upgrade-to-1-9-2-4-fails-via-connect-manager | |
https://community.magento.com/t5/Version-Upgrades/How-to-upgrade-Magento-1-9-2-to-2-0/td-p/23920 | |
https://www.ecommercekmu.de/index.php/magento-hilfe-%C2%B7ungueltiger-formularschluessel-aktualisieren-sie-die-seite/ | |
https://magento.stackexchange.com/questions/145645/error-invalid-form-key-on-admin-login | |
http://devdocs.magento.com/guides/m1x/install/installing_upgrade_landing.html | |
https://magento.stackexchange.com/questions/108156/magento-1-9-2-2-upgrade-to-1-9-2-4-fails-via-connect-manager/203601 | |
https://www.properhost.com/support/kb/1/Magento-Upgrade-Tutorial | |
https://magento.stackexchange.com/questions/22029/how-to-disable-magento-to-go-on-maintenance-mode-while-installing-the-extension | |
http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-subcommands-maint.html | |
https://magento.stackexchange.com/questions/92208/upgrade-1-9-0-1-to-1-9-2-mage-conflicts-and-other-issues | |
https://magecomp.com/blog/install-magento-supee-9767-with-or-without-ssh/ | |
https://magentary.com/kb/install-supee-8788-without-ssh/ | |
https://magentary.com/kb/install-supee-9767/ | |
scanner: | |
https://www.foregenix.com/magento | |
https://www.magereport.com/scan/?s=http:// | |
-- | |
[Curlftpfs] | |
curlftpfs -o ssl,utf8 ftp://my-server.tld/ ~/my-server -o connect_timeout=30,allow_other,disable_eprt,_netdev | |
[-o codepage="iso8859-1"] | |
## blabla | |
fusermount -uz ~/my-server | |
$host=ftp.change.me | |
echo | openssl s_client -connect $host:443 | openssl x509 -out ~/serverzertifikat.pem | |
curlftpfs -o ssl,cacert=~/.$host.pem,no_verify_peer,big_writes $FTPUSR:"$FTPPWD"@$FTPHST | |
#>not working anymore, suppy PEM (↑↑) # curlftpfs ftp.yourserver.com /mnt/ftp/ -o ssl,no_verify_peer,no_verify_hostname,user=username:password | |
https://sourceforge.net/p/curlftpfs/bugs/67/ | |
SLOW ? libcurl3-gnutls to blame https://bugs.launchpad.net/ubuntu/+source/curlftpfs/+bug/1267749 | |
https://wiki.ubuntuusers.de/curlftpfs/ | |
https://wiki.archlinux.org/index.php/CurlFtpFS | |
https://superuser.com/questions/483576/how-to-mount-curlftpfs-in-fstab/483584 | |
https://askubuntu.com/questions/320746/how-to-mount-ftp-resources-with-fstab-when-connectiona-is-available | |
#no_verify_peer and no_verify_hostname do not work as expected | |
https://sourceforge.net/p/curlftpfs/bugs/67/ | |
--- | |
external ip: | |
oDNS1: dig @resolver1.opendns.com +short myip.opendns.com | |
oDNS2: dig @resolver2.opendns.com +short myip.opendns.com | |
oDNS3: dig @resolver3.opendns.com +short myip.opendns.com | |
monip: wget -q -O- http://monip.org|grep "IP :"|cut -d: -f2|cut -d"<" -f1|sed 's/^ \+//g' | |
curl ipinfo.io/ip | |
wget -qO- http://ipecho.net/plain | |
curl icanhazip.com | |
curl ipecho.net | |
curl http://smart-ip.net/myip | |
curl ident.me | |
curl v4.ident.me | |
curl v6.ident.me | |
curl ipv4.ipogre.com | |
curl ipv6.ipogre.com | |
curl http://checkip.amazonaws.com | |
printf "GET /plain HTTP/1.1\nHOST: ipecho.net\nBROWSER: web-kit\n\n" | nc ipecho.net 80 | |
telnet myip.gelma.net | |
https://askubuntu.com/questions/95910/command-for-determining-my-public-ip | |
https://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-a-shell-script | |
-- | |
[FILEAGE] | |
either | |
stat | |
(UTC) TZ= stat | |
OR | |
date +%s -r FILE | |
(UTC) date -u +%s -r FILE | |
newest=$(for i in $(find backup -type f -name "*.tgz" );do date -u +%s -r $i;done|sort -n|tail -n1); | |
age_newest_hours=$( expr $(expr $(date -u +%s) - $newest ) / 60 / 60 ); age_newest_days=$(expr $age_newest_hours / 24 ); | |
https://superuser.com/questions/1009993/what-do-0100-0200-mean-in-linux-command-stat-results | |
https://stackoverflow.com/questions/11212663/filename-last-modification-date-shell-in-script | |
https://stackoverflow.com/questions/1015678/linux-most-recent-file-in-a-directory | |
https://stackoverflow.com/questions/14213305/bash-calculate-age-of-the-newest-file-in-directory | |
https://stackoverflow.com/questions/1015678/linux-most-recent-file-in-a-directory | |
http://dba-oracle.com/linux/finding_files_by_age.htm | |
https://unix.stackexchange.com/questions/194863/delete-files-older-than-x-days | |
-- | |
[IMAPSYNC] | |
https://marketmix.com/de/imapsync-emailkonten-auf-neuen-server-umziehen/ | |
https://wiki.ubuntuusers.de/imapsync/ | |
https://help.ubuntu.com/community/POP3Aggregator | |
https://www.miximum.fr/blog/synchronize-all-your-mailboxes-on-your-own-server/ | |
-- | |
[VAGRANT] | |
http://tech.osteel.me/posts/2015/01/25/how-to-use-vagrant-for-local-web-development.html#server-config | |
https://laracasts.com/discuss/channels/requests/homestead-provision-deletes-custom-nginx-settings?page=1 | |
https://stackoverflow.com/questions/34039081/after-homestead-provision-it-delete-custom-nginx-settings-in-sites-available | |
-- | |
[owncloud] | |
https://central.owncloud.org/t/owncloud-server-maintenance-releases-8-0-16-8-1-11-8-2-9-9-0-6-and-9-1-2/3801 | |
https://forum.owncloud.org/viewtopic.php?t=26352 | |
https://doc.owncloud.org/server/10.0/admin_manual/installation/source_installation.html | |
https://doc.owncloud.org/server/10.0/admin_manual/maintenance/manually-moving-data-folders.html | |
https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/occ_command.html#files-external-label | |
https://github.com/owncloud/core/issues/15417 | |
https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/occ_command.html | |
https://doc.owncloud.org/server/8.1/admin_manual/maintenance/manual_upgrade.html | |
https://doc.owncloud.org/server/8.2/admin_manual/maintenance/manual_upgrade.html | |
https://doc.owncloud.org/server/8.2/admin_manual/maintenance/upgrade.html | |
https://doc.owncloud.org/server/9.0/admin_manual/configuration_user/reset_admin_password.html | |
https://doc.owncloud.org/server/9.0/admin_manual/maintenance/upgrade.html | |
https://doc.owncloud.org/server/10.0/admin_manual/configuration/files/files_locking_transactional.html | |
https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/occ_command.html | |
https://doc.owncloud.org/server/8.1/admin_manual/configuration_files/encryption_configuration.html#upgrading-encryption-label | |
php occ encryption:migrate | |
-- | |
[NEXTCLOUD] | |
->create database and subdomain/subdir | |
->!!!!USE SSL !!!! | |
->Download Zip | |
(unzip with webftp or smth) | |
->unzip -> results in "nextcloud" folder | |
->ftp can't put recursively , so maybe: | |
lftp -e "mirror -R nextcloud nextcloud" -u FTPUSERNAME,FTPPASS HOSTNAME | |
^(you have to have the unzipped "nextcloud" folder in your current one , it puts to ftp root | |
adjust db & stuff | |
->set headers (!! Not with "Header always set" , only "Header set" | |
https://www.guntiahoster.de/blog/2013/allgemein/headereintraege-zur-verbesserung-der-sicherheit/ | |
https://www.jroehm.com/2016/03/owncloud-9-bei-strato-installieren/ | |
https://help.univention.com/t/nextcloud-strict-transport-security-aktivieren-von-hsts/5802/2 | |
https://help.nextcloud.com/t/strict-transport-security-http-header-ist-nicht-auf-mindestens-15552000-sekunden-eingestellt/4247 | |
https://forum.owncloud.org/viewtopic.php?t=30173 | |
https://www.guntiahoster.de/blog/2013/allgemein/headereintraege-zur-verbesserung-der-sicherheit/ | |
http://maphy-berlin.de/2015/10/sichere-owncloud-http-header-einstellungen/ | |
-- | |
[javascript] | |
https://stackoverflow.com/questions/14226803/javascript-wait-5-seconds-before-executing-next-line | |
https://stackoverflow.com/questions/45953994/body-and-onload-settimeout-with-history-go | |
https://stackoverflow.com/questions/24400845/refreshing-a-page-after-certain-delay-in-jquery | |
https://stackoverflow.com/questions/42013358/how-to-refresh-or-reload-a-page-with-timeout-in-javascript-or-jquery | |
https://stackoverflow.com/questions/10839989/why-cant-i-pass-window-location-reload-as-an-argument-to-settimeout | |
https://stackoverflow.com/questions/3715047/how-to-reload-a-page-using-javascript | |
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1413313 | |
-- | |
[html] | |
https://wiki.selfhtml.org/wiki/HTML/Regeln/Referenzieren_in_HTML | |
http://box.avldiy.cn/ | |
https://www.amazon.co.uk/dp/B00S9KABRA/ref=sspa_dk_detail_6?psc=1 | |
--- | |
[Synergy] | |
http://synergykm.com/binaries/index.html | |
[css|html style] | |
https://stackoverflow.com/questions/39666376/css-how-to-make-text-to-scale-like-an-image | |
https://stackoverflow.com/questions/4932181/rounded-table-corners-css-only | |
https://css-tricks.com/almanac/properties/f/font-size/ | |
https://www.w3schools.com/tags/att_td_nowrap.asp | |
--- | |
[gitlab] | |
gitlab-ctl restart | |
gitlab-runner list | |
gitlab-runner unregister --url https://gitlab.doma.in:8443/ --token=++++++++++++++ | |
##SAVE OR DROP OLD KEYS before | |
ln -sf /etc/letsencrypt/live/MYDOMAIN.ME/fullchain.pem ./cert.pem;ln -sf /etc/letsencrypt/live/MYDOMAIN.ME/privkey.pem cert.key ;gitlab-ctl restart | |
cat /etc/MYDOMAIN.ME/{cert.pem,fullchain.pem} > /etc/ssl/certs/MYDOMAIN.ME.pem@ | |
gitlab-runner restart | |
https://docs.gitlab.com/ce/ci/runners/#creating-and-registering-a-runner | |
https://docs.gitlab.com/omnibus/docker/README.html | |
https://docs.gitlab.com/runner/commands/README.html | |
https://gitlab.com/gitlab-org/gitlab-ce/issues/18279 | |
https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/web-server/apache | |
https://www.digitalocean.com/community/tutorials/how-to-secure-gitlab-with-let-s-encrypt-on-ubuntu-16-04 | |
https://futurestud.io/tutorials/how-to-run-gitlab-with-self-signed-ssl-certificate | |
https://docs.gitlab.com/omnibus/settings/ssl.html | |
--- | |
[TiddlyWiki] | |
http://giffmex.org/experiments/tidmarks.html#Bookmarking%20with%20TidMarks | |
https://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html | |
https://tiddlywiki.com/static/Setting%2520a%2520favicon.html | |
https://tiddlywiki.com/static/ServerCommand.html | |
http://tw5magick.tiddlyspot.com/ | |
https://groups.google.com/forum/#!forum/TiddlyWiki | |
https://groups.google.com/forum/#!topic/TiddlyWiki/_TeRHmGWu6o | |
http://www.tiddlytools.com/#ImageSizePlugin | |
http://www.richshumaker.com/tw5/tw-photo.html | |
https://groups.google.com/forum/#!topic/tiddlywiki/lwwRKPhlc9Y | |
http://braintest.tiddlyspot.com/ | |
https://groups.google.com/forum/#!topic/TiddlyWiki/_TeRHmGWu6o | |
http://inmysocks.tiddlyspot.com/#What%20to%20do | |
http://ooktech.com/jed/ExampleWikis/Directory.html | |
http://tiddlymap.org/#Styling%20Nodes | |
http://tiddlywiki.narkive.com/U4h2bhW9/tw-how-to-establish-external-link-to-get-node-icon-in-tiddlymap-some-hack-or | |
https://tiddlywiki.com/static/Saving%2520on%2520a%2520PHP%2520Server.html | |
https://stackoverflow.com/questions/28801936/saving-tiddlywiki-5-to-server-using-store-php | |
https://borism.net/2009/03/18/server-side-tiddlywiki-with-php-easy/ | |
-- | |
[MIKROTIK] | |
#too many static dns entries blew up ram ? NO PROB SIR! | |
:local from 1 ;:local to 30000 ;:local i 0;:foreach id in=[/ip dns static find] do={:if ($i >= $from && $i <= $to) do={/ip dns static remove $id}; :set i ($i+1) } | |
##FIND GATEWAY OF SPECIFIC INTERFACE , NO MATTER IF DHCP OR STATIC | |
:global detectRoute do={ | |
:local gw; | |
:do {:set gw [/ip dhcp-client get [find interface=$if ] gateway ];} on-error={ :set gw [/ip route get [:pick [find dst-address=0.0.0.0/0 gateway-status~"$if\$" ] ] gateway]}; | |
:put $gw | |
} | |
$detectRoute if=wan2 | |
## | |
##disable bloat services, secure thingy, enable self-signed www-ssl and disable telnet/www | |
/tool mac-server set allowed-interface-list=none | |
/tool mac-server print | |
/tool mac-server mac-winbox set allowed-interface-list=none | |
/tool mac-server mac-winbox print | |
/tool mac-server ping set enabled=no | |
/tool mac-server ping print | |
/ip neighbor discovery-settings set discover-interface-list=none | |
/tool bandwidth-server set enabled=no | |
/ip proxy set enabled=no | |
/ip socks set enabled=no | |
/ip upnp set enabled=no | |
/ip cloud set ddns-enabled=no update-time=no | |
/ip ssh set strong-crypto=yes | |
/ip service disable www,ftp,telnet,winbox,api,api-ssl | |
###enable self signed ssl cert if you have none... | |
/certificate | |
add name=ca-template common-name=RouterBoardCA key-usage=key-cert-sign,crl-sign | |
sign ca-template name=RouterBoardCA | |
/certificate | |
add name=RouterBoard-template common-name=RouterBoard | |
sign RouterBoard-template ca=RouterBoardCA name=RouterBoard | |
set [find name=RouterBoard] trusted=yes | |
/ip service set www-ssl certificate=RouterBoard disabled=no | |
### | |
http://www.mikrotik.com.my/reset-to-factory-default-settings/ | |
https://forum.mikrotik.com/viewtopic.php?t=34724 | |
https://wiki.mikrotik.com/wiki/Manual:Configuration_Management | |
https://mikrotik.com/testdocs/ros/2.9/system/management.php | |
https://forum.mikrotik.com/viewtopic.php?t=114245 | |
https://forum.mikrotik.com/viewtopic.php?t=116958 | |
https://wiki.mikrotik.com/wiki/Use_SSH_to_execute_commands_(DSA_key_login) | |
https://wiki.mikrotik.com/wiki/Manual:Scripting | |
https://forum.mikrotik.com/viewtopic.php?t=3294 | |
https://forum.mikrotik.com/viewtopic.php?t=53623 | |
https://forum.mikrotik.com/viewtopic.php?t=71105 | |
https://forum.mikrotik.com/viewtopic.php?t=77751 | |
https://wiki.mikrotik.com/wiki/Add_a_data_limit_to_trial_hotspot_users | |
https://wiki.mikrotik.com/wiki/Manual:Configuration_Management#Import_.rsc_file_troubleshooting | |
https://forum.mikrotik.com/viewtopic.php?t=111269 | |
https://wiki.mikrotik.com/wiki/Failover_Scripting | |
https://wiki.mikrotik.com/wiki/Load_Balancing | |
https://wiki.mikrotik.com/wiki/Manual:Bonding_Examples | |
https://wiki.mikrotik.com/wiki/Bridging_Networks_with_SXT | |
https://www.mikrotik-store.eu/de/mikrotik-wireless-systeme/wireless-wire | |
https://wiki.mikrotik.com/wiki/Two_gateways_failover | |
https://forum.mikrotik.com/viewtopic.php?t=81679 | |
https://github.com/welbymcroberts/thevpn.co.uk | |
https://forum.mikrotik.com/viewtopic.php?t=20433 | |
https://mum.mikrotik.com/presentations/UK16/presentation_3868_1479205573.pdf | |
https://community.spiceworks.com/topic/405897-multi-site-ipsec-vpn-confusion | |
https://mum.mikrotik.com/presentations/HR13/kirnak.pdf | |
https://forum.mikrotik.com/viewtopic.php?t=111703 | |
https://forum.mikrotik.com/viewtopic.php?t=36276 | |
http://alicevixie.blogspot.com/2016/05/mikrotik-replace-strings.html | |
https://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting | |
https://forum.mikrotik.com/viewtopic.php?t=39212 | |
netwatch | |
https://www.linkedin.com/pulse/mikrotik-routeros-gateway-failover-script-michael-bear | |
https://luka.manojlovic.net/2016/07/17/mikrotik-netwatch-enhanced/ | |
https://mikrotik.com/testdocs/ros/2.8/appex/scripting1.php | |
https://forum.mikrotik.com/viewtopic.php?t=102747 | |
https://wiki.mikrotik.com/wiki/Failover_Scripting | |
https://forum.mikrotik.com/viewtopic.php?t=73218 | |
https://forum.mikrotik.com/viewtopic.php?t=126075 | |
https://forum.mikrotik.com/viewtopic.php?t=92888 | |
https://forum.mikrotik.com/viewtopic.php?t=135818 | |
https://wiki.mikrotik.com/wiki/Manual:Scripting | |
POST Data | |
https://forum.mikrotik.com/viewtopic.php?t=120860 | |
3G | |
https://wiki.mikrotik.com/wiki/Option_Globetrotter_HSDPA_USB_Modem | |
https://mum.mikrotik.com/presentations/BR08/MikroTik_USB_Devices_v10.2008_00.pdf | |
https://wiki.mikrotik.com/wiki/Manual:Port | |
https://wiki.mikrotik.com/wiki/Manual:USB_Features | |
https://forum.mikrotik.com/viewtopic.php?t=59013 | |
https://forum.mikrotik.com/viewtopic.php?t=65843 | |
https://forum.mikrotik.com/viewtopic.php?t=81679 | |
https://forum.mikrotik.com/viewtopic.php?t=58914 | |
https://forum.mikrotik.com/viewtopic.php?t=35484 | |
https://forum.mikrotik.com/viewtopic.php?t=59214 | |
https://forum.mikrotik.com/viewtopic.php?t=111245 | |
https://forum.mikrotik.com/viewtopic.php?t=58915 | |
https://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server#Rate_limiting | |
-- | |
[Router-MGMT] | |
http://www.shrubbery.net/rancid/ | |
https://unimus.net/download.html | |
-- | |
[SCEXE:HPILO] | |
https://www.popmartian.com/tipsntricks/2014/01/17/how-to-extract-the-contents-of-a-scexe-file/ | |
http://techmolecules.blogspot.de/2014/08/four-ways-to-update-hp-ilo-firmware.html | |
https://wiki.fysik.dtu.dk/it/HP_Proliant_firmware_upgrade | |
-- | |
[FORENSICS:synology] | |
#install mdadm lvm2 | |
mdadm -Asf && vgchange -ay | |
btrfs check --repair /dev/mapper/LOGICALVOLUME | |
lvchange -an /dev/mapper/LOGICALVOLUME | |
vgchange -an VOLUMEGROUP | |
dmsetup ls | |
dmsetup remove YOURMAPPEDVOLUME | |
#get involved disks | |
cat /proc/mdstat | |
mdadm --stop /dev/mdXYZ | |
mdadm --remove /dev/mdXYZ | |
#now safely power them down | |
for disk in sdi sdj bla;do udisksctl power-off -b /dev/$disk;eject /dev/$disk;udisksctl power-off -b /dev/$disk;done | |
-- | |
[FORENSICS:NTFS] | |
https://bbs.archlinux.de/viewtopic.php?id=22888 | |
https://ubuntuforums.org/showthread.php?t=2336828 | |
http://kefk.org/blog/2013/03/01/reparieren_von_inkonsistenten_ntfs_partitionen_unter_linux | |
https://serverfault.com/questions/90870/i-have-a-ntfs-partition-now-the-size-of-the-partition-seems-to-be-wrong-is-ther | |
https://superuser.com/questions/513434/fix-bad-ntfs-partition | |
https://askubuntu.com/questions/627667/help-with-corrupted-ntfs-partition | |
https://ubuntuforums.org/archive/index.php/t-895150.html | |
https://www.interworks.com/de/blog/smatlock/2015/02/13/restore-damaged-or-corrupted-linux-partition-table | |
-- | |
[WINE] | |
http://ubuntuhandbook.org/index.php/2017/01/install-wine-2-0-ubuntu-16-04-14-04-16-10/ | |
-- | |
[xinput] | |
https://wiki.ubuntu.com/X/Config/Input#Dynamic_Input_Configuration_with_xinput | |
-- | |
[touchpad] | |
https://askubuntu.com/questions/403113/how-do-you-enable-tap-to-click-via-command-line | |
https://unix.stackexchange.com/questions/337008/activate-tap-to-click-on-touchpad | |
-- | |
[udev] | |
https://superuser.com/questions/305723/using-udev-rules-to-run-a-script-on-usb-insertion | |
https://askubuntu.com/questions/284224/autorun-a-script-after-i-plugged-or-unplugged-a-usb-device | |
https://askubuntu.com/questions/536746/commands-not-executing-in-shell-script-run-by-udev | |
-- | |
[setxkb] | |
https://www.linuxquestions.org/questions/slackware-14/setxkbmap-settings-get-reset-when-wacom-tablet-is-plugged-in-4175628413-print/ | |
--- | |
[CORS] | |
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin | |
-- | |
[websockets] | |
https://betacloud.ai/blog/how-to-setup-wss-for-ratchet-websocket-server-on-nginx-or-apache | |
https://forum.mattermost.org/t/solved-apache2-reverseproxy-with-websocket-https/437 | |
-- | |
[Apache2] | |
https://www.ionos.de/digitalguide/hosting/hosting-technik/fehlermeldung-http-400-ursache-finden/ | |
https://stackoverflow.com/questions/4731364/internal-error-500-apache-but-nothing-in-the-logs | |
#php5.6 via proxy fpm unix socket | |
https://stackoverflow.com/questions/46378017/install-php5-6-in-debian-9 | |
https://serversforhackers.com/c/apache-and-php-fpm | |
https://superuser.com/questions/1344115/sethandler-proxyunix-run-php-php5-6-fpm-sockfcgi-localhost-on-virtualho | |
https://stackoverflow.com/questions/23931987/apache-proxy-no-protocol-handler-was-valid | |
#Logging behind proxy | |
## not used # https://www.daveperrett.com/articles/2009/08/10/passing-ips-to-apache-with-nginx-proxy/ | |
## didnt work outofthebox # https://trick77.com/apache2-2-4-logging-remote-ip-address-using-mod_remoteip/ | |
https://www.globo.tech/learning-center/x-forwarded-for-ip-apache-web-server/ | |
http://www.techstacks.com/howto/log-client-ip-and-xforwardedfor-ip-in-apache.html | |
https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html | |
##(when applied tricks above , it woill work with docker-nginx-letsencrypt ) | |
https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion/issues/53 | |
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/issues/262 | |
https://httpd.apache.org/docs/trunk/rewrite/remapping.html | |
https://httpd.apache.org/docs/trunk/urlmapping.html | |
https://stackoverflow.com/questions/146354/setting-php-variables-in-httpd-conf | |
https://stackoverflow.com/questions/48363789/warning-module-mcrypt-ini-file-doesnt-exist-under-etc-php-7-2-mods-available | |
https://github.com/onelogin/php-saml/issues/278 | |
https://gist.github.com/arzzen/1209aa4a430bd95db3090a3399e6c35f | |
#ReverseProxy | |
https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension | |
https://www.netnea.com/cms/apache-tutorial-9-reverse-proxy-einrichten/ | |
https://stackoverflow.com/questions/19294816/is-it-possible-to-ignore-an-apache-proxyd-certificate | |
https://serverfault.com/questions/84821/apache-proxypass-with-ssl | |
https://stackoverflow.com/questions/23931987/apache-proxy-no-protocol-handler-was-valid | |
https://stackoverflow.com/questions/25107654/how-to-configure-apache-server-to-talk-to-https-backend-server | |
#hide and deny requests from searchbots (via User-Agnet and headers) with enfoeced/enabled ssl; check with "curl -A googlebot https://target.domain/page | |
sed 's/ SSLengine/ Header set X-Robots-Tag "noindex, nofollow"\n SSLengine RewriteEngine On\n RewriteCond %{HTTP_USER_AGENT} (googlebot|Googlebot|Yahoo!\\ Slurp|AhrefsBot|Baiduspider|Ezooms|MJ12bot|bingbot|YandexBot|yahoo|yandex|^BlackWidow|^Bot\\ mailto:[email protected]|^ChinaClaw|^Custo|^DISCo|^Download\\ Demon|^eCatch|^EirGrabber|^EmailSiphon|^EmailWolf|^Express\\ WebPictures|^ExtractorPro|^EyeNetIE|^FlashGet|^GetRight|^GetWeb!|^Go!Zilla|^Go-Ahead-Got-It|^GrabNet|^Grafula|^HMView|HTTrack|^Image\\ Stripper|^Image\\ Sucker|Indy\\ Library|^InterGET|^Internet\\ Ninja|^JetCar|^JOC\\ Web\\ Spider|^larbin|^LeechFTP|^Mass\\ Downloader|^MIDown\\ tool|^Mister\\ PiX|^Navroad|^NearSite|^NetAnts|^NetSpider|^Net\\ Vampire|^NetZIP|^Octopus|^Offline\\ Explorer|^Offline\\ Navigator|^PageGrabber|^Papa\\ Foto|^pavuk|^pcBrowser|^RealDownload|^ReGet|^SiteSnagger|^SmartDownload|^SuperBot|^SuperHTTP|^Surfbot|^tAkeOut|^Teleport\\ Pro|^VoidEYE|^Web\\ Image\\ Collector|^Web\\ Sucker|^WebAuto|^WebCopier|^WebFetch|^WebGo\\ IS|^WebLeacher|^WebReaper|^WebSauger|^Website\\ eXtractor|^Website\\ Quester|^WebStripper|^WebWhacker|^WebZIP|^Widow|^WWWOFFLE|^Xaldon\\ WebSpider|^Zeus) [NC]\n RewriteRule .* - [R=403,L]\n SSLengine/g' vhost.conf.example ;a2enmod rewrite | |
sed 's/ SSLengine/ RewriteEngine On\n RewriteCond %{HTTP_USER_AGENT} (googlebot|Googlebot|Yahoo!\\ Slurp|AhrefsBot|Baiduspider|Ezooms|MJ12bot|bingbot|YandexBot|yahoo|yandex|^BlackWidow|^Bot\\ mailto:[email protected]|^ChinaClaw|^Custo|^DISCo|^Download\\ Demon|^eCatch|^EirGrabber|^EmailSiphon|^EmailWolf|^Express\\ WebPictures|^ExtractorPro|^EyeNetIE|^FlashGet|^GetRight|^GetWeb!|^Go!Zilla|^Go-Ahead-Got-It|^GrabNet|^Grafula|^HMView|HTTrack|^Image\\ Stripper|^Image\\ Sucker|Indy\\ Library|^InterGET|^Internet\\ Ninja|^JetCar|^JOC\\ Web\\ Spider|^larbin|^LeechFTP|^Mass\\ Downloader|^MIDown\\ tool|^Mister\\ PiX|^Navroad|^NearSite|^NetAnts|^NetSpider|^Net\\ Vampire|^NetZIP|^Octopus|^Offline\\ Explorer|^Offline\\ Navigator|^PageGrabber|^Papa\\ Foto|^pavuk|^pcBrowser|^RealDownload|^ReGet|^SiteSnagger|^SmartDownload|^SuperBot|^SuperHTTP|^Surfbot|^tAkeOut|^Teleport\\ Pro|^VoidEYE|^Web\\ Image\\ Collector|^Web\\ Sucker|^WebAuto|^WebCopier|^WebFetch|^WebGo\\ IS|^WebLeacher|^WebReaper|^WebSauger|^Website\\ eXtractor|^Website\\ Quester|^WebStripper|^WebWhacker|^WebZIP|^Widow|^WWWOFFLE|^Xaldon\\ WebSpider|^Zeus) [NC]\n RewriteRule .* - [R=403,L]\n SSLengine/g' *.conf *example -i | |
https://serverfault.com/questions/201035/how-to-block-googlebot-quickly | |
https://www.inmotionhosting.com/support/website/restricting-bots/how-to-stop-search-engines-from-crawling-your-website | |
https://support.google.com/webmasters/answer/6332384?hl=de #(delete pages from google) | |
#mpm thread | |
https://www.fox1.de/2016/05/27/apache-is-running-a-threaded-mpm-but-your-php-module-is-not-compiled-to-be-threadsafe/ | |
https://askubuntu.com/questions/453377/how-to-enable-event-mpm-apache-2-4-on-ubuntu-14-04-with-thread-safe-php | |
[.htaccess] | |
https://hamberger.marketing/artikel/php-version-ordner-hostern-einstellen | |
https://www.askapache.com/htaccess/mod_rewrite-variables-cheatsheet/ | |
https://stackoverflow.com/questions/17412302/multiple-htaccess-rewrite-rule | |
https://wiki.apache.org/httpd/RewriteCond | |
https://httpd.apache.org/docs/2.0/misc/rewriteguide.html | |
http://wiki.schmidtmarcel.de/htaccess-rewritecond-rewriterule/ | |
https://stackoverflow.com/questions/13282262/trying-to-exclude-a-url-from-htaccess-rule | |
https://stackoverflow.com/questions/14008003/how-to-exclude-a-specific-file-from-a-rewriterule | |
https://stackoverflow.com/questions/5818146/how-to-force-rewrite-to-https-except-for-a-few-pages-in-apache | |
https://www.sitepoint.com/community/t/rewrite-condition-without-rewritecond/92284/2 | |
https://stackoverflow.com/questions/36200710/rewrite-whole-url-with-htaccess | |
https://hamberger.marketing/artikel/php-version-ordner-hostern-einstellen | |
https://my.justhost.com/hosting/help/htaccess-php-handlers | |
https://www.addedbytes.com/blog/url-rewriting-for-beginners | |
https://stackoverflow.com/questions/36991188/what-is-the-difference-between-always-and-onsuccess-in-apaches-header-confi | |
https://www.guntiahoster.de/blog/2013/allgemein/headereintraege-zur-verbesserung-der-sicherheit/ | |
-- | |
[ICMP TUNNEL] | |
http://code.gerade.org/hans/ | |
https://news.ycombinator.com/item?id=10547264 | |
http://www.vpnusers.com/viewtopic.php?f=7&t=1632 | |
http://forum.vpngate.net/viewtopic.php?t=2447&p=7181 | |
http://inetric.blogspot.de/2016/02/softether-vpn-icmpdns.html | |
-- | |
[VPN softether] | |
http://www.softether.org/5-download | |
http://www.softether-download.com/en.aspx?product=softether | |
http://www.softether.org/9-about/What_is_different_between_SoftEther_VPN_and_VPN_Gate%3F | |
http://www.vpngate.net/en/join.aspx | |
-- | |
[CRON JOBS] | |
. ~/.profile | |
source ~/.profile | |
## OR DEFINE PATH | |
https://unix.stackexchange.com/questions/27289/how-can-i-run-a-cron-command-with-existing-environmental-variables | |
https://stackoverflow.com/questions/2229825/where-can-i-set-environment-variables-that-crontab-will-use | |
-- | |
[BASH/zsh/shell] | |
https://unix.stackexchange.com/questions/146942/how-can-i-test-if-a-variable-is-empty-or-contains-only-spaces | |
http://tldp.org/LDP/abs/html/comparison-ops.html | |
https://opensourcehacker.com/2012/09/19/five-zsh-tricks-to-optimize-your-shell-workflow/ | |
https://superuser.com/questions/324512/how-can-i-change-to-the-previous-directory-instead-of-going-up | |
https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/last-working-dir/last-working-dir.plugin.zsh | |
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-11.html | |
--check for shell arguments --option -- | |
SKIPWWW=false | |
SKIPTEST=false | |
for i in "$@" ; do [[ $i == "--nowww" ]] && SKIPWWW=true && break ; done | |
for i in "$@" ; do [[ $i == "--notest" ]] && SKIPTEST=true && break ; done | |
-- | |
--check for shell arguments at defined places-- | |
if [ -z "$1" ];then echo "NEED DOMAIN AS FIRST ARGUMENT" ; exit 3 ; fi | |
if [ -z "$2" ];then echo "NEED USERNAME AS SECOND ARGUMENT"; exit 3 ;fi | |
-- | |
[CRON] | |
https://forum.ubuntuusers.de/topic/crontabs-in-etc-cron.d/ | |
https://stackoverflow.com/questions/2388087/how-to-get-cron-to-call-in-the-correct-paths | |
https://stackoverflow.com/questions/10129381/crontab-path-and-user | |
https://askubuntu.com/questions/85558/verify-if-crontab-works | |
http://cron.schlitt.info/index.php?cron=*%2F5+*%09*+*+*&iterations=10&test=Test | |
https://askubuntu.com/questions/892599/cron-job-log-reads-no-mta-installed-does-that-prevent-the-cron-job-from-finis | |
https://unix.stackexchange.com/questions/150546/crontab-error-with-no-mta-installed-but-i-use-dev-null-21 | |
https://askubuntu.com/questions/892599/cron-job-log-reads-no-mta-installed-does-that-prevent-the-cron-job-from-finis | |
-- | |
[passwd-recocovery] | |
http://www.crark.net/crark-7zip.html | |
http://www.debianadmin.com/howto-crack-zip-files-password-in-linux.html | |
[MYSQLDUMP] | |
https://stackoverflow.com/questions/20059823/mysqldump-error-1045-access-denied-despite-correct-passwords-etc | |
https://stackoverflow.com/questions/15718477/mysqldump-exporting-data-in-a-bad-character-set | |
[PHP HTML JS FORM] | |
https://stackoverflow.com/questions/6768793/get-the-full-url-in-php | |
https://stackoverflow.com/questions/4221333/get-the-current-script-file-name | |
https://stackoverflow.com/questions/1935918/php-substring-extraction-get-the-string-before-the-first-or-the-whole-strin | |
https://stackoverflow.com/questions/7231157/how-to-submit-form-on-change-of-dropdown-list | |
https://stackoverflow.com/questions/5733808/submit-form-and-stay-on-same-page | |
http://www.webdeveloper.com/forum/showthread.php?219973-this-form-name-is-undefined | |
https://stackoverflow.com/questions/14149088/how-to-pass-value-from-optionselect-to-form-action | |
https://www.phpied.com/204-no-content/ | |
https://stackoverflow.com/questions/3489387/print-post-variable-name-along-with-value | |
https://stackoverflow.com/questions/196664/print-out-post-values | |
#NO! http://webcheatsheet.com/php/get_current_page_url.php | |
-- | |
[mail:relay] | |
->turbosmtp , mailgun etc. | |
https://forum.ubuntuusers.de/topic/postfix-strato-relay/ | |
http://www.synology-wiki.de/index.php/Mail-Relay_mit_Postfix | |
https://www.linuxquestions.org/questions/linux-server-73/postfix-client-host-rejected-936628/ | |
https://legacy.thomas-leister.de/postfix-als-smarthost-mail-relay-fuer-andere-server/ | |
https://www.cyberciti.biz/faq/how-to-configure-postfix-relayhost-smarthost-to-send-email-using-an-external-smptd/ | |
http://www.ksingla.net/2010/01/using-windows-live-as-smtp-relay-server/ | |
http://www.serversmtp.com/en/smtp-hotmail | |
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-mail-relay-with-postfix-and-mailgun-on-ubuntu-16-04 | |
https://www.linode.com/docs/email/postfix/postfix-smtp-debian7/ | |
http://www.huschi.net/4_181_de-postfix-mail-relay-mit-smtp-auth-fuer-ausgehende-mails.html | |
http://www.christophbrill.de/de_DE/postfix-relay-per-sender/ | |
https://gist.github.com/zmwangx/2c56aa32be68daf48c2f | |
https://forum.synology.com/enu/viewtopic.php?t=58596 | |
[dsgvo] | |
https://www.heise.de/newsticker/meldung/DSGVO-Folterfragebogen-im-Selbsttest-3974512.html | |
[postfix] | |
https://serverfault.com/questions/811245/how-to-configure-postfix-to-force-from-field-but-leave-reply-to-alone | |
https://www.mind-it.info/2014/02/22/forward-postfix-spf-srs/ | |
https://serverfault.com/questions/501722/conditionally-rewriting-from-and-reply-to-headers-in-postfix | |
[mail:spf|dkim] | |
https://support.cloudflare.com/hc/en-us/articles/200168696-How-do-I-add-DKIM-records- | |
https://de.wikipedia.org/wiki/Sender_Policy_Framework | |
https://www.spfwizard.net/ | |
https://www.siteground.com/kb/enable-spf-domain/ | |
http://www.spf-record.de/spf-lookup?domain=nsa.gov | |
http://rbl-check.org/rbl-quick-check/abfrage/ | |
http://mail.live.com/mail/troubleshooting.aspx#errors | |
https://www.rackaid.com/blog/hotmail-blacklist-removal/ | |
https://www.linuxbabe.com/mail-server/solve-550-mail-content-denied-error | |
https://www.linuxbabe.com/mail-server/solve-550-mail-content-denied-error | |
http://www.synology-forum.de/showthread.html?66407-Verst%C3%A4ndnisfrage-zu-DKIM | |
https://www.mailjet.com/docs/spf-dkim-guide/#spf-dkim-values | |
https://www.hosteurope.de/faq/domains/verwaltung/spf/ | |
https://mxtoolbox.com/SuperTool.aspx | |
https://mxtoolbox.com/SuperTool.aspx?action=blacklist%3aroestgut.de&run=toolpage# | |
https://forums.zoho.com/topic/mail-to-qq-mailboxes-rejected | |
http://ipremoval.sms.symantec.com/lookup/ | |
https://www.ers.trendmicro.com/reputations | |
https://www.senderscore.org/lookup.php?lookup=ccc.de&validLookup=true | |
https://www.mail-tester.com | |
https://together.jolla.com/question/59505/solvedhow-to-setup-outgoing-smtp-server-for-hotmail-on-jolla/ | |
[mail:delist:unblock] | |
https://blog.stickleback.dk/getting-off-hotmails-blocklist/ | |
https://webmasters.stackexchange.com/questions/54988/how-to-remove-our-ip-address-from-microsofts-email-blacklist | |
https://wiki.hetzner.de/index.php/Microsoft_Blacklist | |
https://sendersupport.olc.protection.outlook.com/pm/troubleshooting.aspx#errors. | |
https://support.microsoft.com/en-us/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3 | |
https://support.microsoft.com/de-de/getsupport?oaspworkflow=start_1.0.0.0&wfname=capsub&productkey=edfsmsbl3&locale=de-de | |
https://postmaster.live.com/snds/ipStatus.aspx # REGISTER HERE AND REQUEST ACCESS FOR YOUR IP , then send request via support.microsoft.com | |
https://answers.microsoft.com/en-us/outlook_com/forum/oemail-osend/my-ip-has-been-blocked-how-can-i-unblock-it/8542c125-bbf6-4b99-9ff5-80dcf4a96d50 | |
https://sender.office.com/ | |
-- | |
[mail:move] | |
https://www.selbstaendig-im-netz.de/2014/05/12/allgemein/mail-postfach-auf-neuen-server-umziehen-tipps-tools-und-services/ | |
-- | |
[mail:spamfilter:amavis:spamassasin:dovecot:clamav] | |
https://legacy.thomas-leister.de/postfix-amavis-spamfilter-spamassassin-sieve/ | |
https://dokuwiki.nausch.org/doku.php/centos:mail_c6:spam_5#spam_gtube | |
https://lists.amavis.org/pipermail/amavis-users/2012-April/001347.html | |
https://serverfault.com/questions/504426/amavis-missing-x-spam-status-header | |
http://www.emailsecuritycheck.net/index.html | |
http://spamassassin.apache.org/gtube/ | |
http://www.postfix.org/postconf.5.html#smtpd_tls_security_level | |
http://www.postfix.org/TLS_README.html | |
https://serversupportforum.de/forum/mail/22261-postfix-smtpd_tls_security_level.html | |
https://github.com/Zimbra-Community/pgp-zimlet/issues/193 | |
[mail:dovecot-fail2ban] | |
https://wiki.dovecot.org/HowTo/Fail2Ban | |
-- | |
[IP:ASN] | |
https://www.ultratools.com/tools/asnInfoResult?domainName=8.8.8.8 | |
-- | |
[UMTS/GSM Stick] | |
https://forum.ubuntuusers.de/topic/software-zur-nutzung-des-umts-sticks-als-tele/ | |
https://ubuntuforums.org/showthread.php?t=1918083 | |
http://www.techytalk.info/send-receive-sms-using-gsm-modem-phone-ubuntu/ | |
http://lab.ks.uni-freiburg.de/projects/linux_from_scratch/wiki/GSM-Stick | |
-- | |
[pxe] | |
https://t2792.greatnet.de/fg_mediawiki/index.php/PXE | |
http://wiki.revamp-it.ch/index.php?title=Installationen_%C3%BCber_PXE | |
https://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny | |
https://wiki.ubuntuusers.de/PXE-Boot/ | |
https://alephnull.uk/build-linux-cluster-pxe-dhcp-tftp-nfs | |
http://ipxe.org/start | |
http://ipxe.org/docs | |
http://ipxe.org/appnote/debian_preseed | |
http://ipxe.org/appnote/ubuntu_live | |
http://ipxe.org/appnote/windowsdisklessaoe | |
http://ipxe.org/howto/romburning/intel | |
http://ipxe.org/howto/winpe | |
-- | |
puppy | |
http://puppylinux.org/main/Download%20Latest%20Release.htm | |
http://www.murga-linux.com/puppy/viewtopic.php?t=64107 # puppy pxe | |
http://murga-linux.com/puppy/viewtopic.php?t=106479&start=465 # xenialpup | |
-- | |
https://www.howtoforge.com/how_to_find_out_about_your_linux_distribution | |
(/proc/version, /etc/lsb-release , /etc/apt/sources.list) | |
-- | |
[letsencrypt/certbot-auto] | |
#first for specific mail/whatever domain (which is not sni) | |
certbot --apache --dry-run certonly -d domain.com | |
#then extend for sni ( assuming apache already configured) | |
certbot --apache --agree-tos --email [email protected] | |
##CRON ## 52 0,12 * * * /home/git/certbot-auto renew --quiet (only apache/httpd , nginx etc with --deploy-hook or --renew-hook) | |
https://serverfault.com/questions/790772/cron-job-for-lets-encrypt-renewal | |
https://github.com/lukas2511/dehydrated | |
https://github.com/mscalora/hover-cli | |
https://loune.net/2016/01/https-with-lets-encrypt-ssl-and-nginx/ | |
https://letsencrypt.org/docs/expiration-emails/ | |
https://certbot.eff.org/docs/using.html | |
https://serverfault.com/questions/768509/lets-encrypt-with-an-nginx-reverse-proxy | |
https://support.dnsimple.com/articles/caa-record/ | |
https://community.letsencrypt.org/t/howto-ocsp-stapling-for-nginx/13611/2 | |
https://community.letsencrypt.org/t/is-there-a-way-to-use-curl-to-generate-certificate/23153 | |
https://community.letsencrypt.org/t/curl-refuses-to-accept-my-cert-saying-the-certificate-issuer-is-not-recognized/40917 ( fullchain.pem as cert !!) | |
##transparently replacing hosts, enabling new ones to generate certs in advance: | |
<VirtualHost *:80> | |
ServerName live-server.com | |
ErrorLog /www/logs/errors/live-server.com.error.log | |
ProxyPreserveHost On | |
ProxyPass /.well-known/ http://replacement-server.com/.well-known/ | |
ProxyPassReverse /.well-known/ http://replacement-server.com/.well-known/ | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/ | |
RewriteRule ^(.*)$ https://live-server.com$1 [L,R=301] | |
</VirtualHost> | |
### | |
##nginx example for redirecting acme challenge in proxy situations | |
server { | |
server_name _; | |
# or comment out | |
location ^~ /.well-known/acme-challenge/ { | |
default_type "text/plain"; | |
root /var/www/letsencrypt; | |
} | |
### Hide /acme-challenge subdirectory and return 404 on all requests. | |
location = /.well-known/acme-challenge/ { | |
return 404; | |
} | |
if ($host = newserver.com) { | |
return 301 https://$host$request_uri; | |
} | |
listen 80 ; | |
listen [::]:80 ; | |
return 404; # managed by Certbot | |
} | |
## | |
chain problems with nginx ? | |
generate full chain in order (the right one !! ) | |
cd /etc/ssl/private/;cat /etc/letsencrypt/archive/targetdomain.website/privkey1.pem > nginx.key ; cat /etc/letsencrypt/archive/targetdomain.website/cert1.pem /etc/letsencrypt/archive/targetdomain.website/chain1.pem /etc/letsencrypt/archive/targetdomain.website/fullchain1.pem > crt.pem ; ln -s crt.pem ca.pem;/etc/init.d/nginx restart | |
-- | |
[SSL:Tweaks] | |
https://serverfault.com/questions/447753/ssl-certificate-for-local-web-server | |
https://stackoverflow.com/questions/1203815/how-to-create-a-certificate-for-local-development-with-ssl | |
https://community.letsencrypt.org/t/local-area-network-ssl-certificate/24822 | |
-- | |
[mySQL] | |
https://mathiasbynens.be/notes/mysql-utf8mb4 | |
https://dba.stackexchange.com/questions/8239/how-to-easily-convert-utf8-tables-to-utf8mb4-in-mysql-5-5 | |
https://support.plesk.com/hc/en-us/articles/115000940709-Unable-to-start-MySQL-service-InnoDB-No-valid-checkpoint-found- | |
https://stackoverflow.com/questions/105776/how-do-i-restore-a-dump-file-from-mysqldump | |
VIEWS: | |
SHOW FULL TABLES IN databse_name WHERE TABLE_TYPE LIKE 'VIEW'; | |
SHOW CREATE VIEW view_name; | |
[mysql:tuning] | |
https://github.com/major/MySQLTuner-perl | |
https://github.com/alexanderkoller/low-memory-mysql/blob/master/low-memory-my.cnf | |
https://mariadb.com/resources/blog/starting-mysql-on-low-memory-virtual-machines/ | |
-- | |
[OpenVPN] | |
https://wiki.openwrt.org/doc/howto/vpn.server.openvpn.tun | |
https://community.openvpn.net/openvpn/wiki/GettingStartedwithOVPN | |
https://forums.openvpn.net/viewtopic.php?t=8062 | |
http://forum.openvpn.eu/viewtopic.php?f=1&t=2395 | |
https://forums.openvpn.net/viewtopic.php?t=22439 | |
https://www.sparklabs.com/support/kb/article/error-inactivity-timeout-ping-restart/ | |
http://www.linuxforen.de/forums/showthread.php?276311-OpenVPN-Tunnel-autoreconnect | |
hardening: | |
https://community.openvpn.net/openvpn/wiki/Hardening | |
https://blog.g3rt.nl/openvpn-security-tips.html | |
https://itsecblog.de/haertung-eines-openvpn-servers/ | |
https://www.v13.gr/blog/?p=386 | |
http://blog.dornea.nu/2015/11/17/openvpn-for-paranoids/#c7e681c8da92ffe4e225ca9dc442008d | |
Synology: | |
https://www.thomas-krenn.com/de/wiki/OpenVPN_am_Synology_NAS_einrichten | |
http://www.synology-wiki.de/index.php/OpenVPN_h%C3%A4rten | |
https://wiki.openwrt.org/doc/howto/vpn.server.openvpn.tun | |
##ALLEYSINLINE | |
https://forums.openvpn.net/viewtopic.php?t=20860 | |
#REMOTECERTEKU | |
https://forums.openvpn.net/viewtopic.php?t=7484 | |
#CRLEXPIRED | |
https://forums.openvpn.net/viewtopic.php?t=23166 | |
#CRLVERIFY | |
https://forum.ubuntuusers.de/topic/fehler-bei-verbindungsaufbau-via-openvpn/ | |
#KEYDIRECTION | |
https://serverfault.com/questions/539701/openvpn-tls-error | |
#ns-cer-type server | |
http://www.synology-forum.de/showthread.html?40315-No-server-certificate-verification-method-has-been-enabled | |
https://wiki.openwrt.org/inbox/vpn.howto | |
https://openvpn.net/index.php/open-source/documentation/miscellaneous/77-rsa-key-management.html | |
http://wiki.openvpn.eu/index.php/Erzeugen_einer_PKI_mit_EasyRSA | |
https://github.com/RMerl/asuswrt-merlin/wiki/Generating-OpenVPN-keys-using-Easy-RSA | |
http://www.f15ijp.com/2010/08/openvpn-tls-error-reading-acknowledgement-record-from-packet/ | |
https://forum.openwrt.org/viewtopic.php?id=63484 | |
https://books.google.de/books?id=jT49DwAAQBAJ&pg=PT224&lpg=PT224&dq=Authenticate/Decrypt+packet+error:+packet+HMAC+authentication+failed&source=bl&ots=a1TNad5gcS&sig=IX_3GctaplD4U60vk3TCl9SPgzw&hl=de&sa=X&ved=0ahUKEwjOh6zPmvTXAhXIWBQKHaBABys4MhDoAQg2MAE#v=onepage&q=Authenticate%2FDecrypt%20packet%20error%3A%20packet%20HMAC%20authentication%20failed&f=false | |
http://tomatousb.org/forum/t-551699/openvpn-hmac-authentication-failed-in-bidirectional-mode-tls | |
-- | |
[cluster:ha] | |
https://github.com/analytically/haproxy-ddos | |
https://stackoverflow.com/questions/15737001/haproxy-real-ip-cloudflare | |
-- | |
[Synology] | |
https://www.synology.com/de-de/support/download/DS416play#utilities | |
synoservicecfg --list | |
docker monitoring: | |
grep name /usr/syno/etc/packages/Docker/*.config|cut -d\" -f4 |while read dockerimage;do docker ps -f name=$dockerimage |grep -q $dockerimage || curl "https://api.telegram.org/bot12345:APIKeyAPIkeyAPIkey/sendMessage?chat_id=-1001234567&text="$dockerimage" on "$(hostname)" not running ..contact your admin" -s 2>&1>/dev/null ;done | |
https://forum.synology.com/enu/viewtopic.php?t=128590&start=15 | |
http://tonylawrence.com/post/unix/synology/freeing-port-80/ | |
http://www.synology-wiki.de/index.php/Grundlegende_Befehle_auf_der_Kommandozeile#Dienste_neu_starten | |
https://forum.synology.com/enu/viewtopic.php?t=97309 | |
https://forum.synology.com/enu/viewtopic.php?t=116204 | |
http://majikshoe.blogspot.de/2014/12/starting-service-on-synology-dsm-5.html | |
https://forum.synology.com/enu/viewtopic.php?t=62014 | |
http://www.synology-wiki.de/index.php/Iptables | |
http://www.changzhouc.com/change-the-firewall-manually-to-make-your-synology-more-safe/ | |
https://forum.synology.com/enu/viewtopic.php?t=97449 | |
https://www.synology.com/de-de/knowledgebase/DSM/help/DirectoryServer/ldap_server | |
https://www.synology.com/de-de/knowledgebase/DSM/tutorial/Application/How_to_join_my_Synology_NAS_into_Windows_Active_Directory_domain | |
http://www.multigesture.net/articles/how-to-use-cron-on-a-synology-nas/ | |
#sso | |
https://www.synology.com/en-global/knowledgebase/DSM/help/DSM/AdminCenter/file_user_import | |
https://gist.github.com/jerome-labidurie/d92d9441c4d021f5181d | |
https://www.synology.com/en-global/knowledgebase/DSM/help/SSOServer/sso_server_desc | |
https://www.synology.com/de-de/knowledgebase/DSM/tutorial/File_Sharing/How_to_join_NAS_to_Azure_AD_Domain | |
https://www.reddit.com/r/synology/comments/8s0vja/single_sign_on_sso_server_configuration_dsm/ | |
-- | |
[Docker] | |
(check docker [pull,run,start,exec,login,attach,rm,rmi]) | |
#monitoring all domains the container named "nginx" listens to for 502/503/504 and if they work , measure page loading time | |
time (docker exec -t nginx nginx -T -c /etc/nginx/nginx.conf 2>&1 |grep "server_name "|grep -v "This is just an invalid value" | sed 's/\r//g;s/^\(\t\| \)\+//g;s/\(server_name \|;\)//g'|sort|uniq|grep -v "^www\."|while read a ;do curl -kvL https://$a/ 2>&1 | grep "^< HTTP/"| grep -e 502 -e 503 && echo "web_pageload_"$a"=-100" || ( TIMEFORMAT='%E' ; echo "web_pageload_"$a"="$(time (echo -n "https://""$a"|wget -H -K -c -p -e robots=off -i- -O- --timeout=16 &>/dev/null ) 2>&1) |sed 's/\r//g;s/,/./g' |grep -v ^$) ;done ) 2>&1 > /tmp/docker_pageload | |
#viewing all sterr logs in a directory /tmp/errors as .log files in less with filtering | |
mkdir /tmp/errors;docker ps -a|cut -d" " -f1|while read a;do docker logs $a >/dev/null 2>"/tmp/errors/"$a".log";done cd ;cat /tmp/errors/*log |grep -v -e "client request body is buffered to a temporary" |less | |
##allowing nginx frontend container to use 6 cpus , all others 3 cpus , memory limit for non-nginx is set to 3GB per container | |
docker update --memory "3g" --cpuset-cpus "6" nginx;docker ps -a |grep -v ^CONTAINER|grep -v nginx |cut -d" " -f1|while read a ;do docker update --memory "3g" --cpuset-cpus "2" $a ;done;docker update --memory "3g" --cpuset-cpus "6" nginx | |
##show most cpu consuming containers on repeat | |
watch 'docker stats --format "table {{.CPUPerc}}\t{{.Name}}" --no-stream --no-trunc|grep -v -e ^0.00 -e ^CPU|sort -nsr|head -n20' | |
##find the containers using a specific volume | |
docker volume ls --format "{{.Name}}:" ### ->yields names | |
docker ps -a --filter volume=myvolumename #> shows container using it | |
http://container42.com/2014/11/03/docker-indepth-volumes/ | |
http://jpetazzo.github.io/2015/01/19/dockerfile-and-data-in-volumes/ | |
https://gist.github.com/bastman/5b57ddb3c11942094f8d0a97d461b430 | |
https://stackoverflow.com/questions/30183978/bind-a-directory-to-a-docker-container | |
http://container-solutions.com/understanding-volumes-docker/ | |
https://github.com/moby/moby/issues/21728 | |
https://github.com/moby/moby/issues/3156 | |
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion | |
https://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/ | |
https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/ | |
https://serverfault.com/questions/573378/how-can-i-run-a-full-os-in-a-docker-container-without-specifying-a-command | |
https://github.com/just-containers/s6-overlay | |
https://wiki.univention.de/index.php?title=Docker | |
https://forums.docker.com/t/how-to-run-bash-command-after-startup/21631 | |
https://stackoverflow.com/questions/25135897/how-to-automatically-start-a-service-when-running-a-docker-container | |
https://docs.docker.com/get-started/part2/ | |
https://docs.docker.com/get-started/part3/ | |
https://github.com/bscheshirwork/docker-yii2-app-advanced/blob/master/docker-run/docker-compose.yml#L28-L62 | |
https://forums.docker.com/t/can-i-change-the-default-ip-from-0-0-0-0-when-binding/30358/2 | |
https://docs.docker.com/engine/installation/linux/docker-ce/debian/ | |
https://docs.docker.com/engine/reference/builder/#expose | |
https://docs.docker.com/engine/reference/run/#specify-custom-cgroups | |
https://docs.docker.com/engine/reference/commandline/cli/#examples | |
https://docs.docker.com/engine/reference/commandline/container_attach/#usage | |
https://docs.docker.com/engine/reference/commandline/container_port/ | |
https://docs.docker.com/engine/reference/commandline/create/ | |
https://docs.docker.com/engine/userguide/networking/default_network/binding/ | |
https://docs.docker.com/engine/reference/builder/#dockerfile-examples | |
https://docs.docker.com/engine/reference/builder/#usage | |
https://docs.docker.com/engine/admin/volumes/volumes/#start-a-container-which-creates-a-volume-using-a-volume-driver | |
https://docs.docker.com/engine/admin/volumes/bind-mounts/#configure-mount-consistency-for-macos | |
https://docs.docker.com/engine/admin/volumes/bind-mounts/#start-a-container-with-a-bind-mount | |
https://docs.docker.com/engine/admin/volumes/bind-mounts/#use-a-read-only-bind-mount | |
https://stackoverflow.com/questions/30547484/calling-openconnect-vpn-client-in-docker-container-shows-tunsetiff-failed-opera | |
http://container42.com/2013/12/16/persistent-volumes-with-docker-container-as-volume-pattern/ | |
http://www.computerweekly.com/feature/Docker-storage-how-to-get-persistent-storage-in-Docker | |
https://stackoverflow.com/questions/19585028/i-lose-my-data-when-the-container-exits | |
https://github.com/rocker-org/rocker/wiki/How-to-save-data | |
https://stackoverflow.com/questions/26153686/how-do-i-run-a-command-on-an-already-existing-docker-container | |
https://thenewstack.io/methods-dealing-container-storage/ | |
https://docs.docker.com/engine/admin/volumes/volumes/ | |
https://coderwall.com/p/zguz_w/docker-remove-all-exited-containers | |
( sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm ) | |
https://www.digitalocean.com/community/tutorials/docker-explained-using-dockerfiles-to-automate-building-of-images | |
https://forums.docker.com/t/how-to-expose-port-on-running-container/3252/5 | |
https://docs.docker.com/engine/examples/running_ssh_service/ | |
https://stackoverflow.com/questions/32174560/port-forwarding-in-docker-machine | |
https://github.com/haugene/docker-transmission-openvpn/issues/46 | |
https://github.com/haugene/docker-transmission-openvpn/issues/43 | |
https://superuser.com/questions/1054678/can-we-execute-a-script-as-root-during-docker-container-startup | |
https://entwickler.de/online/docker-am-praktischen-beispiel-mit-wordpress-150107.html | |
http://www.pc-erfahrung.de/nebenrubriken/sonstiges/webdesignwebentwicklung/docker/docker-apache-mysql-automatisch-starten.html | |
https://semaphoreci.com/community/tutorials/dockerizing-a-php-application | |
https://stackoverflow.com/questions/19234831/where-are-docker-images-stored-on-the-host-machine | |
https://forums.docker.com/t/how-do-i-change-the-docker-image-installation-directory/1169/31 | |
https://stackoverflow.com/questions/28212380/why-docker-container-exits-immediately | |
https://stackoverflow.com/questions/30209776/docker-container-will-automatically-stop-after-docker-run-d | |
https://stackoverflow.com/questions/32043734/can-fail2ban-run-in-a-separate-docker-container-while-somehow-still-implement-ip | |
https://www.digitalocean.com/community/tutorials/how-to-protect-an-nginx-server-with-fail2ban-on-ubuntu-14-04 | |
https://www.reddit.com/r/docker/comments/axmuj6/nginxtraefik_and_fail2ban_lost_on_how_to_configure/ | |
https://stackoverflow.com/questions/17157721/how-to-get-a-docker-containers-ip-address-from-the-host | |
##start limit hit | |
https://github.com/moby/moby/issues/33931 | |
#socket failing | |
https://stackoverflow.com/questions/47489631/warning-stopping-docker-service-but-it-can-still-be-activated-by-docker-socke | |
https://www.brianchristner.io/docker-image-base-os-size-comparison/ | |
https://www.brianchristner.io/how-to-setup-prometheus-docker-monitoring/ | |
https://github.com/GoogleCloudPlatform/redis-docker/blob/master/3/README.md | |
https://www.healthcareblocks.com/blog/persistent-ruby-gems-docker-container | |
https://github.com/jwilder/nginx-proxy | |
https://github.com/phusion/baseimage-docker#readme | |
https://hub.docker.com/r/zoobab/openwrt-15.05.1-x86-64-rootfs/ | |
https://github.com/hkparker/i2p-docker | |
https://blog.jessfraz.com/post/routing-traffic-through-tor-docker-container/ | |
https://medium.com/@rdsubhas/docker-image-with-tor-privoxy-and-a-process-manager-under-15-mb-c9e344111b61 | |
https://github.com/Freifunk-Hennef/docker-debian-batman | |
https://github.com/osixia/docker-openldap/find/stable | |
https://github.com/JrCs/docker-nginx-proxy-letsencrypt#custom-nginx-configuration | |
https://docs.docker.com/config/containers/runmetrics/#find-the-cgroup-for-a-given-container | |
https://gitlab.dev.ifs.hsr.ch/m1huber/docker-nginx-proxy | |
https://forums.docker.com/t/how-can-i-view-the-dockerfile-in-an-image/5687/3 | |
https://stackoverflow.com/questions/47671108/docker-php-ext-install-mcrypt-missing-folder | |
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion | |
https://docs.docker.com/config/daemon/ipv6/ | |
https://serverfault.com/questions/617099/publish-or-forward-ipv6-port-range-to-docker-container | |
https://cloudvedas.com/how-to-cap-or-limit-memory-usage-of-a-docker-container/ | |
http://fuzzyblog.io/blog/docker/2017/06/25/docker-tutorial-understanding-container-memory-usage.html | |
-- | |
[bandwith control aka traffic-shaping] | |
openwrt: | |
https://forum.openwrt.org/t/bandwidth-control/23997 | |
https://openwrt.org/docs/guide-user/network/traffic-shaping/packet.scheduler | |
--- | |
[Docker:synlogy] | |
(if service ports are not possible in web frontend, | |
stop container , stop docker service (synoservicectl) | |
modify corresponding hostconfig.json .. et voila) | |
https://stackoverflow.com/questions/19335444/how-do-i-assign-a-port-mapping-to-an-existing-docker-container | |
https://mybrainimage.wordpress.com/2017/02/05/docker-change-port-mapping-for-an-existing-container/ | |
http://www.synology-forum.de/showthread.html?79144-Docker-auf-DS416play-installieren | |
https://blog.pavelsklenar.com/how-to-install-and-use-docker-on-synology/ | |
http://www.jinkit.com/docker-on-synology/ | |
https://forum.synology.com/enu/viewtopic.php?t=114332 | |
https://gridscale.io/community/tutorials/docker-ubuntu/ | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04 | |
https://www.marcoraddatz.com/en/2016/07/13/run-homebridge-on-a-synology/ | |
https://mtlynch.io/sia-via-docker/ | |
https://medium.com/@ctindel/running-unifi-controller-in-docker-on-synology-263491f2b803 | |
https://www.symcon.de/forum/threads/35888-Frage-zu-Docker-Debian-Synology | |
https://docs.docker.com/engine/userguide/networking/default_network/custom-docker0/ | |
https://www.synology.com/de-de/knowledgebase/DSM/help/Docker/docker_container | |
https://jensbouma.nl/blog/homebridge-in-a-docker-container-on-the-synology-diskstation-guide/ | |
http://www.synology-forum.de/archive/index.html/t-82257.html | |
https://blog.pavelsklenar.com/how-to-run-application-in-docker-on-synology/ | |
http://www.synology-forum.de/showthread.html?71071-Docker-Lokaler-Port-xxxxx-steht-im-Konflikt-mit-anderen-Ports-und-anderen-Diensten | |
-- | |
[CSS/HTML] | |
http://sedna-soft.de/articles/kennzeichen/ | |
-- | |
[linux:tun-tap-veth] | |
http://www.naturalborncoder.com/virtualization/2014/10/17/understanding-tun-tap-interfaces/ | |
-- | |
git-ssh windows | |
SourceTree: | |
after creation of ssh key, import in pageant (putty agent (little symbol)) | |
https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html#SetupanSSHkey-ssh3SetupSSHwithSourcetreeonWindows | |
PHPStorm: | |
install git( https://git-for-windows.github.io/ ) | |
create OpenSSH-compatible keys in $USER\.ssh\ | |
(faulty but helpful) http://vanlt.blogspot.de/2015/05/configure-git-phpstorm-on-windows.html | |
if using Putty-Key: | |
Go to Conversions->Export OpenSSH and export your private key | |
https://stackoverflow.com/questions/2224066/how-to-convert-ssh-keypairs-generated-using-puttygenwindows-into-key-pairs-use | |
-- | |
PRINTER: Evolis PRIMACY | |
-> Modify ppd.gz (gunzip) , comment out any "/Library/" Paths | |
lpadmin -pEVOLIS-Primacy -o GDuplexMode=DUPLEX_MM -o GRibbonType=RM_KBLACK ; | |
lpr -o landscape -o fit-to-page -o media=Card -PEVOLIS-Primacy Vorlage-Digital-Plastikkartendruck.pdf | |
http://web.archive.org/web/20180207030221/https://www.plastikkartendrucker.at/support/allgemein/Programming_Guide.pdf | |
http://web.archive.org/web/20180207030139/https://www.plastikkartendrucker.at/support/allgemein/Network_administrator_manual.pdf | |
http://web.archive.org/web/20180207030216/http://heigltech.com/wp-content/uploads/2013/11/Ethernet-command-guide.pdf | |
https://de.evolis.com/nachrichten/neuheit-evolis-premium-sdk | |
https://www.manualslib.com/manual/1050902/Evolis-Zenius.html?page=15#manual | |
https://www.yumpu.com/en/document/view/39887752/configuring-an-evolis-printer-on-a-tcp-ip-port/18 | |
--- | |
PRINTER:SP-112 (Ricoh) | |
cd /tmp/ | |
wget https://github.com/madlynx/ricoh-sp100/archive/master.zip | |
unzip master.zip | |
cd ricoh-sp100-master/ | |
./check-requirements | |
sudo cp pstoricohddst-gdi /usr/lib/cups/filter/ | |
sudo chown root:root /usr/lib/cups/filter/pstoricohddst-gdi | |
http://www.linux-hardware-guide.de/2014-07-24-ricoh-sp-112-mono-laserdrucker | |
-- | |
PRINTER:QL-720NW | |
->Download&Install drivers ( i386 only ) -> (de) http://support.brother.com/g/b/producttop.aspx?c=de&lang=de&prod=lpql720nweuk | |
-> enable 32-bit libs if on 64bit ( e.g. "sudo apt-get install ia32-libs" , | |
on 16.04 "dpkg --add-architecture i386;apt-get update;apt-get install libc6:i386 libstdc++6:i386") | |
->sudo dpkg -i --force-all ql720nwlpr-1.1.4-0.i386.deb | |
->sudo dpkg -i --force-all ql720nwcupswrapper-1.1.4-0.i386.deb | |
->sudo test -e /var/spool/lpd/ql720nw || sudo mkdir /var/spool/lpd/ql720nw && echo folder exists | |
-> set proper format via cups or cli e.g. "lpadmin -pBrother-QL-720NW -o PageSize=62x29" | |
-> ( find valid formats & settings with: "lpoptions -pBrother-QL-720NW -l" ) | |
(optional) -> use glabel, create template | |
"glabels-3-batch -o test.pdf test.glabels" | |
"lp -P Brother-QL-720NW test.pdf" | |
( you may modify your templates with "cat /tmp/tempmi.glabels |gunzip | sed 's/Text/Othertext/g'|gzip > modimi.glabels" ) | |
Custom Paper Size: | |
https://stackoverflow.com/questions/29899335/custom-paper-size-for-labelprinter-brother-ql-570 | |
RES: | |
http://www.tuxlog.de/gentoolinuxadmin/2014/etikettendruck-mit-dem-brother-ql570-unter-ubuntu-linux/ | |
https://blog.philippklaus.de/2015/12/brother-ql-710w/ | |
https://gist.github.com/coderbyheart/ab133a5700c8dc4e2ca7 | |
https://forum.ubuntuusers.de/topic/brother-ql-720nw-ppd-datei-fuer-endlosetikette/ | |
https://forum.ubuntuusers.de/topic/brother-labeldrucker-ql-720nw-druckt-nicht/ | |
https://stackoverflow.com/questions/16164974/brother-ql-720nw-printing-labels-using-cups-ubuntu | |
https://blog.teststation.org/ubuntu/2016/05/12/installing-32-bit-software-on-ubuntu-16.04/ | |
https://ubuntuforums.org/showthread.php?t=2135730 | |
https://wiki.archlinux.org/index.php/CUPS/Printer-specific_problems | |
-- | |
timelapse (from single files in one directory) | |
avconv #(needs file sequence) | |
#CHECK SAME SIZE FOR ALL (here 4000x300) | |
for i in *{jpg,JPG} ;do echo -n $i " ";echo -n $(exiftool $i |grep "^Image Size" |grep -v 4000x3000 && echo || echo -e "\r" ) ; done | |
## only non-matching sizes are displayed, copy or remove those frames) | |
mkdir linked;cd linked | |
a=0;ls -1 ../*{jpg,JPG}|while read img; do ln -s $img $a.JPG;echo $a $img;let a+=1;done | |
time avconv -y -framerate 25 -r 25 -start_number 1 -i %d.JPG -r 25 -pix_fmt yuv420p -vcodec libx264 -q:v 1 -vf crop=4000:3000,scale=iw/2:ih/2 ../../target.mp4 | |
##cropping@4000x3000 in this example it halfes the dimensions | |
##incoming framerate is -framerate , yuv420 for player compatibility -q:v 1 for best video encoding | |
http://leerspace.com/2016/01/31/creating-a-time-lapse-from-a-series-of-images-on-ubuntu-server-14-04/ | |
https://video.stackexchange.com/questions/13066/how-to-encode-a-video-at-30-fps-from-images-taken-at-7-fps | |
https://askubuntu.com/questions/462805/avconv-set-really-slow-frame-rate | |
-- | |
[qemu] | |
qemu-img snapshot -l <imagename> | |
#List all snapshots in specified image file. | |
qemu-img snapshot -c <snapshot-name> <imagename> | |
#Create a snapshot and name it snapshot-name. | |
qemu-img snapshot -a <snapshot-name> <imagename> | |
#Apply a snapshot named snapshot-name | |
qemu-img snapshot -d <snapshot-name> <imagename> | |
#Delete the snapshot named snapshot-name from the specified image | |
qemu-img convert -p -f qcow2 <imagename1> -O qcow2 <imagename2> | |
##convert and save some bits | |
qemu-img convert -p -f qcow2 <imagename1> -O qcow2 -c <imagename2> | |
#convert and compress | |
http://www.azertech.net/content/kvm-qemu-qcow2-qemu-img-and-snapshots | |
http://pof.eslack.org/2010/12/23/best-solution-to-fully-backup-kvm-virtual-machines/ | |
https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/06/22/handy-tool-for-converting-kvm-vmware-images-to-hyper-v/ | |
https://doc.opensuse.org/documentation/leap/virtualization/html/book.virt/cha.qemu.guest_inst.html#cha.qemu.guest_inst.qemu-img.snapshots | |
https://wiki.qemu.org/Documentation/CreateSnapshot | |
http://azertech.net/content/kvm-qemu-qcow2-qemu-img-and-snapshots | |
https://www.cyberciti.biz/faq/how-to-create-create-snapshot-in-linux-kvm-vmdomain/ | |
-- | |
[hugo] | |
https://github.com/kakawait/hugo-tranquilpeak-theme | |
https://gohugo.io/hosting-and-deployment/hosting-on-github/ | |
https://github.com/whipperstacker/blog/blob/master/content/post/deploying-a-hugo-site-to-github-pages.md | |
-- | |
[Goflex] | |
http://dwaves.de/2015/03/30/hacking-seagate-freeagent-goflex-net-as-nas-with-debian-or-openwrt/ | |
https://techcrunch.com/2010/05/06/how-to-use-the-seagate-dockstar-on-a-lan-without-pogoplug/ | |
--- | |
[Disk Tricks] | |
http://www.sj-vs.net/forcing-a-hard-disk-to-reallocate-bad-sectors/ | |
https://raid.wiki.kernel.org/index.php/Replacing_a_failed_drive | |
[raid:linux] | |
https://superuser.com/questions/379472/how-does-one-enable-write-mostly-with-linux-raid | |
https://www.linuxquestions.org/questions/linux-general-1/mdadm-flag-device-as-write-mostly-on-pre-existing-array-511645/ | |
https://raid.wiki.kernel.org/index.php/Mdstat | |
-- | |
[FS Tricks] | |
XFS | |
https://wiki.archlinux.org/index.php/XFS | |
https://www.linux.com/news/use-xfsfsr-keep-your-xfs-filesystem-optimal | |
https://docs.oracle.com/cd/E37670_01/E37355/html/ol_defrag_xfs.html | |
https://serverfault.com/questions/470295/xfs-force-write-every-n-minutes | |
ext | |
http://searchdatacenter.techtarget.com/tip/Tune-the-Linux-Ext4-file-system-for-optimal-performance | |
-- | |
[xmpp] | |
https://conversejs.org/docs/html/index.html | |
[XMPP/Video] | |
https://be-jo.net/2011/07/audio-und-videochats-ohne-skype/ | |
https://xmpp.org/uses/webrtc.html | |
https://github.com/igniterealtime/community-plugins/tree/master/ofmeet | |
https://talky.io/ | |
https://stackoverflow.com/questions/27438540/is-there-any-open-source-alternative-to-talky-io | |
https://github.com/subrosa-io | |
https://github.com/subrosa-io/subrosa-client | |
https://github.com/subrosa-io/subrosa-server | |
https://github.com/jitsi/jitsi-meet | |
-- | |
[minio] | |
- setup minio ( does not allow subvolumes, in the few cases , bind mounts should help → need to be mounted before containerd ) | |
- get mc | |
- run mc once and update ~/.mc/config.json (e.g. "vi ~/.mc/config.json") | |
example with user named customer.name and site named local in ~/.mc/config.json : | |
we will generate a policy named like the user and the bucket has the same name | |
- generate json like: | |
############## backup.user-customer.name.json ### | |
{ | |
"Version": "2012-10-17", | |
"Id": "backup.user-customer.name", | |
"Statement": [ | |
{ | |
"Sid": "ExampleStatement01", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "arn:aws:iam::Account-ID:user/backup.user-customer.name" | |
}, | |
"Action": [ | |
"s3:GetObject", | |
"s3:PutObject", | |
"s3:GetBucketLocation", | |
"s3:ListBucket", | |
"s3:ListMultipartUploadParts", | |
"s3:AbortMultipartUpload", | |
"s3:DeleteObject" | |
], | |
"Resource": [ | |
"arn:aws:s3:::backup.user-customer.name/*", | |
"arn:aws:s3:::backup.user-customer.name" | |
] | |
} | |
] | |
} | |
################ | |
- run "./mc admin policy add local backup.user-customer.name backup.user-customer.name.json" | |
- run "./mc admin user add local backup.user-customer.name $NEWUSERPASSWORD" | |
( system says: Added user `backup.user-customer.name` successfully. ) | |
- run "./mc admin policy set local backup.user-customer.name user=backup.user-customer.name" | |
--- | |
ClusterFS | |
Overview & Comparison | |
http://www.yolinux.com/TUTORIALS/LinuxClustersAndFileSystems.html | |
https://forums.servethehome.com/index.php?threads/anyone-using-ceph-or-leofs.7769/ | |
http://mrbluecoat.blogspot.com/2016/02/updated-distributed-file-system.html | |
http://mrbluecoat.blogspot.com/2015/03/distributed-file-system-benchmark.html | |
https://www.quora.com/Which-open-source-distributed-block-storage-service | |
https://www.cyberciti.biz/cloud-computing/7-awesome-open-source-cloud-storage-software-for-your-privacy-and-security/ | |
http://opensourceforu.com/2015/10/things-to-consider-while-building-a-storage-solution/ | |
http://moo.nac.uci.edu/~hjm/fhgfs_vs_gluster.html | |
RAM+Persistent | |
http://bshafiee.github.io/BFS/ | |
CFS | |
https://www.veritas.com/support/en_US/article.000100738 | |
BeegFS | |
https://www.beegfs.io/content/ | |
http://moo.nac.uci.edu/~hjm/fhgfs_vs_gluster.html#conclusions | |
BeegFS-On-Demand | |
https://www.beegfs.io/wiki/BeeOND | |
glusterfs | |
https://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume | |
http://moo.nac.uci.edu/~hjm/fhgfs_vs_gluster.html#conclusions | |
sx (skylable) | |
https://de.slideshare.net/bdgweb/building-private-data-clouds-with-skylable | |
https://github.com/sx-mirror/sx/tree/master/doc/manual | |
https://www.pro-linux.de/news/1/21054/skylable-ver%C3%83%C2%B6ffentlicht-libres3.html | |
https://www.snowfactory.com/webcam/it-technology/skylable-open-source-storage-made-easy/ | |
http://pl.atyp.us/2014-05-skylable.html | |
https://play.google.com/store/apps/details?id=com.skylable.sx | |
https://enospc.github.io/sx/sxfs-faq.html#who-can-access-my-files | |
https://github.com/skylable | |
https://www.mankier.com/1/sxinit | |
https://www.mankier.com/1/sxls | |
https://www.mankier.com/1/sxmv | |
https://www.mankier.com/1/sxvol | |
LeoFS | |
http://leo-project.net/leofs/docs/benchmark/README/ | |
https://leo-project.net/leofs/docs/faq/administration/#why-is-the-speed-of-rebalancerecover-command-too-slow | |
Ceph | |
OrangeFS (PVFS2) | |
http://www.orangefs.org/ | |
LizzardFS | |
Tahoe-LAFS | |
https://tahoe-lafs.org/trac/tahoe-lafs | |
Hazelcast | |
https://hub.docker.com/r/hazelcast/hazelcast/ | |
https://hazelcast.org/features/ | |
ChironFS | |
https://github.com/tweksteen/chironfs | |
-------- | |
bonding | |
https://forum.proxmox.com/threads/bond0-received-packet-with-own-address-as-source-address.9742/ | |
https://forum.proxmox.com/threads/new-install-eth0-received-packet-with-own-address-as-source.9183/ | |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559879 | |
https://ubuntuforums.org/showthread.php?t=1565074 | |
-- | |
goflex tuning+raid | |
https://www.vdr-portal.de/forum/index.php?thread/124222-erfahrungen-mit-owncloud-7-auf-arm-goflex-net/ | |
https://forum.doozan.com/read.php?2,18029,18076 | |
https://linuxengineering.wordpress.com/2014/08/03/performance-tuning-with-pogoplug-v4/ | |
--- | |
raspberry m2 sata speed | |
https://time4ee.com/articles.php?article_id=50 | |
--- | |
[wireguard] | |
https://wiki.debian.org/Wireguard | |
https://emanuelduss.ch/2018/09/wireguard-vpn-road-warrior-setup/ | |
https://danrl.com/blog/2017/luci-proto-wireguard/ | |
https://danrl.com/blog/2016/travel-wifi/ | |
roaming v4-v6 | |
https://lists.zx2c4.com/pipermail/wireguard/2018-September/003377.html | |
--- | |
[ipv6] | |
https://www.arin.net/knowledge/ipv6_info_center.html | |
http://www.ipv6-portal.de/informationen/technik/interface-identifier.html | |
http://www.ipv6-portal.de/informationen/technik/6to4-tunnel.html | |
openvpn-ipv6-tun | |
https://www.uninformativ.de/blog/postings/2015-03-24/0/POSTING-de.html | |
https://techblog.synagila.com/2016/02/24/build-a-openvpn-server-on-ubuntu-to-provide-a-ipv6-tunnel-over-ipv4/ | |
wireguard-ipv6-tun | |
https://angristan.xyz/how-to-setup-vpn-server-wireguard-nat-ipv6/ | |
swissknifes(ipv6) | |
http://ipv6eyechart.ripe.net/ | |
https://www.ultratools.com/tools/ipv6InfoResult?ipAddress=2001%3A0%3Ac38c%3Ac38c%3A84b%3Afbac%3A3903%3A661d++ | |
https://enc.com.au/itools/inet6num?address=2001%3A0%3Ac38c%3Ac38c%3A84b%3Afbac%3A3903%3A661d++ | |
https://whois.check-domain.net/ipwhois/ipabfrage.php | |
https://www.sprint.net/lg/lg_start.php | |
https://www.site24x7.com/tools/ipv6-subnetcalculator.html | |
swissknifes(webrtc leaks) | |
https://browserleaks.com/webrtc | |
https://diafygi.github.io/webrtc-ips/ | |
https://zenguard.zendesk.com/hc/de/articles/201259661-Wie-kann-ich-mich-vor-IP-Leaks-durch-Flash-oder-WebRTC-sch%C3%BCtzen- | |
--- | |
[cups] | |
https://askubuntu.com/questions/350334/how-do-i-clear-a-print-queue-in-ubuntu | |
https://askubuntu.com/questions/645636/apparmor-with-cupsd-denied-in-logs | |
https://www.linuxquestions.org/questions/linux-server-73/how-to-clear-cups-server-564866/ | |
https://www.linuxquestions.org/questions/linux-newbie-8/clearing-old-jobs-from-cups-server-4175572507/ | |
https://ubuntuforums.org/showthread.php?t=590793 | |
https://www.cups.org/doc/spec-command.html | |
https://github.com/apple/cups/issues/4984 | |
https://www.computerhope.com/unix/ulpadmin.htm | |
https://askubuntu.com/questions/574420/cups-service-not-working-cant-find-any-logs | |
https://www.tutorialspoint.com/unix_commands/lpadmin.htm | |
https://wiki.archlinux.org/index.php/CUPS/Printer-specific_problems | |
http://www.lazarusforum.de/viewtopic.php?f=16&t=6167 | |
--- | |
[contao] | |
(php, php-intl,php-cli) | |
download zip, extract to e.g. /var/www and symlink html to web | |
call https://url.tld/contao/install | |
download contao-manager.phar to web , rename to .php or .phar.php | |
https://www.contao-handbuch.de/startpunkt-einer-webseite.html | |
https://de.contaowiki.org/No_root_page_found | |
--- | |
[naos:cms] | |
→ htdocs/APP_NAME/naos.persistentlayer/configuration/database-config.php | |
--- | |
[typo3] | |
migrate: | |
modify localconfig.php to reflect database server and name | |
SQL: UPDATE sys_template SET `config` = replace(config,'www.olddomain.org', 'newdomain.com'); | |
TYPO3 backend, Page Properties > Behaviour > Use Protocol > Select “https://” | |
check php with install tool | |
https://www.nitsan.in/blog/post/the-unconventional-guide-converting-your-typo3-site-from-http-to-https-ssl/ | |
-- | |
[laravel] | |
https://laravel.com/docs/5.3/elixir | |
-- | |
[php artisan tinker mailtest] | |
www-data@myhost:~/html$ php artisan tinker | |
Psy Shell v0.9.7 (PHP 7.2.19-0ubuntu0.18.04.2 — cli) by Justin Hileman | |
>>> Mail::send('rainlab.user::mail.welcome', [], function($message) { $message->to('[email protected]')->subject('test');}); | |
--- | |
[wordpress] | |
#NoFTPupdate | |
find /domains/ -name wp-config.php -type f|while read a;do grep "define('FS_METHOD','direct');" -q "$a"||(echo ; echo "define('FS_METHOD','direct');") >> $a;echo $a;done | |
https://codex.wordpress.org/Post_Thumbnails#Thumbnail_Sizes | |
https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ | |
https://themezee.com/docs/change-size-of-featured-images/ | |
move: | |
UPDATE sys_template SET `config` = replace(config,'oldsite.tld', 'newsite.tld'); | |
https://fxneumann.de/2013/04/10/geloest-500-internal-server-error-nur-fuer-wp-admin/ | |
[english] | |
http://www.englisch-hilfen.de/ | |
paypal** | |
paypalsucks.com | |
-- | |
[WINDOWS] | |
Windows Installer Tricks: | |
https://stackoverflow.com/questions/1547809/extract-msi-from-exe | |
-> Windows VM's | |
(run) eventvwr.msc -> find id -> http://eventid.net | |
reset cloned vm-> sysprep | |
sysprep fails on networked machines ? -> stop network sharing service | |
Strg+shift+f3 -> audit mode | |
http://www.shadowexplorer.com/downloads.html | |
netsh int ip reset c:\reset.txt | |
http://www.hs-owl.de/fb7/edvwiki/index.php/TCP-IP_Winsock_zur%C3%BCcksetzen | |
slmgr /rearm | |
ipconfig /flushdns | |
powercfg.exe –lastwake | |
http://searchenterprisedesktop.techtarget.com/Steps-for-solving-the-reboot-loop-problem | |
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlCrashControl, and either create or edit a DWORD named AutoReboot, and set it to 0. | |
https://betanews.com/2015/10/23/how-to-fix-windows-10s-worst-problems-part-2/ | |
https://serverfault.com/questions/371150/any-difference-between-domain-username-and-usernamedomain-local | |
https://stackoverflow.com/questions/5699640/how-to-change-the-path-of-a-mapped-drive-in-win7 | |
https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
https://qemu.weilnetz.de/w64/ | |
http://www.tightvnc.com/download.php | |
https://www.pcsteps.com/627-install-windows-8-1-without-product-key/ | |
saving space | |
->disable swap(paging) | |
->strip iso before install ( msmsg, ntlite/nlite, winreducer) | |
https://www.ghacks.net/2017/05/02/create-custom-windows-10-installations-with-msmg-toolkit/ | |
#admin shell | |
powercfg /h off #disable hibernate | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase | |
Dism.exe /online /Cleanup-Image /SPSuperseded | |
lpksetup.exe /u el-gr #delete language packs | |
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-and-remove-language-packs-on-a-running-windows-installation | |
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder | |
https://www.reddit.com/r/Windows10/comments/6bpfjw/guide_to_make_a_perfect_windows_10_iso/ | |
https://www.pcwelt.de/tipps/Versteckten-Ordner-WINDOWS.-BT-richtig-loeschen-10052347.html | |
https://www.laptopmag.com/articles/clean-winsxs-folder-to-save-space | |
[windows print spooler failure] | |
net stop spooler | |
net start spooler | |
(as admin) | |
http://webcache.googleusercontent.com/search?q=cache:z1JLFFMs4VkJ:faq.micro-pctech.com/2017/01/17/stop-start-restart-windows-print-spooler-service/+&cd=1&hl=de&ct=clnk&gl=de&client=ubuntu | |
https://support.microsoft.com/de-de/help/291174/error-message-when-you-attempt-to-print-or-fax-document-no-printers-ar | |
[windows-sdk-build-debug] | |
https://blog.jscrambler.com/10-frameworks-for-mobile-hybrid-apps/ | |
https://www.xamarin.com/platform | |
https://crosswalk-project.org/documentation/windows/run_on_windows.html | |
http://people.apache.org/~pmuellr/weinre/docs/latest/Running.html | |
http://dustint.com/post/482/getting-started-with-weinre-mobile-debugging-on-windows | |
https://stackoverflow.com/questions/28649600/is-there-a-trick-to-get-weinre-to-connect-wp8-1-via-tools-for-apache-cordova-ct | |
https://taco.visualstudio.com/en-us/docs/debug-using-visual-studio/#DbgWindows | |
https://msdn.microsoft.com/library/hh441472.aspx | |
https://www.npmjs.com/package/cordova-plugin-qrscanner | |
### | |
GOLDEN FIXES | |
https://www.hoessl.eu/2014/12/on-using-the-ionic-framework-for-windows-phone-8-1-apps/ | |
http://www.badpenguin.org/how-to-make-your-ionic-cordova-app-to-run-under-windows-phone-8-1-and-desktop | |
https://github.com/ionic-team/ionic-plugin-keyboard/issues/157 | |
### | |
https://taco.visualstudio.com/en-/docs/debug-using-visual-studio/ | |
https://taco.visualstudio.com/en-us/docs/access-native-cordova-project/ | |
https://software.intel.com/en-us/xdk/docs/using-node-weinre-to-debug-cordova-apps | |
https://forum.ionicframework.com/t/ionic-2-supports-windows-phone-8-1/57550/3 | |
https://msdn.microsoft.com/de-de/library/dn757054.aspx#GetTools | |
http://taco.visualstudio.com/en-us/docs/migrate-to-vs2015/ | |
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | |
https://stackoverflow.com/questions/40081528/how-to-build-ionic-for-windows-uap | |
https://medium.com/@jamzi/ionic-2-universal-windows-platform-c9e2680dad5 | |
-- | |
oldschool | |
https://www.bernd-leitenberger.de/technik-der-computer.shtml | |
ESER/GDR machines | |
https://www.computerwoche.de/a/ddr-konzeption-setzt-sich-im-rgw-durch,1185124 | |
http://eser-ddr.de/BetriebssystemeEDVAdesESER_2.htm | |
http://www.eser-ddr.de/ESER_Technik_ICM.htm | |
http://www.eser-ddr.de/ArbeitsrichtungEDVAKRBeitrag.htm | |
http://www.robotrontechnik.de/index.htm?/html/computer/grossrechner.htm | |
http://www.robotrontechnik.de/index.htm?/html/computer/r21.htm | |
http://www.robotrontechnik.de/index.htm?/html/computer/ec1040.htm | |
http://www.robotrontechnik.de/index.htm?/html/computer/ec1057.htm | |
http://eser-ddr.de/ | |
https://de.wikipedia.org/wiki/Robotron_300 | |
IBM/hollerith | |
http://www.spiegel.de/wirtschaft/ibm-der-programmierte-massenmord-a-117132.html | |
https://de.wikipedia.org/wiki/IBM_und_der_Holocaust | |
TODO|HOWTO | |
keys | |
https://radu.cotescu.com/remapping-keys-in-ubuntu-14.04/ | |
https://www.howtogeek.com/howto/windows-vista/disable-caps-lock-key-in-windows-vista/ | |
smartcard | |
https://access.redhat.com/documentation/en-US/Red_Hat_Certificate_System/8.0/html-single/Managing_Smart_Cards_with_the_Enterprise_Security_Client/index.html | |
https://access.redhat.com/articles/1523343 | |
---- | |
http://tansi.info/hybrid/ | |
https://www.servethehome.com/firefox-is-eating-your-ssd-here-is-how-to-fix-it/ | |
https://serverfault.com/questions/345111/iptables-target-to-route-packet-to-specific-interface | |
https://www.karlrupp.net/de/computer/nat_tutorial | |
http://linux-ip.net/html/routing-tables.html | |
https://unix.stackexchange.com/questions/118289/how-do-i-authenticate-to-a-wireless-providers-open-network-without-using-a-br | |
https://stackoverflow.com/questions/85036/how-can-i-quickly-identify-most-recently-modified-stored-procedures-in-sql-serve | |
http://www.orderofbusiness.net/blog/redirect-old-domain-to-new-domain-via-htaccess/ | |
CLI Screenshots | |
http://xmodulo.com/take-screenshot-command-line-linux.html | |
[JAVA WEBSTART|JNLP] | |
http://www.upubuntu.com/2012/12/how-to-run-jnlp-files-under-ubuntulinux.html | |
https://stackoverflow.com/questions/11594047/how-to-get-jar-file-from-jnlp-file | |
[WORKS] | |
https://www.mydigitallife.net/convert-microsoft-works-database-wdb-to-csv-or-excel-without-works-installed/ | |
[SHOP:GAMBIO] | |
admin/ includes/ configure.php | |
includes/ configure.php | |
check folders "cache" and template_c (keep .htaccess and index.html) | |
-- | |
[PRESTASHOP] | |
##API## | |
http://doc.prestashop.com/display/PS16/Web+service+one-page+documentation#Webserviceone-pagedocumentation-EnablingcURL | |
/api/stock_availables | |
/api/images/customizations | |
/api/images/manufacturers | |
/api/images/suppliers | |
/api/images/general/header | |
/api/images/general/store_icon | |
/api/images/categories | |
/api/products/1?price[my_price][use_tax]=1&price[my_price][product_attribute]=25 | |
$productUrl = 'https://$PRESTA_URL/index.php?controller=product&id_product=' . $productId; | |
curl -k "https://"PRESTA_API_KEY"@"$PRESTA_URL"/api/images/products/1/2 > prod_1_2.jpg | |
languages | |
# | |
https://addons.prestashop.com/de/marktplatze/2501-amazon-market-place.html | |
https://addons.prestashop.com/de/marktplatze/27282-ebay-20-marketplace.html | |
https://www.prestashop.com/forums/topic/601608-b2b-und-ustid/ | |
http://www.homepage-community.de/index.php?topic=2533.0 | |
https://www.prestashop.com/forums/topic/305847-gel%C3%B6st-siret-ape-entfernen/ | |
http://doc.prestashop.com/display/PS16/Das+Multishop+Interface | |
https://www.silbersaiten.de/prestashop/blog/25-prestashop-tutorial-multishop-16x | |
https://catalogo-onlinersi.net/en/content/29-update-product-stock-with-0-quantity-when-import-with-csv | |
http://blog.irrelevant.com/2013/08/prestashop-switching-to-shared-stock.html | |
https://www.prestashop.com/forums/topic/465892-multi-store-how-to-turn-on-sharing-quantities-without-resetting-qty/ | |
http://www.inmotionhosting.com/support/edu/prestashop-15/working-with-multi-shops/multistore-share-inventory | |
http://doc.prestashop.com/display/PS16/Sample+Usages+and+Specifics | |
https://www.prestashop.com/forums/topic/292960-mulitshop-warenbest%C3%A4nde-teilen/ | |
http://doc.prestashop.com/display/PS16/The+multistore+interface | |
https://www.hostknox.com/tutorials/prestashop/1.5-1.6/multistore | |
http://doc.prestashop.com/display/PS15/Managing+Multiple+Shops#ManagingMultipleShops-Creatinganewshop | |
https://www.prestashop.com/forums/topic/293795-can-i-export-a-theme-with-module-configuration-settings/ | |
EICAPTCHA | |
https://github.com/nenes25/eicaptcha/releases | |
https://www.h-hennes.fr/blog/2018/02/23/eicaptcha-ajout-dune-configuration-avancees-des-selecteurs/ | |
themes/yourtheme/contact-form.tpl | |
{if $captcha} | |
<div class="g-recaptcha" data-sitekey="6LcDDU8UAAAAAOeTYq9x-I1CxrFQw-RsJZVwUAcg" ></div> | |
{/if} | |
<div class="submit-contact"> | |
###(change to submit-contact only if you have trouble because it is inserted at the login instead of contact and then : in settings, enter keys and change "Custom css selection contact form" to .submit-contact | |
[MICROSOFT WORD] | |
http://www.officetooltips.com/word_2016/tips/replacing_special_characters.html | |
https://www.luis.uni-hannover.de/fileadmin/buecher/leseproben/ww2013-lese.pdf | |
https://www.staff.uni-giessen.de/~g021/PDF/wd2013_formatvorlagen.pdf | |
https://support.office.com/de-de/article/Spaltenumbruch-einf%C3%BCgen-fa34916a-d6ce-4c99-8646-0461a6030451 | |
https://support.office.com/de-DE/article/Erstellen-von-Formularen-die-in-Word-ausgef%C3%BCllt-oder-gedruckt-werden-k%C3%B6nnen-040C5CC1-E309-445B-94AC-542F732C8C8B | |
https://www.isunshare.com/word-password/docx-password-recovery.html | |
[FLICKR-CLI] | |
https://github.com/trickortweak/flickr-uploader | |
https://github.com/richq/folders2flickr/ | |
https://sourceforge.net/projects/flickrsync/ | |
#BUGGY https://github.com/vgel/flickr-fuse | |
https://github.com/patrickjennings/FlickrMS#readme | |
https://blog.philippklaus.de/2011/09/flickrms-mounting-flickr-as-fuse-file-system | |
[FLICKR-GUI] | |
http://www.linuxandubuntu.com/home/upload-photos-on-flickr-with-frogr-flickr-upload-client-for-linux | |
http://xmodulo.com/what-is-gui-based-flickr-upload-tool-in-linux.html | |
https://xercestech.com/smart-card-random-data-linux.geek | |
http://forum.odroid.com/viewtopic.php?f=9&t=2104 | |
http://odroid.us/mediawiki/index.php?title=Step-by-step_Native_Compiling_a_Kernel | |
[webdav] | |
https://forum.ubuntuusers.de/topic/webdav-und-rsync/ | |
https://seeseekey.net/archive/1197 | |
https://kinasevych.ca/2016/11/18/backing-up-shotwell-photos-to-box-com-with-webdav-and-rsync/ | |
https://askubuntu.com/questions/892118/rsync-from-unmounted-webdav-source | |
[afp netatalk] | |
https://blog.rotzoll.net/2010/07/linux-als-apple-afp-share-mit-timemachine-support-backups-uber-das-netzwerk/ | |
[nfs] | |
https://sagehacks.wordpress.com/2009/01/21/howto-mount-nfs-shares-under-windows-7/ | |
[duplicity] | |
https://answers.launchpad.net/duplicity/+question/185550 | |
https://askubuntu.com/questions/473124/extract-duplicity-files-manually | |
http://sashikasuren.blogspot.com/2013/01/duplicity-backup-restore-process.html | |
https://bugs.launchpad.net/duplicity/+bug/385495 | |
https://bugs.launchpad.net/duplicity/+bug/1544707 | |
https://bugs.launchpad.net/duplicity/+bug/1654756 | |
[GIT] | |
https://help.github.com/articles/changing-a-remote-s-url/ | |
http://rrr00bb.blogspot.com/2013/03/git-merge-versus-rebase.html | |
http://stackoverflow.com/questions/6414227/how-to-serve-git-through-http-via-nginx-with-user-password | |
https://raymii.org/s/articles/Set_up_your_own_truly_secure_encrypted_shared_storage_aka_Dropbox_clone.html | |
https://news.ycombinator.com/item?id=6554313 | |
https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes | |
https://git-scm.com/book/de/v1/Git-Tools-Submodule | |
http://sunny.today/host-multiple-gists-in-one-git-project/ | |
https://stackoverflow.com/questions/1030169/easy-way-to-pull-latest-of-all-git-submodules | |
https://gist.github.com/myusuf3/7f645819ded92bda6677 #( delete submodule | |
https://stackoverflow.com/questions/1587846/how-do-i-show-the-changes-which-have-been-staged | |
[GIT CHEATS] | |
http://sunny.today/host-multiple-gists-in-one-git-project/ | |
http://stackoverflow.com/questions/12865332/remove-old-commit-information-from-a-git-repository-to-save-space ## ←←←HIGH SCORE , only one commit | |
http://stackoverflow.com/questions/9725156/remove-old-git-commits | |
https://gist.github.com/prograhammer/81cac393bf599e69f825 | |
https://github.com/nornagon/git-rebase-all/blob/master/git-rebase-all | |
http://stackoverflow.com/questions/16057391/git-free-disk-space-by-clearing-repository-history | |
[GIT FUSE] | |
https://github.com/davesque/gitfuse | |
https://www.presslabs.com/help/gitfs/argumentshttps://www.presslabs.com/help/gitfs/arguments | |
##CAREFUL https://github.com/PressLabs/gitfs/tree/debian/ubuntu-precise ## 2017-01 ~1000 commits behind | |
[NFQUEUE] | |
blog.yancomm.net/2011/05/nfqueue-packet-mangling-with-python.html | |
https://5d4a.wordpress.com/2011/08/25/having-fun-with-nfqueue-and-scapy/ | |
https://byt3bl33d3r.github.io/using-nfqueue-with-python-the-right-way.html | |
WEAVE/SYNC | |
https://addons.mozilla.org/en-US/firefox/addon/custom-sync-fxa/?src=search | |
https://docs.services.mozilla.com/howtos/run-fxa.html | |
https://docs.services.mozilla.com/howtos/run-sync-1.5.html#howto-run-sync15 | |
https://sathya.de/blog/how-tos/setup-your-own-firefox-1-5-sync-server-on-debian-with-apache2-and-mysql/ | |
Just had some trouble getting it work. | |
The problem is the url “https://your.domain.net:443/token/1.0/sync/1.5″ | |
The Port definition :443 must be left out, in the ini-file and in services.sync.tokenServerURI. Now it works on the ssl-enabled apache | |
NOTIFICATIONS/CHAT-REMOTES | |
http://sevabot-skype-bot.readthedocs.io/en/latest/bash.html | |
https://github.com/topkecleon/telegram-bot-bash | |
https://github.com/close2/shell-xmpp-client | |
https://github.com/benchonaut/shell-xmpp-client | |
http://www.lilotux.net/~mikael/mcabber/ | |
http://profanity.im/otr.html | |
https://poez.io/en/ | |
http://stackoverflow.com/questions/170503/commandline-jabber-client | |
[TOR] | |
curl https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=1.1.1.1 | |
curl https://www.dan.me.uk/torlist/?exit #(wait 1h between fetch) | |
curl https://www.dan.me.uk/torlist/ #(wait 1h between fetch) | |
[ONIONCAT] | |
https://www.digitalmunition.me/2016/01/onioncat-anonymous-vpn-adapter/ | |
[DNS/transproxy] | |
https://www.cloudns.net/ | |
https://www.cloudflare.com | |
http://forum.lowendspirit.com/viewtopic.php?id=441 | |
[VPN] | |
https://github.com/jlund/streisand | |
https://blog.ls20.com/ipsec-l2tp-vpn-auto-setup-for-ubuntu-12-04-on-amazon-ec2/ | |
https://github.com/hwdsl2/setup-ipsec-vpn | |
[VPN:SPECIALS] | |
https://github.com/killinux/jslinux-network/tree/master/xmpp-tun-tap | |
[WEBSERVER-SETUP] | |
https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-16-04 | |
https://trent.utfs.org/wiki/Gatling | |
http://serverfault.com/questions/753798/nginx-transparent-reverse-proxy-for-https-and-http-to-another-server | |
http://pastebin.com/BDt2fXxF | |
[CLOUDFLARE] | |
https://freevps.us/thread-16793.html | |
https://github.com/AmirAzodi/cloudflare_ddns | |
[HOSTERS] | |
http://lowendstock.com/ | |
https://www.briehost.com/clients/cart.php?gid=23 | |
https://yoctobox.com/#/#openvz | |
https://virmach.com/ | |
[SHELLS] | |
http://shells.red-pill.eu/index.php?a=search&q=php | |
https://freeshell.de/register/ | |
http://www.openshells.net/ | |
https://www.bshellz.net/rules/ | |
http://www.arbornet.org/free_shell_accounts.php | |
http://www.blinkenshell.org/wiki/Start | |
http://www.shellium.org/ | |
[SOCAT] | |
https://www.cyberciti.biz/faq/linux-unix-tcp-port-forwarding/ | |
[IPV6] | |
http://serverfault.com/questions/475375/set-up-a-6in4-tunnel-server | |
https://www.sixxs.net/wiki/IPv6_Firewalling | |
http://mirrors.deepspace6.net/Linux+IPv6-HOWTO/conf-ipv6-in-ipv4-point-to-point-tunnels.html | |
http://www.wensley.org.uk/ipv6 | |
http://backreference.org/2010/06/27/quick-and-dirty-ipv6-with-6to4/ | |
http://www.tomicki.net/ipv6.router.php | |
http://wazem.blogspot.com/2013/01/how-to-ssh-home-without-access-to-router.html | |
http://www.tomicki.net/naptd.docs.php | |
https://wiki.openwrt.org/doc/techref/odhcpd | |
ftp://ds.internic.net/internet-drafts/1id-index.txt | |
[MAIL] | |
https://putsmail.com/ | |
http://mailboxtools.com/tools/smtptest.aspx | |
http://inboxalias.com/index.php | |
http://mailcatch.com/en/temporary-inbox?box=inboxname | |
https://www.guerrillamail.com/inbox | |
http://en.getairmail.com/ | |
[FAVICON] | |
INLINE https://gist.github.com/psiborg/1569706 | |
http://www.favicon.cc/? | |
www.favicomatic.com/ | |
http://www.favicon-generator.org/ | |
https://stackoverflow.com/questions/5199902/isnt-it-silly-that-a-tiny-favicon-requires-yet-another-http-request-how-to-mak | |
SITES-GERMANY-IMPRESSIM_DISLCLAIMER | |
https://www.e-recht24.de/artikel/datenschutz/209.html | |
SITES-COUNTERS | |
##only statcounter has ssl support yet (2017-01) | |
https://statcounter.com | |
http://flagcounter.com/ | |
http://histats.com/ | |
[SYSTEM-SAMBA-GVFS-CIFS] | |
https://forum.openmediavault.org/index.php/Thread/4206-Unable-to-find-the-Domain-Master-Browser/ | |
http://charlieharvey.org.uk/page/slow_nautilus_browse_with_netbios | |
http://askubuntu.com/questions/61196/why-do-my-gvfs-mounts-not-show-up-under-gvfs-or-run-user-login-gvfs | |
http://askubuntu.com/questions/513319/gvfs-samba-lookup-slow-since-update-to-14-04 | |
https://ubuntuforums.org/showthread.php?t=2227257 | |
https://unix.stackexchange.com/questions/276693/how-do-i-force-gvfs-unmount-a-dead-ssh-mount-on-linux-mint-16-petra | |
#JSON | |
https://stedolan.github.io/jq/ | |
https://jqplay.org/ | |
#BACKUP | |
http://www.linuxdevcenter.com/pub/a/linux/lpt/18_16.html | |
[MYSQL] | |
UPDATE table_name SET field1 = new-value1, field2 = new-value2 [WHERE Clause] | |
https://thewebfellas.com/blog/conditional-duplicate-key-updates-with-mysql | |
https://mariadb.com/kb/en/mariadb/column_json/ | |
https://hub.docker.com/r/toughiq/mariadb-cluster/ | |
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql | |
https://dev.mysql.com/doc/refman/5.7/en/adding-users.html | |
https://mariadb.com/kb/en/library/show-grants/ | |
[PHP] | |
#timezone ical/carbon/laravel | |
https://stackoverflow.com/questions/29574983/time-zone-in-icalendar-or-vcalendar-meeting-invitation | |
##migrate 5 to 7 | |
sed 's/=&/=/g' -i $(grep -R '=&' /var/www/htdocs/wp-content/plugins/exec-php/|cut -d: -f1|sort|uniq|grep -v ^Bina) | |
REPLACE eregi with preg_match+delimiter e.g. preg_match('~'.$old_regex.'~',$haystack) | |
http://php.net/manual/de/control-structures.foreach.php | |
https://www.w3schools.com/php/func_filesystem_file_put_contents.asp | |
https://stackoverflow.com/questions/7605480/str-replace-for-multiple-items?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://mekshq.com/how-to-convert-hexadecimal-color-code-to-rgb-or-rgba-using-php/ | |
php.net/manual/de/json.constants.php | |
https://stackoverflow.com/questions/1672156/how-to-delete-an-array-element-based-on-key?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://stackoverflow.com/questions/2588666/remove-portion-of-a-string-after-a-certain-character?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://stackoverflow.com/questions/6771938/any-way-to-return-php-json-encode-with-encode-utf-8-and-not-unicode?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://gist.github.com/JeffreyWay/3194444 | |
php.net/manual/de/function.array-merge.php | |
https://stackoverflow.com/questions/10210338/json-encode-escaping-forward-slashes?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://stackoverflow.com/questions/8328983/check-whether-an-array-is-empty?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://stackoverflow.com/questions/2790899/how-to-check-if-a-string-starts-with-a-specified-string?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
http://php.net/manual/de/function.uniqid.php | |
https://stackoverflow.com/questions/2040240/php-function-to-generate-v4-uuid?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
https://gist.github.com/miguelramos/1989766 | |
https://stackoverflow.com/questions/6661530/php-multidimensional-array-search-by-value?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa | |
http://php.net/manual/de/function.json-last-error.php | |
https://stackoverflow.com/questions/20694317/json-encode-function-special-characters | |
http://php.net/manual/en/function.json-encode.php | |
https://stackoverflow.com/questions/19999665/php-json-encode-not-working-on-arrays-partially | |
https://stackoverflow.com/questions/31206186/call-to-undefined-function-simplexml-load-string | |
https://stackoverflow.com/questions/8562398/get-max-execution-time-in-php-script | |
http://php.net/manual/de/function.strtok.php | |
http://www.rither.de/a/informatik/php-beispiele/variablen/globale-variablen/ | |
http://php.net/manual/de/language.variables.scope.php | |
http://itman.in/en/how-to-get-client-ip-address-in-php/ | |
https://stackoverflow.com/questions/26925642/how-do-i-get-the-last-part-of-an-ip-address-string-in-php | |
https://stackoverflow.com/questions/19707440/breaking-a-php-string-into-multiple-strings | |
https://stackoverflow.com/questions/8858848/php-read-and-write-json-from-file | |
https://wiki.selfhtml.org/wiki/PHP/Tutorials/Dateien_mittels_include_einbinden | |
http://php.net/manual/de/function.json-decode.php | |
http://php.net/manual/de/function.json-encode.php | |
http://php.net/manual/de/function.file-exists.php | |
http://php.net/manual/en/function.array-fill.php | |
http://php.net/manual/en/function.array-fill-keys.php | |
http://php.net/manual/de/control-structures.foreach.php | |
https://stackoverflow.com/questions/1894917/how-to-get-the-home-directory-from-a-php-cli-script | |
http://php.net/manual/de/function.array-count-values.php | |
http://php.net/manual/de/function.count.php | |
https://stackoverflow.com/questions/6815520/cannot-use-object-of-type-stdclass-as-array | |
https://www.elated.com/articles/php-recursive-functions/ | |
http://thisinterestsme.com/php-using-recursion-print-values-multidimensional-array/ | |
https://davidwalsh.name/get-array-values-with-php-recursively | |
https://www.w3schools.com/php/func_array_walk_recursive.asp | |
https://packagist.org/packages/etconsilium/php-recursive-array-object | |
https://stackoverflow.com/questions/12410695/new-line-n-in-php-is-not-working | |
http://php.net/manual/de/function.nl2br.php | |
http://php.net/manual/de/function.gettype.php | |
https://stackoverflow.com/questions/4221333/get-the-current-script-file-name | |
https://stackoverflow.com/questions/3057110/where-can-i-find-the-php-ini-for-php-cli | |
http://php.net/manual/de/features.commandline.php | |
https://stackoverflow.com/questions/37374720/php-scripting-timing-out-after-60-seconds | |
https://stackoverflow.com/questions/10208698/checking-memory-limit-in-php | |
https://www.conetix.com.au/support/article/simple-php-mail-test | |
https://stackoverflow.com/questions/9525415/php-email-sending-bcc | |
https://serverfault.com/questions/44776/php-cli-additional-ini-files-not-loaded | |
https://serverfault.com/questions/466622/php-ini-changes-dont-have-any-effect | |
https://stackoverflow.com/questions/3106991/fatal-error-call-to-undefined-function-imagecreate | |
http://php.net/manual/de/function.imagettfbbox.php | |
https://stackoverflow.com/questions/7290958/php-fatal-error-call-to-undefined-function-imagettftext | |
https://stackoverflow.com/questions/36359917/docker-gd-module-for-php-7 | |
https://stackoverflow.com/questions/2350052/how-can-i-get-enum-possible-values-in-a-mysql-database | |
https://stackoverflow.com/questions/2217850/how-to-replace-ereg | |
[PHP:SQLITE] | |
https://www.tutorialspoint.com/sqlite/sqlite_php.htm | |
http://henryranch.net/software/ease-into-sqlite-3-with-php-and-pdo/ | |
http://babbage.cs.qc.cuny.edu/courses/cs903/2013_02/using_sqlite3.html | |
www.sqlitetutorial.net/sqlite-dump/ | |
http://blog.christosoft.de/2012/10/sqlite-escaping-table-acolumn-names/ | |
https://jrsmith3.github.io/merging-a-subdirectory-from-another-repo-via-git-subtree.html | |
http://stackoverflow.com/questions/1683531/how-to-import-existing-git-repository-into-another | |
[PHP:PDF] | |
gc_disable(); // at least until php 7.2!!!! | |
http://php.net/manual/de/function.gc-disable.php | |
https://stackoverflow.com/questions/50716840/php-pdf-generation-super-slow | |
https://stackoverflow.com/questions/15377500/can-i-reduce-load-time-while-creating-pdf | |
https://github.com/dompdf/dompdf/issues/1326 | |
https://github.com/dompdf/dompdf/issues/1813 | |
https://stackoverflow.com/questions/30177553/solutions-for-dompdf-rendering-dynamic-table-slowly | |
[remote] | |
https://www.lifewire.com/free-remote-access-software-tools-2625161 | |
https://www.howtogeek.com/180953/3-free-ways-to-remotely-connect-to-your-macs-desktop/ | |
teamviewer | |
AnyDesk | |
VNC | |
[FIREFOX] | |
#PRIVACY | |
https://www.mozilla.org/en-US/lightbeam/ | |
#RESTORE | |
https://support.mozilla.org/de/questions/1173678 | |
SYNC | |
https://www.pixelcontainer.net/firefox-syncserver-1-5-auf-ubuntu-16-04/ | |
https://jankarres.de/2014/07/raspberry-pi-firefox-sync-server-installieren/ | |
[IPV6] | |
https://yorickdowne.wordpress.com/2008/01/26/ipv6-at-home-part-1-overview-teredo/ | |
https://en.wikipedia.org/wiki/Teredo_tunneling | |
https://labs.ripe.net/Members/gih/testing-teredo | |
[CLOUDFLARE] | |
https://github.com/thatjpk/cloudflare-ddns | |
https://github.com/lyoshenka/cloudflare-ddns/blob/master/config.php.skel | |
https://gist.github.com/larrybolt/6295160 | |
https://github.com/danielheth/ddclient-for-cloudflare/blob/master/ddclient | |
[xrandr] | |
https://unix.stackexchange.com/questions/101490/mirror-dual-monitors-with-different-resolutions | |
[mac oui resolve] | |
https://unix.stackexchange.com/questions/248769/command-line-tool-to-obtain-oui-vendor-info-from-mac-address | |
https://stackoverflow.com/questions/13212187/is-it-possible-to-get-the-mac-address-for-machine-using-nmap | |
https://stackoverflow.com/questions/10633753/nmap-not-retrieving-mac-address-and-vendor?rq=1 | |
[CHROME] | |
##slax example , loads $loadsite if set as user "guest" (root would have to use --no-sandbox) , some weak ciphers blacked | |
DISPLAY=:0 su -c "unset XAUTHORITY;xauth add $(xauth list);chromium --cipher-suite-blacklist=0x0088,0x0087,0x0039,0x0038,0x0044,0x0045,0x0066,0x0032,0x0033,0x0016,0x0013 --fast --incognito $loadsite" guest & | |
https://unix.stackexchange.com/questions/209746/how-to-resolve-no-protocol-specified-for-su-user | |
--ignore-certificate-errors | |
https://superuser.com/questions/27268/how-do-i-disable-the-warning-chrome-gives-if-a-security-certificate-is-not-trust | |
https://stackoverflow.com/questions/46349459/chrome-neterr-cert-authority-invalid-error-on-self-signing-certificate-at-loca | |
#(use ssh -L 127.0.0.1:4443:myhost.net:443) | |
https://www.systutorials.com/50204/making-chrome-accept-self-signed-certificates-on-linux/ | |
[iron] | |
https://www.howtogeek.com/291019/how-to-restore-your-chrome-tabs-when-theres-no-re-open-last-session-button/ | |
https://lifehacker.com/how-can-i-restore-closed-tabs-after-accidentally-quitti-1452314285 | |
https://productforums.google.com/forum/#!topic/chrome/7JoWEVz3CK8 | |
chrome://net-internals/#dns | |
[alsa] | |
https://www.spinics.net/linux/fedora/alsa-user/msg09488.html | |
# /etc/asound.conf | |
#change sound card in alsa to number 1 instead of 0 | |
defaults.pcm.card 1 | |
defaults.ctl.card 1 | |
## | |
https://unix.stackexchange.com/questions/21089/how-to-use-command-line-to-change-volume | |
#change on/off | |
#amixer set Master toggle | |
#-3db | |
amixer set Master 94% | |
amixer set PCM 100% | |
https://askubuntu.com/questions/150851/how-do-i-select-a-default-sound-card-with-alsa | |
https://superuser.com/questions/626606/how-to-make-alsa-pick-a-preferred-sound-device-automatically | |
https://linux.die.net/man/1/alsactl | |
[NGINX] | |
http://nginx.2469901.n2.nabble.com/Prevent-Chrome-SSL-Domain-Mismatch-Warning-When-Redirecting-td7583175.html | |
http://nginx.org/en/docs/http/configuring_https_servers.html | |
https://www.cyberciti.biz/faq/proxy_redirect-change-replace-location-refresh-response-headers/ | |
https://serverfault.com/questions/145383/proxy-https-requests-to-a-http-backend-with-nginx | |
https://www.howtoforge.de/anleitung/nginx-unter-ubuntu-12-04-als-reverse-proxy-fur-apache2-aufsetzen/ | |
www.raspberry-pi-geek.de/Magazin/2016/01/Reverse-Proxy-auf-dem-Raspberry-Pi-mit-Nginx | |
https://stackoverflow.com/questions/12832033/dump-conf-from-running-nginx-process | |
→Timeouts | |
https://www.scalescale.com/tips/nginx/504-gateway-time-out-using-nginx/# | |
https://www.digicert.com/ssl-support/nginx-enable-ocsp-stapling-on-server.htm → http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver | |
(std settings dockern-ginx-letsencrypt (set RESOLVERS in .env https://gitlab.dev.ifs.hsr.ch/m1huber/docker-nginx-proxy) | |
[WINDOWS PE] | |
https://www.reddit.com/r/linux/comments/1weui1/trick_unetbootin_to_create_a_windows_usb/ | |
[ODROID] | |
http://odroid.us/mediawiki/index.php?title=Mounting_Root_File_System_on_External_USB_Drive | |
[OpenWRT] | |
https://openwrt.org/toh/tp-link/archer-c50 | |
->usb wifi wifi stick | |
opkg install usbutils | |
opkg install kmod-carl9170 | |
opkg install kmod-rt2800-usb | |
https://wiki.openwrt.org/doc/howto/ntp.client | |
https://wiki.openwrt.org/doc/uci/system | |
https://wiki.openwrt.org/doc/howto/generic.sysupgrade | |
https://www.patthoyts.tk/blog/remoting-usb-devices-with-linux-and-openwrt.html | |
https://grade2linux.wordpress.com/2013/05/08/tp-link-tl-wr1043nd-openwrt-ch05_usb_storage/ | |
https://wiki.openwrt.org/doc/howto/mwan3 | |
[tp 841n v13] | |
https://forum.openwrt.org/viewtopic.php?id=70687 | |
https://forum.lede-project.org/t/installing-on-tp-link-tl-wr841n-v13/4930/22 | |
https://forum.freifunk.net/t/tp-link-tl-wr841n-v13-wird-in-de-ausgeliefert/14289/78 | |
https://forum.lede-project.org/t/wr841n-v13-usb-mod/9098 | |
https://wiki.openwrt.org/toh/tp-link/tl-wr841nd#usb_20_port_on_v13 | |
https://git.lede-project.org/?p=source.git;a=commit;h=24043a0d2e01b9843c0dc529205b3b0bc7ecbbf9 | |
[Android/X86] | |
https://sourceforge.net/projects/android-x86/?source=typ_redirect | |
http://www.android-x86.org/download | |
[Android/ADB] | |
https://developer.android.com/studio/command-line/adb.html#commandsummary | |
https://forum.xda-developers.com/showthread.php?t=1497880 | |
[SNI] | |
https://community.letsencrypt.org/t/do-i-need-a-dedicated-ip-for-the-certificate/1113 | |
https://letsencrypt.org/getting-started/ | |
[BROWSERS] | |
https://gist.github.com/spaze/558b7c4cd81afa7c857381254ae7bd10 | |
http://www.opera.com/docs/userjs/ | |
http://www.opera.com/docs/userjs/specs/#userjsevent | |
http://www.howtogeek.com/105012/find-hidden-features-on-operas-internal-opera-pages/ | |
http://www.opera.com/dragonfly/ | |
https://stackoverflow.com/questions/18977320/convert-from-mov-to-mp4-or-h264-using-avconv | |
http://trac.ffmpeg.org/wiki/Encode/H.264 | |
https://www.wikihow.com/Clear-the-Cache-in-Chrome | |
-- | |
[SEO] | |
https://hosting.1und1.de/google-website-ranking-verbessern-result?ar=1 | |
https://seorch.de/ | |
[CNC/Steppers/Building] | |
daycounter.com → calculator | |
olliw.eu | |
norelem.de | |
cncshop.at | |
fixedstar-reducer.de | |
polulu.com | |
nodna.de | |
einfachcnc.de | |
robotkithardware.de | |
myactivitees-mazen.blogspot.com | |
avrcard.com | |
sainsmart.com | |
phidgets.com | |
drotek.fr | |
openbuildspartstore.com | |
robotshop.com | |
flikto.de | |
adafruit.com | |
watterott.com | |
reprapteile.de | |
aliexpress->worm driver|worm gear | |
gimbal24.de | |
elysiavisuals.com | |
motusmotion.com | |
openmoco.org | |
vedder.se | |
viacopter.eu | |
basecamelectronics.com | |
Time Lapse | |
OpenMoco | |
[LEDS] | |
tleds | xleds | |
/sys/class/led | |
[DNS] | |
https://support.dnsimple.com/articles/caa-record/ | |
HE.net | |
cloudns.net | |
ns1 | |
buddyns | |
1984.is | |
flot | |
freeshells.info | |
ninthfloor.org | |
apt-fast | |
httptunnnel(see poor mans http vpn) | |
socat-vpn | |
badvpn | |
tun2socks | |
tun2socks-openwrt | |
vtun | |
fastd | |
unbound dns socks | |
bplaced.net | |
[joomla] | |
https://stackoverflow.com/questions/4199592/joomla-database-settings | |
https://forum.joomla.org/viewtopic.php?t=883802 | |
[webhoster.ag] | |
http://anleitung.webhoster.ag/?p=61 | |
[plesk] | |
https://www.netclusive.de/faq/64_212_de.html | |
[operatingsystem:historic] | |
https://de.wikipedia.org/wiki/Microsoft_Windows_1.0 | |
https://de.wikipedia.org/wiki/Xerox_Alto | |
https://de.wikipedia.org/wiki/DESQview | |
https://de.wikipedia.org/wiki/Graphical_Environment_Manager | |
https://de.wikipedia.org/wiki/Microsoft_Windows_2.x | |
[devices:nodes.tiny] | |
https://www.innet24.de/FriendlyELEC-NanoPi-Neo2-Plus-1GB-HexaCore-Allwinner-H5-Quadcore-A53-64-bit::146262.html | |
https://www.innet24.de/FriendlyELEC-NanoPi-Duo-Starter-Kit-512MB-QuadCore-Allwinner-H2-Quadcore-A7::147261.html | |
https://de.aliexpress.com/item/FriendlyARM-NanoPi-NEO-1-bay-NAS-Kit-includes-NanoPi-NEO-512M-1-bay-NAS-KIT-Ethernet/32810050441.html | |
https://www.innet24.de/FriendlyELEC-NanoPi-M2A-Samsung-Quad-Core-A9-1Gb-Gbit-Lan-Wifi-BT::146679.html | |
https://www.innet24.de/FriendlyELEC-NanoPi-M2-Samsung-Quad-Core-A9-1Gb-Gbit-Lan::134577.html?MODsid=d8cf99c0efc4a6820dfe2307c8ae1f37 | |
https://www.innet24.de/FriendlyELEC-NanoPi-M3-64bit-A53-Octa-Core-1GB-Wifi-Bluetooth::134576.html?MODsid=d8cf99c0efc4a6820dfe2307c8ae1f37 | |
https://www.innet24.de/FriendlyELEC-NanoPi2-Fire-NanoPi-M1-M2-zbh-Aluminium-Kuehlkoerper-mit-3M-Klebepad::134885.html?MODsid=d8cf99c0efc4a6820dfe2307c8ae1f37 | |
[devices:phones] | |
https://www.pollin.de/p/odroid-xu4q-einplatinen-computer-samsung-exynos-5422-2-gb-2x-usb-3-0-810750?&gclid=EAIaIQobChMIiLXK_MeS2AIVzBobCh0DcQ77EAQYASABEgLKHvD_BwE | |
https://www.ebay.de/itm/Lenovo-ZUK-Z1-64GB-Weis-Ohne-Simlock-Top-Zustand-521/362180148941?_trkparms=aid%3D777003%26algo%3DDISCL.MBE%26ao%3D1%26asc%3D20161005235502%26meid%3D4116373c15c04ed38d4dc07a032d8105%26pid%3D100688%26rk%3D5%26rkt%3D8%26sd%3D202134689343&_trksid=p2385738.c100688.m4649 | |
###TELEFON VOM WEIHNACHTSMANN | |
#vdc cryptfs | |
#ApkShare ? | |
### | |
##?Signal | |
##?Telegram | |
## | |
[DMX LINUX} | |
http://www.ledstyles.de/index.php/Thread/11802-PC-DMX-Interface-f%C3%BCr-Ansteuerung-unter-Linux-gesucht/ | |
https://forum.dmxcontrol-projects.org/index.php?thread/123-dmx-unter-linux/ | |
http://llg.cubic.org/dmx4linux/i2c.html | |
http://www.dmxcontrol.de/ | |
https://forum.ubuntuusers.de/topic/dmx-steuerung-mit-ubuntu/ | |
https://wiki.openlighting.org/index.php/Open_Lighting_Project | |
http://rdm.openlighting.org/ | |
https://www.popella.de/showtec-quick-dmx-usb-dongle | |
http://www.illutzminator.de/udmx.html | |
http://www.qlcplus.org/docs/index.html | |
http://www.dmxcontrol.de/unterstuetzte-interfaces.html | |
[DMX] | |
[Artnet] | |
[light:ma] | |
http://grand-support.dk/index.php/en/tips-and-tricks/68-getting-a-fixture-profile-into-your-onpc-console | |
https://help2.malighting.com/Page/MA_dot2/Window_ImportFixtureType/en/1.2 | |
## | |
[Cisco SPA112] | |
(also has german adapter howto) | |
http://web.archive.org/web/20190813121812/blog.stefankarg.de/2013/03/plugplay-mit-dem-cisco-spa112/ | |
https://kb.intermedia.net/Article/38895 | |
https://nfonag.zendesk.com/hc/de/articles/205588641-CISCO-SPA112-auf-Werkseinstellungen-zur%C3%BCck-setzten-FDR- | |
https://www.callcentric.com/support/device/cisco/spa112-spa122 | |
<<To reset the device to the default factory configuration, there are two options: Dial **** and at the prompt dial 73738# and then press 1 to confirm. Locate the Reset Button on the back of the SPA112. Using a paperclip, or something of similar dimension, hold the button for 20 seconds, then release >> | |
http://web.archive.org/web/20190821102043/https://old.bitblock.com/support/kb?kbartid=6 | |
http://web.archive.org/web/20150910032030/https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/csbpvga/spa100-200/provisioning/guide/SPA100-200_Provisioning.pdf | |
http://web.archive.org/web/20190721045220/https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/csbpvga/spa100-200/quick_start/SPA100_ATA_78-19933.pdf | |
http://web.archive.org/web/20190721045220/https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/csbpvga/spa100-200/quick_start/SPA100_ATA_78-19933.pdf | |
http://web.archive.org/web/20190821101713/https://www.cisco.com/c/en/us/support/docs/smb/unified-communications/cisco-small-business-voice-gateways-and-atas/smb2780-troubleshoot-a-spa112-and-a-spa122-when-the-connected-phones.html | |
http://web.archive.org/web/20190821101711/https://www.cisco.com/c/en/us/support/docs/smb/unified-communications/cisco-small-business-voice-gateways-and-atas/smb2716-configure-log-module-on-spa100-series.html | |
https://www.ukvoipforums.com/viewtopic.php?t=37 | |
https://community.cisco.com/t5/atas-gateways-and-accessories/spa122-backdoor-for-firmware-update/td-p/2029439 | |
## | |
snd.le | |
http://www.dein-tonmann.de/impressum/ | |
http://www.guessmer.de/index.php?t=p&z=3 | |
####Deppen | |
https://reichsdeppenrundschau.wordpress.com/2013/02/15/peter-fruhwald-die-polizei-stand-mit-vollstreckungshaftbefehl-vor-seiner-tur/ | |
--- | |
puredata | |
github → pd_compiler | |
-- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment