update vim
This commit is contained in:
parent
ee0af7571e
commit
6e0d48c93a
|
@ -4,7 +4,8 @@ require 'nokogiri'
|
||||||
require 'open-uri'
|
require 'open-uri'
|
||||||
|
|
||||||
puts 'what to crawl'
|
puts 'what to crawl'
|
||||||
url = gets.chomp
|
# url = gets.chomp
|
||||||
|
url = 'http://boards.4chan.org/d/thread/8571429'
|
||||||
|
|
||||||
url = url.open
|
url = url.open
|
||||||
result = URI.extract(url).select { |a| a[/\.(?:gif|png|jpg|jpeg)\b/] }
|
result = URI.extract(url).select { |a| a[/\.(?:gif|png|jpg|jpeg)\b/] }
|
||||||
|
|
6
update_path.sh
Normal file
6
update_path.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
cd ~/.vim/bundle
|
||||||
|
for i in `ls`; do
|
||||||
|
cd "$i"
|
||||||
|
git pull
|
||||||
|
cd ..
|
||||||
|
done
|
Loading…
Reference in a new issue