- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
from __future__ import print_function, division | |
import math | |
import turtle | |
def draw_pie(t, n, r): | |
draw_poly_pie(t, n, r) | |
t.pu() | |
t.fd(r*2 + 10) | |
t.pd() |
import math | |
import turtle | |
def polyline(obj, length, sides, angle): | |
for i in range(sides): | |
obj.fd(length) | |
obj.lt(angle) | |
def arc(t, radius, angle): | |
arc_length = 2 * math.pi * radius * angle / 360 |
#!/bin/zsh | |
emailToExtractOtacFrom=$1 | |
emailToSendMagicLinkTo=$2 | |
otacValue=$(curl -s https://aws-sns-stub.dev.moneynp.xinja.com.au/aws-sns-stub/email/address/$emailToExtractOtacFrom | jq '.[0].message.body.html.data' | grep otac= | awk -F 'otac=' '{print $2}' | cut -d "\\" -f 1) | |
emailBodyText='Magic Link ==>> ' | |
emailBodyMagicLink=https://native-support.dev.moneynp.xinja.com.au/information/install?otac=$otacValue | |
curl -s --user 'api:79c45e782acba502516875093739f9b6-4836d8f5-68302a5e' \ |