This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Joke! | |
if has('cryptv') | |
function! s:destroy_file(has_bang) abort | |
if !filereadable(expand('%:p')) | |
echoerr 'Current buffer is not write out to file' | |
return | |
endif | |
if !a:has_bang | |
echoerr "Must to add '!' to destroy this file" | |
return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf-8 | |
scriptencoding utf-8 | |
if has('vim_starting') | |
set rtp+=~/.vim/bundle/neobundle.vim | |
endif | |
call neobundle#begin() | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
let g:neobundle#default_options = {'_': {'verbose': 1}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -type d -name '.git' -prune -o -type f -exec chmod 644 {} \; | |
find . -type d -name '.git' -prune -o -type d -exec chmod 755 {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scriptencoding utf-8 | |
" オーソドックスなctrlp.vimのエクステンションのテンプレート | |
let s:save_cpo = &cpo | |
set cpo&vim | |
if exists('g:loaded_ctrlp_template01') && g:loaded_ctrlp_template01 | |
finish | |
endif | |
let g:loaded_ctrlp_template01 = 1 | |
let s:ctrlp_builtins = ctrlp#getvar('g:ctrlp_builtins') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
git clone https://github.com/vim/vim.git | |
cd vim | |
git clone https://github.com/koron/vim-kaoriya-patches.git | |
git apply --check vim-kaoriya-patches/master/*.diff | |
git apply vim-kaoriya-patches/master/*.diff | |
cd src | |
set LUA_PATH=C:\CommonUtil\lua | |
set LUA_VERSION=5.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has('vim_starting') | |
set rtp+=~/.vim/bundle/neobundle.vim | |
endif | |
call neobundle#begin() | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
NeoBundleLazy 'losingkeys/vim-niji', { | |
\ 'autoload': { | |
\ 'filetypes': ['lisp', 'scheme'] | |
\ } | |
\} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @brief Template C-source file | |
* | |
* This is a template C-source file | |
* @author koturn | |
* @date 2015 12/06 | |
* @file a.c | |
* @version 0.1 | |
*/ | |
#include <stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @brief OpenCV Library linker for MSVC | |
* @author koturn | |
* @file cvpragmalink.h | |
* @version 1.0 | |
*/ | |
#if defined(_MSC_VER) && !defined(CV_PRAGMA_LINK) | |
#define CV_PRAGMA_LINK | |
#include <opencv2/core/version.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not exist "vim-kaoriya-patches" ( | |
git clone https://github.com/koron/vim-kaoriya-patches.git | |
) | |
git apply --check vim-kaoriya-patches/master/*.diff | |
git apply vim-kaoriya-patches/master/*.diff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @file shell.c | |
* @brief 簡易シェル実装 | |
*/ | |
#include <signal.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fcntl.h> |