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
$ env LANG='' ruby -e "puts File.read('foo.txt').encoding" | |
US-ASCII | |
$ env LANG='en_CA.UTF-8' ruby -e "puts File.read('foo.txt').encoding" | |
UTF-8 |
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
<format> | |
<puid>x-fmt/4</puid> | |
<name>Write for Windows Document</name> | |
<version>3.1</version> | |
<alias /> | |
<pronom_id>14</pronom_id> | |
<extension>wri</extension> | |
<signature> | |
<name>Write for Windows Document 3.1</name> | |
<note>File Information Block: wident=0xBE32; DocumentType=0x0000 ;wTool=0xAB00; pnMac at offset 96 is the number of 128 byte blocks in entire file in Windows Write and always 0 in similar MS Word for DOS.</note> |
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
def foo arg | |
"foo" + arg | |
end | |
def bar | |
"bar" | |
end | |
def foo bar | |
"Something totally different!" |
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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import sys | |
import upsidedown | |
if len(sys.argv) != 3: | |
tables = [u'┻━┻', u'┻━┻'] |
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 python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import sys | |
import upsidedown | |
if len(sys.argv) < 2: | |
table = u'┻━┻' |
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
diff --git a/Makefile.in b/Makefile.in | |
index f9f1d1d..b403e46 100644 | |
--- a/Makefile.in | |
+++ b/Makefile.in | |
@@ -1,4 +1,4 @@ | |
-# Makefile.in generated by automake 1.14 from Makefile.am. | |
+# Makefile.in generated by automake 1.14.1 from Makefile.am. | |
# @configure_input@ | |
# Copyright (C) 1994-2013 Free Software Foundation, Inc. |
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
require "formula" | |
class AppleGdb < Formula | |
homepage "http://opensource.apple.com/" | |
url "http://opensource.apple.com/tarballs/gdb/gdb-2831.tar.gz" | |
sha1 "20f5077dd70fe72e08934ade48d85ed070861a88" | |
def install | |
cd "src" do | |
system "./configure", "--prefix=#{prefix}", |
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
Index: nethack/src/dialog.c | |
=================================================================== | |
--- nethack/src/dialog.c (revision e389814404adba27eaf9312d711cc7e8d3248650) | |
+++ nethack/src/dialog.c (revision 8771d1b602666bf76b6b47ddf95487b648e78d93) | |
@@ -215,5 +215,9 @@ | |
{ | |
int key; | |
- char prompt[strlen(query) + strlen(resp) + 8]; | |
+ /* | |
+ * "query [resp] (y) \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
Index: aimake | |
=================================================================== | |
--- aimake (revision f7398705b8dfb758f58d64b769352a6488f99ec6) | |
+++ aimake (revision 04b98cb1c8d1dc0786ed2d3fbecf87f32a7dea3f) | |
@@ -269,4 +269,12 @@ | |
=back | |
+=item B<--override-directory> I<key>=F<location> | |
+ | |
+Change the directory for a specific value of the C<install_dir> option of an |
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
Index: configure | |
=================================================================== | |
--- configure (revision 1304) | |
+++ configure (revision 1307) | |
@@ -1652,6 +1652,97 @@ | |
} # ac_fn_c_try_cpp | |
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
+# ------------------------------------------------------- |