Skip to content

Instantly share code, notes, and snippets.

@chikuta
chikuta / .vimrc
Last active September 1, 2016 05:00
" 導入手順
" $ mkdir -p ~/.vim/bundle
" $ cd .vim/bundle
" $ git clone https://github.com/Shougo/neobundle.vim neobundle.vim
" $ sudo apt-get install clang-3.5 clang-format-3.5
" $ sudo pip install flake8 fyflake
" $ cat "export TERM=xterm-256color" >> ~/.zshrc
" $ wget https://gist.github.com/chikuta/68e608243ccc18de361c/raw/82dfded5cee286a2c68c165daaf3eaf100f2f462/vimrc ~/.vimrc
" $ vim
" $ cd ~/.vim/bundle/jedi-vim

direnv導入

必要なパッケージ導入

$ sudo apt-get install build-essential zlib1g-dev libbz2-dev libssl-dev libreadline-dev libncurses5-dev libsqlite3-dev libgdbm-dev libdb-dev libexpat-dev libpcap-dev liblzma-dev libpcre3-dev curl python-pip
$ sudo pip install virtualenv

Pythonz導入

#!/bin/sh
cd ~
git clone https://github.com/creationix/nvm.git ~/.nvm
source ~/.nvm/nvm.sh
nvm install 0.10
npm install -g grunt-cli
git clone https://github.com/hakimel/reveal.js.git
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# import python libraries
import sys
# import ros libraries
import rospy
import rosservice
@chikuta
chikuta / tox.ini
Last active August 29, 2015 14:22
[tox]
envlist = py27
[testenv]
deps =
-rrequirements.txt
coverage
pytest
pytest-cache
pytest-cov
#!-*- coding: utf-8 -*-
# python libraries
import threading
from Queue import Queue
class ThreadTemplate(threading.Thread):
def __init__(self):
super(ThreadTemplate, self).__init__()
defbce "on"
attrcolor b "^["
term xterm-256color
defscrollback 10000
altscreen on
vbell off
autodetach on
shell zsh
startup_message off
logfile "$HOME/.screen/screen-%Y%m%d-%n.log"
#!/bin/bash
DIR=`dirname $0`
SRC_DIR=source
pushd ${DIR}/${SRC_DIR}
find . -name "*.md" | sed -e 's/^.*\///' -e 's/\.md$//' | xargs -i pandoc -f markdown -t rst -o {}.rst {}.md
popd
/**
* @file
* @brief
* @author
* @version 1.0, 20xx/xx/xx
*/