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
=== modified file 'src/ChangeLog' | |
--- src/ChangeLog 2013-10-20 09:55:25 +0000 | |
+++ src/ChangeLog 2013-10-20 16:47:42 +0000 | |
@@ -1,5 +1,8 @@ | |
2013-10-20 Jan Djärv <[email protected]> | |
+ * emacs.c (main): On Cocoa, if GUI session and 0 is not a tty, | |
+ chdir to HOME (bug#15607). | |
+ | |
* nsterm.m (Qcocoa, Qgnustep): New variables. |
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
$ cat n.txt | |
① | |
② | |
☀ | |
$ uniq n.txt | |
① | |
$ sort n.txt | |
① | |
② | |
☀ |
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
To: [email protected] | |
Subject: tdiary/tdiary-core@f660493 [cache-namespace] fix release task: remove | |
obsoleted groups | |
From: SHIBATA Hiroshi <[email protected]> | |
X-Git-Author: SHIBATA Hiroshi | |
X-Git-Revision: f660493a06cea38aad9c39a1ec922274af9c71f9 | |
X-Git-Repository: XXX | |
X-Git-Commit-Id: f660493a06cea38aad9c39a1ec922274af9c71f9 | |
Message-ID: <[email protected]> | |
X-Mailer: GitCommitMailer 1.0.0; https://github.com/clear-code/git-utils |
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 | |
replace_chars = {} | |
(0...0x20).each do |n| | |
replace_chars[n.chr] = (0x2400 + n).chr("utf-8") | |
end | |
#replace_chars[" "] = "\u{2423}" | |
while xml = ARGF.gets(">") | |
print xml.gsub(/[\x00-\x1F&&[^\t\r\n]]/, replace_chars) |
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 sax-example.rb | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2] | |
Nokogiri::VERSION = 1.6.0 | |
Nokogiri::LIBXML_VERSION = 2.8.0 | |
[:start_document] | |
[:start_element_namespace, "root", [], nil, nil, []] | |
[:characters, "\n "] | |
[:start_element_namespace, "foo", [], nil, nil, []] | |
[:characters, "foo"] | |
[:cdata_block, "cdata!\n<foo><bar>\n"] |
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 tameshi-giri.rb | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin11.4.2] | |
Nokogiri::VERSION = 1.6.0 | |
Nokogiri::LIBXML_VERSION = 2.8.0 | |
"value" | |
"http://example.com/" | |
% ruby tameshi-giri.rb | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] |
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 -v setrlimit.rb | |
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux] | |
setrlimit.rb:14: warning: assigned but unused variable - s | |
Process::RLIMIT_RSS = 5 | |
Process.getrlimit(Process::RLIMIT_RSS) => [18446744073709551615, 18446744073709551615] | |
Process::RLIMIT_AS = 9 | |
Process.getrlimit(Process::RLIMIT_AS) => [18446744073709551615, 18446744073709551615] | |
core file size (blocks, -c) 0 | |
data seg size (kbytes, -d) unlimited | |
scheduling priority (-e) 0 |
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
% RAILS_ENV=test rails c | |
Loading test environment (Rails 4.0.0) | |
irb(main):001:0> DatabaseCleaner.strategy = :truncation | |
=> :truncation | |
irb(main):002:0> DatabaseCleaner.clean | |
NameError: undefined local variable or method `postgresql_version' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007fb69ce84fe0> | |
from /Users/kazu/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/database_cleaner-1.1.1/lib/database_cleaner/active_record/truncation.rb:123:in `db_version' | |
from /Users/kazu/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/database_cleaner-1.1.1/lib/database_cleaner/active_record/truncation.rb:131:in `restart_identity' | |
from /Users/kazu/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/database_cleaner-1.1.1/lib/database_cleaner/active_record/truncation.rb:140:in `truncate_tables' | |
from /Users/kazu/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/database_cleaner-1.1.1/lib/database_cleaner/active_record/truncation.rb:234:in `block in clean' |
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
Gems included by the bundle: | |
* actionmailer (3.2.14) | |
* actionpack (3.2.14) | |
* activemodel (3.2.14) | |
* activerecord (3.2.14) | |
* activeresource (3.2.14) | |
* activesupport (3.2.14) | |
* arel (3.0.2) | |
* bcrypt-ruby (3.1.2) | |
* builder (3.0.4) |
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
% cat /usr/share/doc/ure/README.Debian.gz | |
cat: /usr/share/doc/ure/README.Debian.gz: シンボリックリンクの階層が多すぎます | |
zsh: exit 1 cat /usr/share/doc/ure/README.Debian.gz | |
% ll /usr/share/doc/ure{,/*.gz} | |
lrwxrwxrwx 1 root root 9 9月 13 2011 /usr/share/doc/ure -> uno-libs3/ | |
lrwxrwxrwx 1 root root 23 1月 25 2013 /usr/share/doc/ure/README.Debian.gz -> ../ure/README.Debian.gz | |
lrwxrwxrwx 1 root root 26 1月 25 2013 /usr/share/doc/ure/changelog.Debian.gz -> ../ure/changelog.Debian.gz | |
% dpkg -l ure | grep '^ii' | |
ii ure 3.5.7-0ubuntu4 LibreOffice UNO runtime environment | |
% lsb_release -a |