Skip to content

Instantly share code, notes, and snippets.

@hnagato
Created March 12, 2012 08:27
Show Gist options
  • Save hnagato/2020716 to your computer and use it in GitHub Desktop.
Save hnagato/2020716 to your computer and use it in GitHub Desktop.
#!/bin/bash
find . -type d -depth 1 ! -name gists |
parallel -k -j 1000% 'cd {}; echo \[{}\]; git st --short'
#!/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