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
https://drupal.stackexchange.com/questions/145690/untrusted-host-localhost-in/145994#145994 |
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
" Sample .vimrc file by Martin Brochhaus | |
" Presented at PyCon APAC 2012 | |
" ============================================ | |
" Note to myself: | |
" DO NOT USE <C-z> FOR SAVING WHEN PRESENTING! | |
" ============================================ | |
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! python#SaveAndExecutePython() | |
" SOURCE [reusable window]: https://github.com/fatih/vim-go/blob/master/autoload/go/ui.vim | |
" save and reload the current file | |
silent execute "update | edit" | |
" get file path of current file | |
let s:current_buffer_file_path = expand("%") | |
let s:output_buffer_name = "Python" |
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
[ | |
'{{repeat(5, 5)}}', | |
{ | |
friends: [ | |
'{{repeat(10)}}', | |
{ | |
id: '{{index()}}', | |
name: '{{firstName()}} {{surname()}}' | |
} |
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 g:lightline = { | |
\ 'colorscheme': 'seoul256', | |
\ 'mode_map': {'c': 'NORMAL'}, | |
\ 'active': { | |
\ 'right': [ [ 'syntastic', 'lineinfo' ], | |
\ [ 'percent' ], [ 'winform' ], | |
\ [ 'fileformat', 'fileencoding', 'filetype' ] ], | |
\ 'left': [ [ 'mode', 'paste' ], [ 'fugitive', 'branch', 'filename' ] ] | |
\ }, | |
\ 'component_function': { |
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
" Supprimer tous les ^M (carriage return) en fin de ligne | |
:%s/\r\(\n\)/\1/g | |
" Simple re-format for minified Javascript | |
command! UnMinify call UnMinify() | |
function! UnMinify() | |
%s/{\ze[^\r\n]/{\r/g | |
%s/){/) {/g | |
%s/};\?\ze[^\r\n]/\0\r/g | |
%s/;\ze[^\r\n]/;\r/g |
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
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common | |
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev | |
#Optional: so vim can be uninstalled again via `dpkg -r vim` | |
sudo apt-get install checkinstall | |
sudo rm -rf /usr/local/share/vim /usr/bin/vim | |
cd ~ |
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
https://github.com/bluewww/emacs-dotfiles | |
https://github.com/EdwardJRoss/dotfiles | |
https://github.com/PinkFLoyd92/Emacs | |
https://github.com/tim-millar/emacs.d | |
https://github.com/dieggsy/dotfiles | |
https://github.com/Grimscythe1983/.emacs.d | |
https://github.com/xeals/emacs.d | |
https://github.com/jgkamat/dotfiles | |
https://github.com/wpcarro/dotfiles/ | |
https://github.com/InspectorMustache/Dotdotdotfiles |
OlderNewer