This file contains 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
以下で適当なディレクトリ生成 | |
このようなディレクトリの場合のみ乱れるようです | |
1~10やAtoZだけだと正しく表示されました | |
#!/opt/local/bin/zsh | |
atoZ=('a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' 'l' 'm' 'n' 'o' 'p' 'q' 'r' 's' 't' 'u' 'v' 'w' 'x' 'y' 'z') |
This file contains 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
<?php | |
App::uses('Controller', 'Controller'); | |
class AppController extends Controller { | |
} | |
上記のようなPHPファイルにて | |
App::usesを追記しようとした際 | |
Appからコロンを2つ入力すると |
This file contains 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
Logs | |
../vim -u unix.vim -U NONE --noplugin -s dotest.in test92.in | |
# For flaky tests retry one time. | |
# Check if the test.out file matches test.ok. | |
7c7 | |
< normal! 014| | |
--- | |
> normal! 016| | |
21,22c21,22 | |
< exe 'normal! ' . s:c . '|zs' . 14 . '|' |
This file contains 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
// http://judge.u-aizu.ac.jp/onlinejudge/lesson.jsp?id=ALDS1# | |
// 問題:3-B | |
#include<stdio.h> | |
#include<stdlib.h> | |
#define MAX_SIZE 100 | |
int stack[MAX_SIZE]; | |
int stack_pointer = 0; |
This file contains 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
#include<stdio.h> | |
#include<string.h> | |
#define MAX_MEM_SIZE 30000 | |
int evalInstruction(char*, int, char**); | |
char* strrnchr(char*, int, char); | |
int main(void) { |
This file contains 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
let s:stored_session_filename = tempname() | |
" 初期化 | |
function! s:initialize() | |
" 現在のセッションを保存 | |
execute 'mksession!' s:stored_session_filename | |
call writefile(['set bg='.&bg, 'colorscheme ' . g:colors_name], s:stored_session_filename . 'x.vim') | |
" windowを作成 | |
execute 'silent! split moppbuf' |
This file contains 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
function <SNR>54_ClangCompleteInit..<SNR>54_initClangCompletePython の処理中にエラーが検出されました: | |
行 13: | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/Users/mopp/.vim/bundle/clang_complete/plugin/libclang.py", line 1, in <module> | |
from clang.cindex import * | |
File "/Users/mopp/.vim/bundle/clang_complete/plugin/clang/cindex.py", line 65, in <module> | |
from ctypes import * | |
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 10, in <module> | |
from _ctypes import Union, Structure, Array |
This file contains 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
function! g:vimconsole#hooks.on_logged(context) | |
echomsg string(a:context) | |
endfunction | |
function! s:tester(i) | |
call vimconsole#log('This message is test '.a:i) | |
endfunction | |
This file contains 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
function! g:vimconsole#hooks.on_logged(context) | |
call vimconsole#winopen() | |
" echomsg string(a:context) | |
endfunction | |
function! s:tester(i) | |
call vimconsole#log('This message is test '.a:i) | |
endfunction |
This file contains 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 nocompatible | |
set number | |
set laststatus=2 | |
set statusline=%<%F\ %m%r%h%w%y%{'['.(&fenc!=''?&fenc:&enc).']['.&fileformat.']'}%=%l/%L,%c%V%8P | |
set cmdheight=2 " コマンドラインの行数 | |
set showcmd " 入力中のコマンド表示 | |
set showmatch " 括弧強調 | |
set showtabline=2 " タブバーを常に表示 | |
set backspace=2 " Backspaceの動作 |
OlderNewer