This file contains 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
require "#{ENV["TM_SUPPORT_PATH"]}/lib/scriptmate" | |
class NodeScript < UserScript | |
def lang; "JavaScript" end | |
def default_extension; ".js" end | |
def args | |
[] | |
end | |
def executable; @hashbang || ENV['TM_NODE'] || 'node' end | |
def version_string |
This file contains 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/ruby | |
if ARGV.length != 1 | |
puts "usage: git2svn <file_name>" | |
puts " file_name - git patch file name" | |
exit | |
end | |
separator = "\n===================================================================\n" | |
new_file = false |