Couldn't find the text of this for a while...
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 | |
| import random | |
| for i in range(0, 100): | |
| if not i % 15: | |
| random.seed(1178741599) | |
| print [i+1, "Fizz", "Buzz", "FizzBuzz"][random.randint(0,3)] |
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 'optparse' | |
| require 'minitest/autorun' | |
| class Chatty | |
| attr_reader :args |
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 'minitest/autorun' | |
| class HashEquality | |
| attr_reader :options | |
| def initialize(opts={}) | |
| @options = opts | |
| end |
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
| <noscript> | |
| Your browser does not have | |
| <a href="help/help_javascript.asp" | |
| target="popuphelp" | |
| onclick="wopen('help/help_javascript.asp', 400, 460); return false;" | |
| onkeypress="wopen('help/help_javascript.asp', 400, 460); return false;" | |
| title ="JavaScript info (launches new window)">JavaScript | |
| </a> enabled. | |
| </noscript> |
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
| hplogsdon@deb-7-build-01:~/src/debian-installer/installer/build$ make reallyclean | |
| rm -f ./stamps/tree-unpack-cdrom_isolinux-stamp ./stamps/tree-cdrom_isolinux-stamp ./stamps/extra-cdrom_isolinux-stamp ./stamps/get_udebs-cdrom_isolinux-stamp | |
| rm -f ./tmp/cdrom_isolinux/diskusage.txt | |
| rm -f ./tmp/cdrom_isolinux/all.utf | |
| rm -f ./tmp/cdrom_isolinux/unifont.bdf ./tmp/cdrom_isolinux/tree/lib/unifont.bgf | |
| rm -f pkg-lists/standard-udebs pkg-lists/kernel-module-udebs | |
| rm -rf ./dest/cdrom/initrd.gz ./dest/cdrom/vmlinuz ./dest/cdrom/debian-cd_info.tar.gz | |
| rm -rf ./tmp/cdrom_isolinux | |
| rm -f ./stamps/tree-unpack-cdrom_gtk-stamp ./stamps/tree-cdrom_gtk-stamp ./stamps/extra-cdrom_gtk-stamp ./stamps/get_udebs-cdrom_gtk-stamp | |
| rm -f ./tmp/cdrom_gtk/diskusage.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
| # A super basic color output formatter for MiniTest in 1.9.3 | |
| class ColorReporter | |
| attr_reader :io | |
| def initialize io, opts={} | |
| @io = io | |
| @opts = opts | |
| end | |
| def print o | |
| case o | |
| when '.' |
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 -ru a/test/ruby/test_float.rb b/test/ruby/test_float.rb | |
| --- a/test/ruby/test_float.rb 2011-12-10 05:17:27.000000000 -0700 | |
| +++ b/test/ruby/test_float.rb 2013-11-23 08:27:39.000000000 -0700 | |
| @@ -171,4 +171,16 @@ | |
| assert_raise(ArgumentError) { 1.0 < nil } | |
| assert_raise(ArgumentError) { 1.0 <= nil } | |
| end | |
| + | |
| + def test_long_string | |
| + assert_normal_exit(<<-'end;') |
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 -ru a/source/test/ruby/test_float.rb b/source/test/ruby/test_float.rb | |
| --- a/source/test/ruby/test_float.rb 2012-02-19 07:09:11.000000000 -0700 | |
| +++ b/source/test/ruby/test_float.rb 2013-11-25 11:51:15.000000000 -0700 | |
| @@ -171,4 +171,16 @@ | |
| assert_raise(ArgumentError) { 1.0 < nil } | |
| assert_raise(ArgumentError) { 1.0 <= nil } | |
| end | |
| + | |
| + def test_long_string | |
| + assert_normal_exit(<<-'end;') |