Skip to content

Instantly share code, notes, and snippets.

View spk921's full-sized avatar

Sangpil Kim spk921

View GitHub Profile
@spk921
spk921 / change host name
Created May 15, 2018 20:14
sudo hostnamectl set-hostname new-name
sudo hostnamectl set-hostname new-name
@spk921
spk921 / Install PCL
Created January 30, 2018 19:25
Install PCL
https://larrylisky.com/2016/11/03/point-cloud-library-on-ubuntu-16-04-lts/
@spk921
spk921 / etc_default_grub
Last active January 29, 2018 23:03
Linux Booting order change
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="1>3"
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || ech
@spk921
spk921 / etc_default_grub
Created January 29, 2018 22:57
Linux Booting order change
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="1>3"
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || ech
@spk921
spk921 / etc_default_grub
Created January 29, 2018 22:57
Linux Booting order change
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="1>3"
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || ech
@spk921
spk921 / etc_default_grub
Created January 29, 2018 22:57
Linux Booting order change
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="1>3"
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || ech
@spk921
spk921 / Install NVIDIA Driver and CUDA.md
Created January 12, 2018 19:50 — forked from zhanwenchen/Install NVIDIA Driver and CUDA.md
Install NVIDIA CUDA 8.0 on Ubuntu 16.04.3 LTS
#!/bin/bash
# MAYAVI SETUP
# mayavi is a python library for scientific visualisations, that can handle
# visualisation of Lidar Data. But, it can also be used to project Lidar data
# to 2D images.
#
# The set of commands I used to get mayavi set up on my computer so far.
# NOTE: I still do not know if it is set up properly, so this set of steps
# might be incomplete.
@spk921
spk921 / TensorFlow Conda 3.5 GPU
Last active May 2, 2017 15:47
TensorFlow Conda 3.5 GPU
conda create --name tensorflow python=3.5
activate tensorflow
conda install jupyter
conda install scipy
pip install tensorflow
# or
# pip install tensorflow-gpu
https://nitishmutha.github.io/tensorflow/2017/01/22/TensorFlow-with-gpu-for-windows.html