This file contains 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
package com.autoepm.versioner.common; | |
import org.apache.http.Header; | |
import org.apache.http.HttpEntity; | |
import org.apache.http.HttpResponse; | |
import org.apache.http.StatusLine; | |
import org.apache.http.client.fluent.Executor; | |
import org.apache.http.client.fluent.Response; | |
import org.apache.http.message.BasicHeader; | |
import org.mockito.ArgumentCaptor; |
This file contains 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
# when testing locally, set environment variable OAUTHLIB_INSECURE_TRANSPORT to 1 | |
# so you can use http://localhost... in redirect | |
import os | |
from O365 import Connection | |
from flask import Flask, redirect, request, url_for, abort | |
# O365 secrets | |
APP_ID = os.environ.get('O365_APP_ID') | |
APP_PWD = os.environ.get('O365_APP_PWD') |
This file contains 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetCapsLockState AlwaysOff | |
; left hand , top row | |
CapsLock & q:: | |
Send £ |
This file contains 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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
SetCapsLockState AlwaysOff | |
; left hand , top row | |
CapsLock & q:: | |
Send £ | |
return |
OlderNewer