Skip to content

Instantly share code, notes, and snippets.

View kalihman's full-sized avatar
๐Ÿต

YJ Song kalihman

๐Ÿต
View GitHub Profile
@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 13:16 — forked from jboner/latency.txt
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 ยตs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 ยตs
SSD random read ........................ 150,000 ns  = 150 ยตs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 ยตs

@sloria
sloria / bobp-python.md
Last active May 28, 2025 02:41
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@rxaviers
rxaviers / gist:7360908
Last active July 12, 2025 20:05
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@Chaser324
Chaser324 / GitHub-Forking.md
Last active July 3, 2025 05:44
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@datagrok
datagrok / README.md
Last active February 24, 2025 09:53
What happens when you cancel a Jenkins job

When you cancel a Jenkins job

Unfinished draft; do not use until this notice is removed.

We were seeing some unexpected behavior in the processes that Jenkins launches when the Jenkins user clicks "cancel" on their job. Unexpected behaviors like:

  • apparently stale lockfiles and pidfiles
  • overlapping processes
  • jobs apparently ending without performing cleanup tasks
  • jobs continuing to run after being reported "aborted"
@PurpleBooth
PurpleBooth / README-Template.md
Last active July 6, 2025 08:17
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@loleg
loleg / iotcam.py
Created November 7, 2015 01:26
Detects barcodes from a webcam stream using Python, zbar and CV2
from picamera.array import PiRGBArray
from picamera import PiCamera
import time
import sys
import cv2
import zbar
import Image
# Debug mode
DEBUG = False
@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์— ๋ง๋ถ™์ž„: ์ด ๊ธฐ์‚ฌ์˜ ํ›„์†์œผ๋กœ ๊ตฌ๊ธ€์ฝ”๋ฆฌ์•„ ์ธก์˜ ๊ธฐ์ž๊ฐ„๋‹ดํšŒ๊ฐ€ ์˜ฌ๋ผ๊ฐ”๋‹ค. ์ƒˆ ๊ธฐ์‚ฌ์— ๋Œ€ํ•ด์„œ๋Š” ํŠน์ดํ•œ ๊ฒŒ ์—†์œผ๋ฏ€๋กœ ๋…ธ์ฝ”๋ฉ˜ํŠธ. ๋˜ํ•œ ์œ„์˜ ๊ธฐ์‚ฌ ๋งํฌ๋ฅผ ๋ฏธ๋””์–ด๋‹ค์Œ์—์„œ ํ•œ๊ฒจ๋ ˆ ์›น์‚ฌ์ดํŠธ๋กœ ๊ฐ€๋„๋ก ์ˆ˜์ •.

์›๋ฌธ

์•ˆ๋…•ํ•˜์‹ญ๋‹ˆ๊นŒ, ๊ท€ํ•˜๊ป˜์„œ ์ž‘์„ฑํ•˜์‹  (๋ฌผ๋ก  ์ €๋Š” ๊ทธ ์ง„์œ„๋ฅผ ์•Œ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค๋งŒ, ์ ์–ด๋„ ๊ทธ๋ ‡๊ฒŒ ๋‚˜์™€ ์žˆ๋Š”) ๊ธฐ์‚ฌ์— ๋Œ€ํ•œ ์˜๊ฒฌ์„ ์ œ๊ธฐํ•˜๊ณ ์ž ๋ฉ”์ผ์„ ์”๋‹ˆ๋‹ค. ์ด ๋ฉ”์ผ์€ ์ €์˜ ๊ฐœ์ธ ์˜๊ฒฌ์ด๋ฉฐ ์ €๋ฅผ ๊ณ ์šฉํ•˜๊ณ  ์žˆ๋Š” ํšŒ์‚ฌ๋‚˜ ๋‹จ์ฒด ๋“ฑ์˜ ์˜๊ฒฌ์„ ์ „ํ˜€ ๋Œ€๋ณ€ํ•˜์ง€ ์•Š์Œ์„ ํ˜น์‹œ๋‚˜ ์‹ถ์ง€๋งŒ ๋ฏธ๋ฆฌ ๋ฐํ˜€ ๋‘ก๋‹ˆ๋‹ค.

@480
480 / gist:3b41f449686a089f34edb45d00672f28
Last active June 3, 2025 23:25
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Feature Store

Uber Michelangelo

https://eng.uber.com/michelangelo/

Finding good features is often the hardest part of machine learning and we have found that building and managing data pipelines is typically one of the most costly pieces of a complete machine learning solution.

A platform should provide standard tools for building data pipelines to generate feature and label data sets for training (and re-training) and feature-only data sets for predicting. These tools should have deep integration with the companyโ€™s data lake or warehouses and with the companyโ€™s online data serving systems. The pipelines need to be scalable and performant, incorporate integrated monitoring for data flow and data quality, and support both online and offline training and predicting. Ideally, they should also generate the features in a way that is shareable across teams to reduce duplicate work and increase data quality. They should also provide strong guard rails and controls to encourage and empower users to adop