Skip to content

Instantly share code, notes, and snippets.

View tksmiura's full-sized avatar

T MIURA tksmiura

  • Japan
View GitHub Profile
@tksmiura
tksmiura / ctrl.reg
Last active September 2, 2018 07:03
ctrl.reg(RCTRL<->CAPLOCK)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,e0,3a,00,3a,00,1d,e0,00,00,00,00
@tksmiura
tksmiura / .emacs
Last active March 17, 2024 11:53
dot_emacs_mac
(save-place-mode 1)
(add-hook 'before-save-hook 'delete-trailing-whitespace)
; menu-bar off
;(tool-bar-mode 0)
(menu-bar-mode 0)
; package
(require 'package)
@tksmiura
tksmiura / .bashrc
Created September 2, 2018 03:55
bashrc_mac
alias e='emacs'
alias ql='qlmanage -p "$@" >& /dev/null'
alias ls='ls -GF'
export LSCOLORS=gxdxcxbxfxegedabagacad
#export PS1="[mac:\W]$ "
#export PS1="\[\e[0;37m\][mac:\w]\$\[\e[0m\] "
export PS1="\[\e[0;32m\][mac:\w]\$\[\e[0m\] "
@tksmiura
tksmiura / 004_flowchart.md
Last active January 6, 2018 08:43
Create flowchart from comment

Create flowchart from comment

simple trace chart using plantuml

Simple unit test for C langage

Aim

  • easy to test, such as 'make test'
  • easy make test code

Usage

  • Add test function named 'test0nn' to 'ut_main.c'.