Authenticate with Office365 Powershell without passwordprompt

Dec. 21, 2016 by

Start with generating the passwordfile using: read-host -prompt “Enter password” -assecurestring |convertfrom-securestring | out-file C:\MySecretFile.txt $pass = cat C:\MySecretFile.txt | convertto-securestring $mycred = new-object -typename System.Management.Automation.PSCredential -argumentlist “”,$pass $pso365sessionoption =

[WordPress] IP restriction for wp-admin and wp-login

Dec. 4, 2016 by

Make sure you have .htaccess enabled on the webserver for given vhost Edit or create .htaccess   <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_REFERER} !^http://(.*)?Example\.com [NC] RewriteCond %{REMOTE_ADDR}

[Windows] Telegram push notifications for PRTG

Dec. 2, 2016 by

Create the bot using Botfather and get the API Token 1. Add the Bot and start a chat 2. Get the chat_id by going to the<tokencode>/getUpdates for example: 3. The

Install CSGO Server on Ubuntu/Debian

Dec. 1, 2016 by

Runing Debian 8 and Ubuntu 14.04 64bit install dependencies apt-get install lib32gcc1 Get SteamCMD Login to steam using “login anonymous” Specify “install_dir” using force_install_dir. “force_install_dir /home/qhrizz/csgo/aim” app_update 740 (740 is csgo)