Skip to content

Instantly share code, notes, and snippets.

View xoewrl's full-sized avatar
🍄
I may be slow to respond.

xofqewr.ewjro xoewrl

🍄
I may be slow to respond.
  • 885887fa-948d-42a7-aa4b-cff55e9c46e0
  • 27b122c8-56c1-4fef-9696-9bcdedd78614
View GitHub Profile
@xoewrl
xoewrl / get-aad-token.js
Created June 14, 2022 02:08 — forked from pieterdv/get-aad-token.js
Login through Azure AD with puppeteer
function getAadToken(user, password, identifier) {
return puppeteer.launch({ headless: true }).then(async browser => {
try {
const page = await browser.newPage();
await page.goto("SITEURL");
await page.click(
"LOGINBUTTON"
);
@xoewrl
xoewrl / __init__.pyi
Created April 25, 2022 09:47 — forked from t-vi/__init__.pyi
PyTorch Type Hints work in progress (put into python3.x/dist-packages/torch/ directory to try)
from typing import List, Tuple, Optional, Union, Any, ContextManager, Callable, overload
import builtins
import math
import pickle
class dtype: ...
_dtype = dtype