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
perl -ane 'BEGIN { $\="," } print $F[2] unless /^$/' /tmp/hoge.txt |
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
ls | perl -MFile::Copy -ne 'chomp $_; copy("/Users/poppen/repos/vimperator-plugins/trunk/$_", "$_"); print $_, "\n"' |
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
sed -n '3,$p' hoge.csv | nkf -Sw | perl -F, -anle '{print "$F[3],$F[5]"}' |
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
rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}-%{RELEASE}\\n|sort|grep el5.rf | perl -F'-' -ane '{chmod $_; @l = @F[0,-5]; $s = join("-",@l); $s =~ s/\-$//; print $s, "\n" }' |
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
rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}-%{RELEASE}\\n|sort|grep el5.rf | perl -F'-' -ane '{chmod $_; @l = @F[0,-5]; $s = join("-",@l); $s =~ s/\-$//; system "yumdownloader --destdir /var/tmp $s" }' |
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
rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}-%{RELEASE}\\n|sort|grep el5.rf | perl -ne '{chomp $_; $_ =~ /^(.*?)\-[0-9]/; system "sudo yum remove $1" }' |
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
program hello | |
print *, 'Hello World!' | |
end program hello |
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/env perl | |
use strict; | |
use warnings; | |
use 5.012; | |
use Config::Pit; | |
use LWP::Simple; | |
use XML::Simple; | |
use URI::Escape; |
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
Index: trunk/twissr.js | |
=================================================================== | |
--- trunk/twissr.js (revision 38395) | |
+++ trunk/twissr.js (working copy) | |
@@ -1,5 +1,5 @@ | |
// Vimperator plugin: "Update Twitter & Wassr" | |
-// Last Change: 20-Oct-2008. Jan 2008 | |
+// Last Change: 01-Sep-2010. Jan 2008 | |
// License: Public domain | |
// Maintainer: mattn <[email protected]> - http://mattn.kaoriya.net/ |
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
--- i18n.rb.orig 2010-09-10 10:06:32.000000000 +0900 | |
+++ i18n.rb 2010-09-10 10:07:16.000000000 +0900 | |
@@ -14,35 +14,35 @@ | |
# Gets the supported locales. | |
def supported_locales | |
- Locale.app_language_tags | |
+ ::Locale.app_language_tags | |
end | |