Created
July 24, 2012 23:43
-
-
Save kejadlen/3173447 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
if $cygwin; then | |
alias pbpaste=/home/alphach/bin/pbpaste.cmd | |
alias pbcopy=/home/alphach/bin/pbcopy.cmd | |
fi |
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
@ruby "c:/Documents and Settings/alphach.redmond/bin/pbcopy.rb" |
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 | |
require 'win32/clipboard' | |
Win32::Clipboard.set_data(ARGF.read) |
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
@ruby "c:/Documents and Settings/alphach.redmond/bin/pbpaste.rb" |
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 | |
require 'win32/clipboard' | |
puts Win32::Clipboard.data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment