Skip to content

Instantly share code, notes, and snippets.

View itsnamgyu's full-sized avatar
๐ŸŒ
Excited

Namgyu Ho itsnamgyu

๐ŸŒ
Excited
View GitHub Profile
  • For a Single User: Copy the font file to ~/.fonts/ (create this directory if it doesn't exist).
  • Update Font Cache:
    • Run fc-cache -fv in the terminal to update the font cache. This makes the new font available to applications on your system.
  • Remove ~/.cache/matplotlib/fontlist-v330.json
import matplotlib.pyplot as plt
import matplotlib.font_manager as font_manager

# Path to your custom font

๋ชจ๋“ˆ ์—…๋ฐ์ดํŠธ

๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ชจ๋“ˆ์„ ์—…๋ฐ์ดํŠธํ•˜์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. (์ดˆ๊ธฐํ™” ๋ฐฉ์‹)

  1. ๋ฐ์ดํ„ฐ ํด๋” ๋ฐฑ์—…
  • cardiac-research/data/
  • cardiac-research/experiments/deep_a0/output/
  • cardiac-research/experiments/deep_a0/figures/
git clone https://github.com/itsnamgyu/jupyter-vim
cd jupyter-vim
source install.sh
source clean.sh
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).

bootstrapemail.com

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" media="all"
    href="/assets/application-mailer-dbc5154d3c4160e8fa7ef52fa740fa402760c39b5d22c8f6d64ad5999499d263.css" />

๋ชจ๋“ˆ ์—…๋ฐ์ดํŠธ

git stash # ์ˆ˜์ •๋œ ํŒŒ์ผ ๋‚ด์šฉ ์ €์žฅ
git reset --hard HEAD~20
git pull
git stash pop # ์ €์žฅ๋œ ์ˆ˜์ • ์‚ฌํ•ญ ๋ณต๊ตฌ (์ถฉ๋Œ ๋ฐœ์ƒ ๊ฐ€๋Šฅ)

ํด๋” ๊ตฌ์กฐ ์—…๋ฐ์ดํŠธ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="all" href="/assets/application-mailer-dbc5154d3c4160e8fa7ef52fa740fa402760c39b5d22c8f6d64ad5999499d263.css" />
</head>
<body>
<div class="container-fluid px-3 bg-light pb-5">
<div class="container p-0 m-0">
@itsnamgyu
itsnamgyu / tweet_dumper.py
Created August 23, 2017 19:10 — forked from yanofsky/LICENSE
A script to download all of a user's tweets into a csv
# !/usr/bin/env python
# encoding: utf-8
import tweepy # https://github.com/tweepy/tweepy
import csv
import json
# Twitter API credentials
KEYS = "keys.json"