Skip to content

Instantly share code, notes, and snippets.

View skim0119's full-sized avatar
๐ŸŒบ
I may be slow to respond.

Seung Hyun Kim skim0119

๐ŸŒบ
I may be slow to respond.
  • Urbana Champaign
View GitHub Profile
@denguir
denguir / cuda_install.md
Last active October 19, 2025 11:37
Installation procedure for CUDA / cuDNN / TensorRT

How to install CUDA / cuDNN / TensorRT on Ubuntu

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@skim0119
skim0119 / build_elastica.sh
Created August 29, 2022 22:08 — forked from tp5uiuc/build_elastica.sh
Build Elastica on systems
#!/usr/bin/env bash
declare -A compilers
# compilers[gcc]="/home/linuxbrew/.linuxbrew/opt/gcc@8/bin/g++-8"
compilers[gcc10]=g++-10
# compilers[gcc11]=g++-11
# compilers[clang]=clang++-8
declare -A cmake_build_types
# cmake_build_types[debug]="Debug"
@tp5uiuc
tp5uiuc / build_elastica.sh
Last active September 27, 2022 20:39
Build Elastica on systems
#!/usr/bin/env bash
declare -A compilers
compilers[gcc]=/opt/homebrew/opt/gcc/bin/g++-12
compilers[clang]=/opt/homebrew/opt/llvm/bin/clang++
declare -A cmake_build_types
cmake_build_types[debug]="Debug"
# cmake_build_types[release]="Release"
# cmake_build_types[relwithdebuginfo]="RelWithDebInfo"
@gh640
gh640 / use_python_poetry_cache_on_github_actions_workflow.yml
Last active May 2, 2025 07:18
Sample: Use Python Poetry cache on GitHub Actions workflow
name: Use Python Poetry cache on GitHub Actions workflow
on:
push:
branches:
- main
env:
PYTHON_VERSION: "3.11"
POETRY_VERSION: "1.4.2"
@smartameer
smartameer / prepare-commit-msg
Created July 6, 2021 19:35
Git coauthor hook for pre-commit message
#!/bin/bash
function prompt_for_multiselect {
# little helpers for terminal print control and key input
GREEN='\033[00;32m'
YELLOW='\033[00;33m'
RESTORE='\033[0m'
ESC=$( printf "\033")
cursor_blink_on() { printf "$ESC[?25h"; }
@zaqmor
zaqmor / git--clean-up-reflog.txt
Last active April 9, 2025 22:00
Cleaning up the git reflog
# Purge the reflog of anything farther back than 180 days, specifying --all, otherwise unreachable 'dangling' objects will be missed,
# optional --expire-unreachable flag could differ on when to expire unreachables
git reflog expire --all --expire=180.days.ago --expire-unreachable=180.days.ago --all
# other examples for expire
--expire=now
--expire=never
--expire="Jan 01 2019"
--expire="2019-01-01 00:00"
@joncardasis
joncardasis / Storing-Images-On-Github.md
Last active August 22, 2025 19:47
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

@haje01
haje01 / TensorFlow ์‹œ์ž‘ํ•˜๊ธฐ.md
Last active May 3, 2024 07:30
TensorFlow ์‹œ์ž‘ํ•˜๊ธฐ

ํ…์„œํ”Œ๋กœ์šฐ ์‹œ์ž‘ํ•˜๊ธฐ

๊ธ€์“ด์ด: ๊น€์ •์ฃผ(haje01@gmail.com)

์ด ๋ฌธ์„œ๋Š” ํ…์„œํ”Œ๋กœ์šฐ ๊ณต์‹ ํŽ˜์ด์ง€ ๋‚ด์šฉ์„ ๋ฐ”ํƒ•์œผ๋กœ ๋งŒ๋“ค์–ด์กŒ์Šต๋‹ˆ๋‹ค.


์†Œ๊ฐœ

ํ…์„œํ”Œ๋กœ์šฐ(TensorFlow)๋Š” ๊ธฐ๊ณ„ ํ•™์Šต๊ณผ ๋”ฅ๋Ÿฌ๋‹์„ ์œ„ํ•ด ๊ตฌ๊ธ€์—์„œ ๋งŒ๋“  ์˜คํ”ˆ์†Œ์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์ž…๋‹ˆ๋‹ค. ๋ฐ์ดํ„ฐ ํ”Œ๋กœ์šฐ ๊ทธ๋ž˜ํ”„(Data Flow Graph) ๋ฐฉ์‹์„ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@jancborchardt
jancborchardt / Dealing with issues.md
Last active January 24, 2022 23:07
Dealing with issues

Dealing with issues

Try to reproduce issues

Go through the new issues and try to reproduce them. Itโ€™s important to get additional info, logs, and test if an issue occurs on different platforms. That helps us identify the source of the problem.

Triage issues

  • if thereโ€™s more info needed, ask the reporter to use the issue template
  • assign relevant labels