Skip to content

Instantly share code, notes, and snippets.

View jinhoyoo's full-sized avatar

Jinho Yoo jinhoyoo

View GitHub Profile
@jinhoyoo
jinhoyoo / crawl_your_facebook_post.py
Last active December 16, 2023 14:56
Crawl your facebook post for retrospective for V9.0
#!/usr/bin/python
# -*- coding: utf-8 -*-
import json
from datetime import datetime
import requests
# Input data. Get the data from GRAPH API explorer. (https://developers.facebook.com/tools/explorer/?classic=1)
ACCESS_TOKEN="YOUR_GRAPH_API_TOKEN"
YEAR ="THE_YEAR_YOU_WANNA_CRAWL_THE_POSTS"
@jinhoyoo
jinhoyoo / solved_code.py
Created March 20, 2019 16:14
Given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.
import unittest
'''Write a function:
def solution(A)
that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.
For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5.
Given A = [1, 2, 3], the function should return 4.
Given A = [−1, −3], the function should return 1.
@jinhoyoo
jinhoyoo / test_arch.md
Created January 23, 2020 06:19
test markdown

Architecture

Architecture