Skip to content

Instantly share code, notes, and snippets.


Jinhwan Choi jinhwanlazy

View GitHub Profile
jamestwebber / pyro_logistic_regression.ipynb
Created Oct 23, 2018
A iPython notebook showing how to use SVI for logistic regression in Pyro
View pyro_logistic_regression.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
xnuk /
Last active Nov 25, 2021
난해한 혀엉.... 언어

난해한 혀엉... 언어 v0.4.5

  • (U+2026), (U+22EF), (U+22EE)는 모두 .(U+002E)가 3번 연속으로 나열된 것과 같은 것으로 봅니다.
  • "한글 음절 문자"는 가(U+AC00) 이상 힣(U+D7A3) 이하의 유니코드 문자들을 의미합니다.


  • 스택의 모든 원소는 유리수 또는 NaN으로 이루어져 있습니다. 분모가 1인 유리수를 편의상 정수라고 칭합니다.
    • NaN은 특수한 숫자처럼 취급됩니다. 어떠한 연산을 하더라도 그 연산에 NaN이 있을 경우 그 연산의 값은 NaN이 됩니다.
paulhauner / Poloniex First Trades
Created Nov 14, 2016
Poloniex First Trade Times
View Poloniex First Trades
# first_trades is a dict of the date of the first trade of each market on Poloniex.
# Values are specified as unix timestamps in whatever timezone the Poloniex API assumes.
# If you run into timezone issues, my system is GMT+10 (with daylight saving) when creating this.
# This data is very useful if you're attempting to pull the history of Poloniex's trades.
first_trades = dict(
View ufw plexmediaserver app
title=Plex Media Server
description=The Plex Media Server is smart software that makes playing Movies, TV Shows and other media on your computer simple

Once you have defined your application file, put it in /etc/ufw/applications.d, then tell ufw to reload the application definitions with

ufw app update plexmediaserver
ufw app info plexmediaserver
kecebongsoft / gist:11312110
Created Apr 26, 2014
Bulk remove iTerm2 color schemes.
View gist:11312110
# There was a day where I have too many color schemes in iTerm2 and I want to remove them all.
# iTerm2 doesn't have "bulk remove" and it was literally painful to delete them one-by-one.
# iTerm2 save it's preference in ~/Library/Preferences/com.googlecode.iterm2.plist in a binary format
# What you need to do is basically copy that somewhere, convert to xml and remove color schemes in the xml files.
$ cd /tmp/
$ cp ~/Library/Preferences/com.googlecode.iterm2.plist .
$ plutil -convert xml1 com.googlecode.iterm2.plist
$ vi com.googlecode.iterm2.plist
dwyerk / concave_hulls.ipynb
Created Apr 12, 2014
concave hulls using shapely and scipy
View concave_hulls.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ayosec / greek.vim
Created Nov 3, 2011
Plugin to append greek letters in VIM
View greek.vim
" Copy this in ~/.vim/plugins
" In normal mode, type “,gaalpha” to append α, or “,gibeta” to insert β
function DefineGreekLetter(name, letter)
exec "nmap ,gi" . a:name . " i". a:letter
exec "nmap ,ga" . a:name . " a". a:letter
call DefineGreekLetter("alpha", "α")
call DefineGreekLetter("Alpha", "Α")