update vim

This commit is contained in:
christalib 2019-07-10 08:44:27 +02:00
parent ee0af7571e
commit 6e0d48c93a
2 changed files with 8 additions and 1 deletions

View file

@ -4,7 +4,8 @@ require 'nokogiri'
require 'open-uri'
puts 'what to crawl'
url = gets.chomp
# url = gets.chomp
url = 'http://boards.4chan.org/d/thread/8571429'
url = url.open
result = URI.extract(url).select { |a| a[/\.(?:gif|png|jpg|jpeg)\b/] }

6
update_path.sh Normal file
View file

@ -0,0 +1,6 @@
cd ~/.vim/bundle
for i in `ls`; do
cd "$i"
git pull
cd ..
done