Skip to content

Instantly share code, notes, and snippets.

View Kyungpyo-Kim's full-sized avatar
😁

Kyungpyo Kim Kyungpyo-Kim

😁
View GitHub Profile
@Kyungpyo-Kim
Kyungpyo-Kim / download.py
Created May 12, 2024 15:24 — forked from JunhongXu/download.py
A Python script downloading all ICLR and NIPS papers from openreview.net
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
import requests
import os
def download_all_papers(base_url, save_dir, driver_path):
driver = webdriver.Chrome(driver_path)
@Kyungpyo-Kim
Kyungpyo-Kim / .tmux.conf
Created March 12, 2023 06:41 — forked from v-yarotsky/.tmux.conf
Mac OS X tmux config
### INSTALLATION NOTES ###
# 1. Install Homebrew (https://github.com/mxcl/homebrew)
# 2. brew install zsh
# 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh)
# 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace
# 5. Install iTerm2
# 6. In iTerm2 preferences for your profile set:
# Character Encoding: Unicode (UTF-8)
# Report Terminal Type: xterm-256color
# 7. Put itunesartist and itunestrack into PATH
@Kyungpyo-Kim
Kyungpyo-Kim / debian_from_ros_pkg.md
Last active August 23, 2021 05:42 — forked from awesomebytes/debian_from_ros_pkg.md
How to create a debian from a ROS package

Void Linux on the MSI Prestige 14 (A10SC)

Pretty much everything is working out of the box. The screen is beautiful and the keyboard is nice to type on.

The battery life when just doing using the laptop as a portable laptop is pretty good. It's light, thin.

I look forwarding to testing its for some light gaming, but until then, here's what I did to get everything working on it.

Basic Installation

@Kyungpyo-Kim
Kyungpyo-Kim / Install PyQt5 on Ubuntu with python3 .md
Created April 10, 2021 12:51 — forked from r00tdaemon/Install PyQt5 on Ubuntu with python3 .md
Install PyQt5 on Ubuntu with python3. Steps to set up PyQt5 (ubuntu). With python code generation

Installation

pip3 install --user pyqt5  
sudo apt-get install python3-pyqt5  
sudo apt-get install pyqt5-dev-tools
sudo apt-get install qttools5-dev-tools

Configuring to run from terminal

@Kyungpyo-Kim
Kyungpyo-Kim / CMakeLists.txt
Created February 14, 2020 06:34 — forked from dirk-thomas/CMakeLists.txt
CMakeLists.txt example with ament
cmake_minimum_required(VERSION 2.8.3)
project(foo)
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
endif()
# find dependencies
@Kyungpyo-Kim
Kyungpyo-Kim / safepasslib.js
Created February 14, 2019 08:14 — forked from kde713/safepass.js
안전교육 이수 스크립트
var page_no = getCurrentPageNumber();
var macro_flag = false;
function wait(msecs) {
var start = new Date().getTime();
var cur = start;
while (cur - start < msecs) {
cur = new Date().getTime();
}
}
@Kyungpyo-Kim
Kyungpyo-Kim / union_find.py
Created August 5, 2018 08:08
Union-Find in Python
class UnionFind:
"""Weighted quick-union with path compression.
The original Java implementation is introduced at
https://www.cs.princeton.edu/~rs/AlgsDS07/01UnionFind.pdf
>>> uf = UnionFind(10)
>>> for (p, q) in [(3, 4), (4, 9), (8, 0), (2, 3), (5, 6), (5, 9),
... (7, 3), (4, 8), (6, 1)]:
... uf.union(p, q)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import rospy
from sensor_msgs.msg import PointCloud2
import sensor_msgs.point_cloud2 as pc2
class SubscribePointCloud(object):
def __init__(self):