This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[InternetShortcut] | |
URL=data:text/html,<input type="color" onchange="document.bgColor=this.value"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styled from '@emotion/styled'; | |
import React, from 'react'; | |
import { variant } from 'styled-system'; | |
import { BaseButton, BaseButtonProps } from '../../../private/BaseButton'; | |
import { textVariants } from '../../../private/BaseText'; | |
import { skipForwardProps } from '../../../props'; | |
const kindVariants = { | |
primary: { | |
fontWeight: '700', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For Readibility, I've separated it into type. | |
type Keyable = string | number | symbol; | |
// Get value union type. | |
// for `{ a: true, b: 3 }` it will give you `boolean | number` type. | |
// Also for array, it will give you commonest type of the array. | |
type GetValueUnion<T> = T[keyof T]; | |
// This type will inverse keys and values. | |
// for `{ a: 'str', b: 3 }` it will give you `{ 3: 'b', str: 'a' }` type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,4c1,4 | |
< โ๋ณ๋ฌด์ฒญ๊ณ ์์ 2018-1ํธ | |
< 2018๋ ๋ ๋ณ์ญ์ง์ ์ ์ฒด ์ ์ ๋ฐ 2019๋ ๋ ์ธ์๋ฐฐ์ ๊ณ ์ | |
< 2018๋ ๋ ๋ณ์ญ์ง์ ์ ์ฒด ์ ์ ๋ฐ 2019๋ ๋ ์ธ์๋ฐฐ์ ์ ๋ํ์ฌ ๋ค์๊ณผ ๊ฐ์ด ๊ณ ์ํฉ๋๋ค. | |
< 2018๋ 5์ 23์ผ | |
--- | |
> โ๋ณ๋ฌด์ฒญ๊ณ ์ ์ 2019-2ํธ | |
> 2019๋ ๋ ๋ณ์ญ์ง์ ์ ์ฒด ์ ์ ๋ฐ 2020๋ ๋ ์ธ์๋ฐฐ์ ๊ณ ์ | |
> 2019๋ ๋ ๋ณ์ญ์ง์ ์ ์ฒด ์ ์ ๋ฐ 2020๋ ๋ ์ธ์๋ฐฐ์ ์ ๋ํ์ฌ ๋ค์๊ณผ ๊ฐ์ด ๊ณ ์ํฉ๋๋ค. | |
> 2019๋ 5์ 27์ผ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
#include <map> | |
using namespace std; | |
int dr[] = { -1, 0, 1, 0 }; | |
int dc[] = { 0, 1, 0, -1 }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Basic example of saving cookie using axios in node.js and session's recreation after expiration. | |
* We have to getting/saving cookie manually because WithCredential axios param use XHR and doesn't work in node.js | |
* Also, this example supports parallel request and send only one create session request. | |
* */ | |
const BASE_URL = "https://google.com"; | |
// Init instance of axios which works with BASE_URL | |
const axiosInstance = axios.create({ baseURL: BASE_URL }); |
- ํธ๋ํฝ์ ๊ด๋ฆฌํ๊ธฐ ์ํ ํ๋์ ์๋ฃจ์ , ํํ ๋ณด๋ ์ ์์ ๋๊ธฐ๊ฐ ๊ทธ๊ฒ
- https://traffic.kaist.ac.kr/ ์์ ๋์ ์ค
- ํน์ ๋ชจ๋ฅด์ง๋ง ์๋ฒ ์๊ฐ์ ์ฌ๊ธฐ์ ์ ๊ณตํด์ค๋ค.
Global Params:
- opcode: ์คํํ ๋ช ๋ น์ด ์ด๋ฆ (Opcode Table ์ฐธ๊ณ )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
const data = [ | |
[], | |
{ | |
run: (_ignored1, _ignored2, { c: result }) => { | |
for (const field of Object.getOwnPropertyNames(result)) { | |
const exported = result[field].exports; | |
if (exported && exported.isDeveloper === false) { | |
Object.defineProperty(exported, "isDeveloper", { | |
value: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/bash | |
MYGITHUB=johngrib | |
RAW=/tmp/$MYGITHUB-github | |
TABLE=/tmp/$MYGITHUB-github-table | |
COLORS=/tmp/$MYGITHUB-github-colors | |
curl -s https://github.com/$MYGITHUB/ > $RAW | |
TITLE=`cat /tmp/johngrib-github | pcregrep -M '[0-9,]+ contributions\s*\n\s*in the last year'` |
NewerOlder