Skip to content

Instantly share code, notes, and snippets.

@dlin-me
dlin-me / Challenge.md
Last active November 16, 2018 00:10
Front End Challenge

Section 1: JavaScript Knowledge

1. Which option will be the correct results for the code below:

function waitFor(seconds) {
    const now = Date.now();
    const milliseconds = seconds * 1000;
    while((Date.now() - now ) < milliseconds){};
 console.log(`a`);
@dlin-me
dlin-me / delete_delete_markers.py
Created June 9, 2017 06:46
Batch restore s3 deleted objects with bucket versioning -- Delete Delete Markers
import boto3
client = boto3.client('s3')
def get_object_versions(bucket, prefix, max_key, key_marker):
kwargs = dict(
Bucket=bucket,
EncodingType='url',
MaxKeys=max_key,
@dlin-me
dlin-me / jd_frontend_developer.md
Created September 21, 2016 00:39
Job Description - Frontend Developer
Job Title Frontend Developer
Job Type Full-time
@dlin-me
dlin-me / jd_senior_frontend_developer.md
Last active July 28, 2020 02:54
Job Description - Senior Frontend Developer
Job Title Senior Frontend Developer
Job Type Full-time
@dlin-me
dlin-me / AuSimple.kml
Last active February 22, 2017 03:36
Australian State Boundaries Polygon ( Simplified version with overlap border )
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Australia State Polygon (Simplified with Overlaps)</name>
<description>Australia State Boundaries</description>
<Style id="polyStyID_0">
<LineStyle>
<color>66000000</color>
<width>2</width>
</LineStyle>
@dlin-me
dlin-me / AuFullBorderPolygon.kml
Last active November 13, 2020 00:52
Australia State Boundary Coordinates (Details with fine border)
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Australia State Polygon</name>
<description>Australia State Boundaries</description>
<Style id="polyStyID_0">
<LineStyle>
<color>66000000</color>
<width>2</width>
</LineStyle>