Skip to content

Instantly share code, notes, and snippets.

View dedoussis's full-sized avatar

Dimitrios Dedoussis dedoussis

View GitHub Profile
dedoussis /
Created May 21, 2023 14:37
Retrieve local anisette data
#!/usr/bin/env python3
import sys
import json
import typing as t
import objc
from Foundation import NSBundle, NSClassFromString, NSISO8601DateFormatter, NSDate, NSTimeZone
from AppKit import *
dedoussis / Dockerfile
Created December 27, 2022 00:34
Docker build of the icloud-hide-my-email browser extension
# Place this dockerfile in the root dir of this repo:
FROM node:18-alpine
RUN apk upgrade && apk add --update --no-cache --virtual .builds-deps build-base python3
COPY . /opt/icloud-hide-my-email-extension
WORKDIR /opt/icloud-hide-my-email-extension
dedoussis /
Created August 22, 2022 15:48
iCloud API authentication (Python)
import requests
import typing as t
from uuid import uuid4
ACCOUNT_COUNTRY_HEADER := "X-Apple-ID-Account-Country",
SESSION_ID_HEADER := "X-Apple-ID-Session-Id",
SESSION_TOKEN_HEADER := "X-Apple-Session-Token",
TWOSV_TRUST_TOKEN_HEADER := "X-Apple-TwoSV-Trust-Token",
dedoussis /
Last active March 31, 2022 09:32
Support request flow
flowchart TD
    support_request(You have a support request)
    squad_member_decision{Can a fellow engineer of your team help?}
    devops_champion_decision{Can the DevOps champion of your team help?}
    sre_decision{Can the SRE of your team help?}
    cloud_support_ask(Ask cloud support)

dedoussis /
Last active October 13, 2021 14:25
Sets the default agent pool for the entirety of build definitions within an AZDO org
#!/usr/bin/env python3
Sets the default agent pool for the entirety of build definitions within an org
Usage instructions:
dedoussis /
Created May 28, 2021 15:32
Delete all deployments of a given GitHub repository
#!/usr/bin/env python3
Clears all deployments from a given repo
Requirements: pip install PyGithub
from github import Github

Keybase proof

I hereby claim:

  • I am dedoussis on github.
  • I am dedoussis ( on keybase.
  • I have a public key ASAG-gc93A_k3e7nz7FAUnbmI4zAELyC8Z9QN_BVTB7psgo

To claim this, I am signing this object: