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
| git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
| echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
| export RBENV_PLUGINS="$HOME/.rbenv/plugins" | |
| git clone git://github.com/sstephenson/rbenv-vars.git ${RBENV_PLUGINS}/rbenv-vars | |
| git clone git://github.com/sstephenson/ruby-build.git ${RBENV_PLUGINS}/ruby-build | |
| git clone git://github.com/sstephenson/rbenv-default-gems.git ${RBENV_PLUGINS}/rbenv-default-gems | |
| git clone git://github.com/fesplugas/rbenv-installer.git ${RBENV_PLUGINS}/rbenv-installer |
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
| [opcache] | |
| ; Determines if Zend OPCache is enabled | |
| ;opcache.enable=0 | |
| opcache.enable=1 | |
| ; Determines if Zend OPCache is enabled for the CLI version of PHP | |
| ;opcache.enable_cli=0 | |
| opcache.enable_cli=1 | |
| ; The OPcache shared memory storage size. |
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
| def renderActionInOtherController(controller,action,params) | |
| c = controller.new | |
| c.params = params | |
| c.dispatch(action, request) | |
| c.response.body | |
| end |
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
| function! s:FixHash(line1,line2) | |
| let l:save_cursor = getpos(".") | |
| silent! execute ':' . a:line1 . ',' . a:line2 . 's/\%(''\|:\)\([a-zA-Z0-9_]\+\)\%(\s*=>\|''\s*=>\|'':\)/\1:/g' | |
| call setpos('.', l:save_cursor) | |
| endfunction | |
| command! -range=% FixHash call <SID>FixHash(<line1>,<line2>) |
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
| Section "Device" | |
| Identifier "Intel Graphics" | |
| Driver "intel" | |
| Option "AccelMethod" "glamor" | |
| Option "DRI" "3" | |
| Option "TearFree" "true" | |
| Option "SwapbuffersWait" "true" | |
| EndSection |
OlderNewer