Created
March 12, 2012 08:27
-
-
Save hnagato/2020716 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
find . -type d -depth 1 ! -name gists | | |
parallel -k -j 1000% 'cd {}; echo \[{}\]; git st --short' |
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
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'pathname' | |
Dir.chdir File.dirname(__FILE__) do | |
Pathname.glob '*' do |dir| | |
next unless dir.directory? | |
Dir.chdir dir do | |
puts <<-EOF.gsub(/^\s*/, '') | |
-------------------- | |
-- #{dir} | |
-------------------- | |
EOF | |
system 'git pull origin master --quiet' | |
system 'git status --short' | |
end | |
end | |
end | |
system "brew update" | |
system "nodebrew selfupdate" | |
system "vim -c 'Unite neobundle/install:!'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment