Skip to content

Instantly share code, notes, and snippets.

View humanscape-david's full-sized avatar
πŸ™ƒ

David humanscape-david

πŸ™ƒ
View GitHub Profile
_ _ _
>(.)__ <(.)__ =(.)__
(___/ (___/ (___/
@hw0k
hw0k / Brewfile
Last active January 21, 2021 17:11
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
tap "homebrew/services"
brew "nodenv"
brew "watchman"
cask "notion"
cask "iterm2"
cask "google-chrome"
cask "openjdk@11"
@hwooson
hwooson / mango_example.ipynb
Created November 22, 2019 00:25
web scraping hands on
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ryderdamen
ryderdamen / triggering_cron_job_manually_on_kubernetes.md
Last active March 6, 2024 15:07
How to trigger a Cron Job manually on Kubernetes

Triggering a Cron Job manually on Kubernetes

So you've defined a cronjob.yaml manifest, but it doesn't run until midnight and you want to test it now? Simply replace the variables, and run the following command to create a job from the cronjob.

kubectl create job --from=cronjob/{{ cron_job_name }} {{ the-name-of-this-one-off-job }}

This will create a one-off job in your cluster based on your cronjob.yaml manifest, which might look something like this.

apiVersion: batch/v1beta1
@shoark7
shoark7 / algorithm-sites.md
Last active February 9, 2026 05:39
개인적으둜 μ‚¬μš©ν–ˆλ˜ μ•Œκ³ λ¦¬μ¦˜ μ‚¬μ΄νŠΈλ“€μ„ μΆ”μ²œλ“œλ¦½λ‹ˆλ‹€.

μ•Œκ³ λ¦¬μ¦˜μ΄λΌκ³  많이 듀어보셨을 κ²λ‹ˆλ‹€. μ•Œκ³ λ¦¬μ¦˜μ€ κ΅κ³Όμ„œμ‹μœΌλ‘œ μ •μ˜ν•΄λ³΄λ©΄ '문제λ₯Ό ν•΄κ²°ν•˜λŠ” 일련의 절차'라고 ν•  수 μžˆλŠ”λ°μš”. μ»΄ν“¨ν„°λ‘œ μ–΄λ–€ 문제λ₯Ό ν•΄κ²°ν•΄μ•Ό ν•  λ•Œ, μ½”λ”©μœΌλ‘œ μ–΄λ–»κ²Œ 해결할지에 λŒ€ν•œ ꡬ체적인 방법을 μ΄μ•ΌκΈ°ν•©λ‹ˆλ‹€.

예λ₯Ό λ“€μ–΄, 숫자 배열을 μ •λ ¬ν•˜λŠ” λ¬Έμ œκ°€ μžˆλ‹€κ³  ν•©μ‹œλ‹€. 인간이 배열을 λŒ€μΆ© 보고 μ •λ ¬ν•˜κΈ°λŠ” μ‰½μ§€λ§Œ μ›μ†Œμ˜ κ°œμˆ˜κ°€ μˆ˜λ°±λ§Œκ°œμ— λ‹¬ν•˜λŠ” λ°°μ—΄μ—μ„œ μ»΄ν“¨ν„°μ—κ²Œ 일을 μ‹œμΌœμ„œ 컴퓨터가 μ •λ ¬ν•˜κ²Œ ν•˜λŠ” 것은 쉽지 μ•ŠμŠ΅λ‹ˆλ‹€. μ‹€μ œλ‘œ 정렬은 μ•Œκ³ λ¦¬μ¦˜μ—μ„œ 맀우 유λͺ…ν•˜κ³  기초적인 λΆ„μ•Όλ‘œ 정렬을 ν•˜λŠ” 방법, 즉 μ•Œκ³ λ¦¬μ¦˜μ΄ μ§€κΈˆκΉŒμ§€ μ•Œλ €μ§„ κ²ƒλ§Œ 해도 μˆ˜μ‹­κ°€μ§€κ°€ λ©λ‹ˆλ‹€.

μ•Œκ³ λ¦¬μ¦˜μ„ κ³΅λΆ€ν•˜λŠ” 것은 κ½€ 도움이 λ˜λŠ”λ°μš”. 일단 코딩을 μ‹œμž‘ν•˜μ‹œλŠ” λΆ„λ“€ μž…μž₯μ—μ„œλŠ” 코딩을 ν•˜κ²Œ λ˜μ„œ μ½”λ”©κ³Ό 문법에 μ΅μˆ™ν•΄μ§€λŠ” μž₯점이 있고, 또 개발자적 사고λ₯Ό ν•˜λŠ” 데 μ•Œκ³ λ¦¬μ¦˜ 문제λ₯Ό ν‘ΈλŠ” 것이 도움이 λ©λ‹ˆλ‹€. μ–΄λ–€ 개발 νšŒμ‚¬λ“€μ€ μ•Œκ³ λ¦¬μ¦˜ λŠ₯λ ₯을 ν…ŒμŠ€νŠΈν•˜κΈ° λ•Œλ¬Έμ— 취업을 λͺ©ν‘œλ‘œ κ³΅λΆ€ν•˜μ‹ λ‹€λ©΄ μ†ν•΄λŠ” 보지 μ•ŠμŠ΅λ‹ˆλ‹€.

μ €λŠ” μ•Œκ³ λ¦¬μ¦˜μ„ μ’‹μ•„ν•΄μ„œ μ‘°κΈˆμ”© ν’€μ–΄μ™”λŠ”λ°μš”. μ•Œκ³ λ¦¬μ¦˜μ„ ν’€ 수 μžˆλ„λ‘ 문제λ₯Ό λ‚΄μ£ΌλŠ” μ‚¬μ΄νŠΈλ“€μ΄ 정말 λ§ŽμŠ΅λ‹ˆλ‹€. μ˜€λŠ˜μ€ κ·Έμ€‘μ—μ„œ λͺ‡ κ°€μ§€λ§Œ μ†Œκ°œν•΄λ“œλ¦¬κ² μŠ΅λ‹ˆλ‹€. μ‚¬μ΄νŠΈλŠ” 정말 λ§Žμ€λ°μš”, κ·Έμ€‘μ—μ„œ μ œκ°€ μ΅œμ†Œ λͺ‡ λ²ˆμ΄λΌλ„ 써본 μ‚¬μ΄νŠΈλ“€λ§Œ μ†Œκ°œν•˜κ² μŠ΅λ‹ˆλ‹€. 더 쒋은 μ‚¬μ΄νŠΈλ“€μ΄ 있으면 μ†Œκ°œν•΄μ£Όμ‹œλ©΄ μΆ”κ°€ν•  수 μžˆμ„ 것 κ°™μŠ΅λ‹ˆλ‹€.


@remy
remy / ActiveLink.js
Last active May 3, 2025 03:03
Next.js version of `activeClassName` support.
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod
@maurelian
maurelian / console.sol
Last active February 25, 2022 18:44
A JS style console.log() function for solidity.
pragma solidity ^0.4.10;
// Update: Just use HardHat's: https://github.com/nomiclabs/hardhat/blob/master/packages/hardhat-core/console.sol
// Enables event logging of the format `console.log('descriptive string', variable)`,
// without having to worry about the variable type (as long as an event has been declared for that type in the
// Console contract.
contract Console {
event LogUint(string, uint);
@LeoHeo
LeoHeo / var-let-const.md
Last active August 23, 2025 01:25
javascript var, let, const 차이점

var, let, const 차이점은?

  • varλŠ” function-scoped이고, let, constλŠ” block-scopedμž…λ‹ˆλ‹€.

  • function-scoped와 block-scopedκ°€ λ¬΄μŠ¨λ§μ΄λƒ?

var(function-scoped)

jsfiddle μ°Έκ³ μ£Όμ†Œ

@serithemage
serithemage / AWSSecurityContents.md
Last active July 24, 2025 04:30
AWS λ³΄μ•ˆ κ΄€λ ¨ 자료 λͺ¨μŒμ§‘

AWS ν•™μŠ΅ 링크집 μ‹œλ¦¬μ¦ˆ