This file contains hidden or 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
| #!/bin/bash | |
| # .claude/hooks/english-teacher.sh | |
| # English Teacher Hook - Analyzes user's English and provides feedback | |
| # Triggered on UserPromptSubmit | |
| # Debug mode - set to true to enable logging | |
| DEBUG=true | |
| DEBUG_LOG="/tmp/english-teacher-debug.log" | |
| debug_log() { |
This file contains hidden or 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"> |
a small Python script that uses amulet-core to search for specific blocks in a Minecraft world
this was created out of my need to find the exceptionally rare Osmium Ore in the Not Too Complicated 2 modpack
call it cheating if you like, but this is my 3rd playthrough of the pack and quite frankly i have much better things to do than fuck around trying to find a single goddamn vein of this shit.
if you want to use it, the general setup goes like this:
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 참고)
NewerOlder
