Skip to content

Instantly share code, notes, and snippets.

function! neocomplete#sources#php#helper#get_internal_function_list() " {{{
" 省略
try
let l:code = '$functions = get_defined_functions();'
- let l:code .= 'echo json_encode($functions["internal"]);'
+ let l:code .= 'echo json_encode($functions[\"internal\"]);'
- let l:cmd = 'php -r ''' . l:code . ''''
+ let l:cmd = 'php -r "' . l:code . '"'
let l:function_list = eval(system(l:cmd))
@gakushi0130
gakushi0130 / VirtualBox共有ファイルパーミッション設定
Created October 10, 2013 01:11
VirtualBox共有ファイルパーミッション設定
VirtualBoxで共有ファイルを作るとパーミッションが
ユーザー root グループ root
パーミッション rwxrwxrwxになるのを変更
rc.localでマウントするときに以下の内容でマウントするようにする。
uid gidはidコマンドで調べること。
$ vim /etc/rc.local
mount -t vboxsf -o uid=0,gid=0,dmode=0755,fmode=0644 html /var/www/html