Skip to content

Instantly share code, notes, and snippets.

View dandelin's full-sized avatar
πŸ“š
Reading Papers

Wonjae (Dan) Kim dandelin

πŸ“š
Reading Papers
View GitHub Profile
@FeralFlora
FeralFlora / 01 Zotero Integration import template and more!.md
Last active May 7, 2025 16:04
Zotero import template for the Zotero integration plugin for Obsidian. Screenshots and usage guide over in the Obsidian forum here: https://forum.obsidian.md/t/zotero-integration-import-templates/36310/105?u=feralflora
  • ZI-main.md
    • The main Zotero Integration template
  • runImport.md
    • Template that enables updating literature notes at the click of a button, and much more.
  • Meta bind button template
    • Template for in-note button that executes runImport.md
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@csarron
csarron / convert_pyarrow.py
Last active April 6, 2022 09:09
pip install pyarrow fire tqdm
"""
crawl images:
pip install img2dataset==1.11.0
img2dataset --url_list cc3m.tsv\
--output_folder cc3m-img --input_format "tsv"\
--url_col "url" --caption_col "caption"\
--output_format files --resize_mode=no\
--processes_count 10 --thread_count 64 --number_sample_per_shard 2000\
--enable_wandb True --save_metadata False
# [email protected]
# `jax.distributed.initialize` is available in jax-0.2.25.
# $ pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html # Note: wheels only available on linux.
# Run this script on 2 GPU nodes, assuming 10.128.0.6 is the master node
# python nvidia_gpu_pjit.py --server_addr="10.128.0.6:1456" --num_hosts=2 --host_idx=0
# python nvidia_gpu_pjit.py --server_addr="10.128.0.6:1456" --num_hosts=2 --host_idx=1
from absl import app
from absl import flags
@lifthrasiir
lifthrasiir / inquiry.md
Last active July 30, 2019 13:15
"ꡬ글, 'https' 채택 μ•ˆν•œ λˆ„λ¦¬μ§‘μ— μ•ˆμ „ν•˜μ§€ μ•Šμ€ κ³³ '낙인'" 기사에 λŒ€ν•œ 의견

μ•„λž˜ 메일은 2017-02-12 21:43(μ΄ν•˜ ν•œκ΅­ ν‘œμ€€μ‹œ)에 ν•œκ²¨λ ˆ 기사에 λŒ€ν•œ μ˜κ²¬μœΌλ‘œμ„œ 기사에 μ œμ‹œλœ κΉ€μž¬μ„­ 기자의 λ©”μΌλ‘œ 보낸 λ‚΄μš©μ΄λ‹€. λ©”μΌμ—μ„œ 사싀 관계 λ“±μ˜ 였λ₯˜κ°€ μžˆλ‹€λ©΄ λͺ¨λ‘ λ‚˜μ˜ μ‹€μˆ˜μ΄λ‹€.

2017-02-13 14:53에 λ§λΆ™μž„: 더 이상 gistλ₯Ό λΉ„κ³΅κ°œλ‘œ ν•  μ΄μœ κ°€ μ—†μ–΄μ‘ŒμœΌλ―€λ‘œ 곡개둜 μ „ν™˜. 이 메일에 λŒ€ν•œ 닡변은 λ°›μ•˜μœΌλ‚˜ κ³΅κ°œν•  만큼 μ€‘μš”ν•œ 반둠이 λ“€μ–΄ μžˆμ§„ μ•ŠμœΌλ©° 곡개 여뢀도 묻지 μ•Šμ•˜μœΌλ―€λ‘œ κ³΅κ°œν•˜μ§€ μ•ŠλŠ”λ‹€. μ•„λž˜ κΈ€ μžμ²΄μ—λ„ λ‹€μ–‘ν•œ λΉ„λ¬Έκ³Ό μ˜€μžκ°€ μžˆμœΌλ‚˜ 본래 보낸 λ‚΄μš©μ„ 살리기 μœ„ν•΄ μ „ν˜€ μˆ˜μ •μ„ ν•˜μ§€ μ•ŠκΈ°λ‘œ ν–ˆμŒμ„ μ–‘ν•΄ λ°”λžŒ.

2017-02-13 19:00에 λ§λΆ™μž„: 이 κΈ°μ‚¬μ˜ ν›„μ†μœΌλ‘œ ꡬ글코리아 츑의 κΈ°μžκ°„λ‹΄νšŒκ°€ μ˜¬λΌκ°”λ‹€. μƒˆ 기사에 λŒ€ν•΄μ„œλŠ” νŠΉμ΄ν•œ 게 μ—†μœΌλ―€λ‘œ λ…Έμ½”λ©˜νŠΈ. λ˜ν•œ μœ„μ˜ 기사 링크λ₯Ό λ―Έλ””μ–΄λ‹€μŒμ—μ„œ ν•œκ²¨λ ˆ μ›Ήμ‚¬μ΄νŠΈλ‘œ 가도둝 μˆ˜μ •.

원문

μ•ˆλ…•ν•˜μ‹­λ‹ˆκΉŒ, κ·€ν•˜κ»˜μ„œ μž‘μ„±ν•˜μ‹  (λ¬Όλ‘  μ €λŠ” κ·Έ μ§„μœ„λ₯Ό μ•Œ 수 μ—†μŠ΅λ‹ˆλ‹€λ§Œ, 적어도 κ·Έλ ‡κ²Œ λ‚˜μ™€ μžˆλŠ”) 기사에 λŒ€ν•œ μ˜κ²¬μ„ μ œκΈ°ν•˜κ³ μž 메일을 μ”λ‹ˆλ‹€. 이 메일은 μ €μ˜ 개인 의견이며 μ €λ₯Ό κ³ μš©ν•˜κ³  μžˆλŠ” νšŒμ‚¬λ‚˜ 단체 λ“±μ˜ μ˜κ²¬μ„ μ „ν˜€ λŒ€λ³€ν•˜μ§€ μ•ŠμŒμ„ ν˜Ήμ‹œλ‚˜ μ‹Άμ§€λ§Œ 미리 λ°ν˜€ λ‘‘λ‹ˆλ‹€.

@haje01
haje01 / TensorFlow μ‹œμž‘ν•˜κΈ°.md
Last active May 3, 2024 07:30
TensorFlow μ‹œμž‘ν•˜κΈ°

ν…μ„œν”Œλ‘œμš° μ‹œμž‘ν•˜κΈ°

글쓴이: κΉ€μ •μ£Ό([email protected])

이 λ¬Έμ„œλŠ” ν…μ„œν”Œλ‘œμš° 곡식 νŽ˜μ΄μ§€ λ‚΄μš©μ„ λ°”νƒ•μœΌλ‘œ λ§Œλ“€μ–΄μ‘ŒμŠ΅λ‹ˆλ‹€.


μ†Œκ°œ

ν…μ„œν”Œλ‘œμš°(TensorFlow)λŠ” 기계 ν•™μŠ΅κ³Ό λ”₯λŸ¬λ‹μ„ μœ„ν•΄ κ΅¬κΈ€μ—μ„œ λ§Œλ“  μ˜€ν”ˆμ†ŒμŠ€ λΌμ΄λΈŒλŸ¬λ¦¬μž…λ‹ˆλ‹€. 데이터 ν”Œλ‘œμš° κ·Έλž˜ν”„(Data Flow Graph) 방식을 μ‚¬μš©ν•˜μ˜€μŠ΅λ‹ˆλ‹€.

@karpathy
karpathy / min-char-rnn.py
Last active May 8, 2025 09:24
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@steve-jansen
steve-jansen / README.md
Last active December 13, 2024 23:29
Stop and start Symantec Endpoint Protection on OS X

This script enables you stop and start Symantec Endpoint Protection on OS X

Installation

sudo curl https://gist.githubusercontent.com/steve-jansen/61a189b6ab961a517f68/raw/sep -o /usr/local/bin/sep
sudo chmod 755 /usr/local/bin/sep
sudo chown root:staff /usr/local/bin/sep