small changes, disabled 'ale' linter

This commit is contained in:
2017-07-11 15:51:34 +02:00
parent 2196a3f984
commit 2eb45b9126
3 changed files with 13 additions and 10 deletions

View File

@@ -1,6 +1,8 @@
dl /Users/michi/Downloads
root /Users/michi
active ~/Documents/workspace_active
archive ~/Documents/workspace_archive
dl ~/Downloads
dotfiles ~/dotfiles
Downloads ~/Downloads
private ~/Documents/workspace_private
root ~/
active /Users/michi/Documents/workspace_active
archive /Users/michi/Documents/workspace_archive
private /Users/michi/Documents/workspace_private

View File

@@ -1,10 +1,11 @@
#!/usr/bin/env ruby
def generate_code(length)
charset = (('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a) - %w{1 2 5 S Z l o O 0}
charset = (('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a) - %w[1 2 5 S Z l o O 0]
Array.new(length) { charset.sample }.join
end
10.times {puts generate_code(10)}
10.times {puts generate_code(20)}
10.times {puts generate_code(30)}
10.times { puts generate_code(10) }
10.times { puts generate_code(20) }
10.times { puts generate_code(30) }
1.times { puts generate_code(265) }

2
vimrc
View File

@@ -43,7 +43,7 @@ Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" Plugin 'vim-ruby/vim-ruby'
" Plugin 'vim-scripts/tComment'
Plugin 'w0rp/ale'
" Plugin 'w0rp/ale'
" All of your Plugins must be added before the following line
call vundle#end() " required