Skip to content

Instantly share code, notes, and snippets.

View shouP's full-sized avatar

Shota Izumi shouP

  • Japan, Saitama
View GitHub Profile
@shouP
shouP / make_plantuml_sequence_diagram_from_log.md
Last active September 8, 2017 02:36
Make plantuml sequence from log file

Make plantuml sequence from log file

Enter/Leave形式のログをplantumlのシーケンスに変換するperlの実験プログラム.

動かし方

  1. module.cpp のような、関数入り口で[Enter], 関数出口で[Leave]を吐くログを用意する。
  2. ログファイルを ./make_sequence.pl に入力する。
@shouP
shouP / howto.md
Created August 29, 2017 15:00
How to run gnuplot on WSL

install Xming to Windows system

Get installer from here Install it then launch.

setup WSL side

# install X11 applications.
sudo apt-get install x11-apps x11-utils x11-xserver-utils
@shouP
shouP / how-to-install-latest-gcc-on-ubuntu-lts.txt
Created August 11, 2017 05:58 — forked from application2000/how-to-install-latest-gcc-on-ubuntu-lts.txt
How to install latest gcc on Ubuntu LTS (12.04, 14.04, 16.04)
These commands are based on a askubuntu answer http://askubuntu.com/a/581497
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below.
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING.
ABSOLUTELY NO WARRANTY.
If you are still reading let's carry on with the code.
sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \