Skip to content

Instantly share code, notes, and snippets.

View galch's full-sized avatar
🎯
Focusing

Steve Han galch

🎯
Focusing
View GitHub Profile
@galch
galch / pd_pwm.c
Created May 12, 2015 10:29
pd_pwm for 4 QEP & 4 Motors
#include "pd_pwm.h"
/* ==============================================================================================
// Configuration
============================================================================================== */
void Encoder_Configuration(void)
{
GPIO_InitTypeDef GPIO_InitStructure;
@galch
galch / gist:95c9693a48e72eaa2495
Created May 18, 2015 03:22
Ubuntu 14.04 LTS :: auto connect to Hidden network
1. make profile like `sudo vi /etc/NetworkManager/system-connections/custom_wlan`
2. password-flag = 1 -> password = yourpasswd
@galch
galch / gist:4f217503121eb20c425c
Created May 30, 2015 07:19
ODROID XU3 Text-mode Boot
sudo mv /etc/init/lightdm.conf /etc/init/lightdm.conf.disabled
@galch
galch / gist:4813b59499d38a55ea25
Created June 2, 2015 01:50
ROS rviz setting for laptop
LIBGL_ALWAYS_SOFTWARE=1
@galch
galch / gist:f0bf9bbe7d359cd36896
Created June 12, 2015 09:51
partition backup using dd
dd if=/dev/sda | gzip -c > backupimage.img
dd if=/dev/mmcblk0 | gzip -c | ssh [email protected] dd of=backup.img
from http://www.reddit.com/r/linux/comments/22pbqq/how_do_i_backup_an_odroidu3_xubuntu_arm_storage/
@galch
galch / gist:d30989ba47721c5d4811
Last active August 29, 2015 14:25
solve problem in ubuntu 14.04, g2o build throwing error at 3% in /g2o/g2o/stuff/sampler.h
/home/galch/g2o/g2o/stuff/sampler.h:30:22: fatal error: Eigen/Core: 그런 파일이나 디렉터리가 없습니다
#include <Eigen/Core>
http://stackoverflow.com/questions/23034477/c-cmake-throwing-error
edit CMakeLists.txt in /g2o
http://www.ciencia-explicada.com/2014/12/ros-how-to-develop-catkin-packages-from-an-ide.html
set nocompatible
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'L9'
Plugin 'git://git.wincent.com/command-t.git'
@galch
galch / onchange.sh
Last active April 9, 2016 14:35 — forked from senko/onchange.sh
Watch current directory and execute a command if anything in it changes
#!/bin/bash
#
# Watch current directory (recursively) for file changes, and execute
# a command when a file or directory is created, modified or deleted.
#
# Written by: Senko Rasic <[email protected]>
#
# Requires Linux, bash and inotifywait (from inotify-tools package).
#
# To avoid executing the command multiple times when a sequence of
@galch
galch / alljoyn_pi
Last active May 16, 2016 03:44 — forked from germanviscuso/alljoyn_pi
Compile AllJoyn on the Raspberry Pi
INDEX
-----
- BUILD IT YOURSELF
- BUILD THE AUDIO SERVICE
- BUILDING FOR ANDROID
- INSTALL WITHOUT BUILDING
BUILD IT YOURSELF
-----------------