Skip to content

Instantly share code, notes, and snippets.

@mfilenko
mfilenko / 9to5deel.sh
Last active March 12, 2024 17:17
Automate Working Hours on Deel
DEEL_API_TOKEN="your-token"
DEEL_CONTRACT_ID="your-contract-id"
START_DATE="2024-03-01"
while [ "$START_DATE" != $(date +%Y-%m-%d) ]; do
if [ $(date -f "%Y-%m-%d" -j "$current_date" "+%u") -lt 6 ]; then # only weekdays
curl -X POST \
-H "Content-Type: application/json" \
-H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0" \

Keybase proof

I hereby claim:

  • I am mfilenko on github.
  • I am mfilenko (https://keybase.io/mfilenko) on keybase.
  • I have a public key whose fingerprint is 571E 5CA7 A6DE E1D7 B085 F600 5E93 BD42 B7A4 2EBE

To claim this, I am signing this object:

openssl s_client -connect host:443 -servername host < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout -in /dev/stdin | grep -oP "(([0-9A-Z]){2}:){19}([0-9A-Z]){2}"