Skip to content

Instantly share code, notes, and snippets.

orangefiltersky

Block or report user

Report or block orangefiltersky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@orangefiltersky
orangefiltersky / do_not_disturb_mode.bat
Created Mar 22, 2016
Windows Batch File to pair with IFTTT and mute your phone while running an application
View do_not_disturb_mode.bat
@echo off
echo Do Not Disturb Mode for Gaming/Application
echo ------------------------------------------
echo.
echo Invoking WebRequest to IFTTT for Launch Recipe
powershell -Command "& {Invoke-WebRequest https://maker.ifttt.com/trigger/{event_name}/with/key/{super_secret_key} >$null}"
echo Success
echo Launching Application... (Please do not close this Command Prompt Window)
Start /wait "" "C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe"
echo Invoking WebRequest to IFTTT for Close Recipe
View ifttt_maker.ps1
Start-Process notepad.exe
Invoke-WebRequest https://maker.ifttt.com/trigger/testing_powershell/with/key/super_secret_key
You can’t perform that action at this time.