roebe 0.5.191
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +5868 -0
- data/bin/blinking_cursor +7 -0
- data/bin/browser +7 -0
- data/bin/colourized_tokenitor1 +7 -0
- data/bin/colourized_tokenitor2 +7 -0
- data/bin/colourized_tokenitor3 +7 -0
- data/bin/colourized_tokenitor4 +7 -0
- data/bin/colourized_tokenitor5 +7 -0
- data/bin/compare_these_two_directories +7 -0
- data/bin/create_file_skeleton +7 -0
- data/bin/create_my_directories +7 -0
- data/bin/create_wpa_supplicant_build_file +7 -0
- data/bin/create_zip +7 -0
- data/bin/custom_invoke +28 -0
- data/bin/delete_empty_files +7 -0
- data/bin/display_gcc_version +7 -0
- data/bin/do_a_google_search +7 -0
- data/bin/extract_gem_file +7 -0
- data/bin/fragment_maker +7 -0
- data/bin/generate_fstab_file +7 -0
- data/bin/handle_xorg_related_boot_phase +7 -0
- data/bin/hello_world +7 -0
- data/bin/in +7 -0
- data/bin/increment_application_version +7 -0
- data/bin/increment_application_version_then_push_the_gem +13 -0
- data/bin/install_all_registered_fonts +7 -0
- data/bin/install_jruby_addons +7 -0
- data/bin/install_my_addons +97 -0
- data/bin/install_my_addons.rb +97 -0
- data/bin/interactive_file_creator +7 -0
- data/bin/java_compile_statically +11 -0
- data/bin/kill_firefox +7 -0
- data/bin/kill_palemoon +7 -0
- data/bin/konsole_title +7 -0
- data/bin/larrow +7 -0
- data/bin/log10 +7 -0
- data/bin/menugenerator +7 -0
- data/bin/modify_shebang_header +7 -0
- data/bin/openpdf1 +7 -0
- data/bin/openpdf2 +7 -0
- data/bin/openpdf3 +7 -0
- data/bin/openpdf4 +7 -0
- data/bin/openpdf5 +7 -0
- data/bin/openpdf6 +7 -0
- data/bin/openpdf7 +7 -0
- data/bin/openpdf8 +7 -0
- data/bin/openpdf9 +7 -0
- data/bin/passwords +7 -0
- data/bin/path_generator +7 -0
- data/bin/print_this_unicode_symbol +7 -0
- data/bin/quick_colour_test +13 -0
- data/bin/rarrow +7 -0
- data/bin/rdate +7 -0
- data/bin/remove_this_substring_from_all_files +7 -0
- data/bin/replace_space_with_underscore +7 -0
- data/bin/rfirefox +7 -0
- data/bin/rinstall2 +7 -0
- data/bin/roebe +7 -0
- data/bin/roebe_documentation +7 -0
- data/bin/roebeshell +11 -0
- data/bin/ruby_cat +7 -0
- data/bin/ruby_dhcpcd +7 -0
- data/bin/run +7 -0
- data/bin/rxinitrc +7 -0
- data/bin/set_alias_1 +7 -0
- data/bin/set_alias_10 +7 -0
- data/bin/set_alias_11 +7 -0
- data/bin/set_alias_12 +7 -0
- data/bin/set_alias_13 +7 -0
- data/bin/set_alias_14 +7 -0
- data/bin/set_alias_15 +7 -0
- data/bin/set_alias_2 +7 -0
- data/bin/set_alias_3 +7 -0
- data/bin/set_alias_4 +7 -0
- data/bin/set_alias_5 +7 -0
- data/bin/set_alias_6 +7 -0
- data/bin/set_alias_7 +7 -0
- data/bin/set_alias_8 +7 -0
- data/bin/set_alias_9 +7 -0
- data/bin/set_browser +7 -0
- data/bin/setpdf1 +7 -0
- data/bin/setpdf2 +7 -0
- data/bin/setpdf3 +7 -0
- data/bin/setpdf4 +7 -0
- data/bin/setpdf5 +7 -0
- data/bin/setpdf6 +7 -0
- data/bin/setpdf7 +7 -0
- data/bin/setpdf8 +7 -0
- data/bin/setpdf9 +7 -0
- data/bin/show_available_users +7 -0
- data/bin/show_ten_aliases +7 -0
- data/bin/simple_extractor +9 -0
- data/bin/start_lighty +7 -0
- data/bin/symlink_directories_from_that_directory_to_the_current_directory +7 -0
- data/bin/symlink_everything_from_that_directory_to_this_directory +7 -0
- data/bin/symlink_files_from_that_directory_to_the_current_directory +7 -0
- data/bin/take_screenshot +7 -0
- data/bin/to_binary +7 -0
- data/bin/tokenitor +7 -0
- data/bin/vim_paradise +7 -0
- data/bin/wlan +7 -0
- data/bin/word_count +7 -0
- data/bin/write_what_into +7 -0
- data/bin/yaml_check +7 -0
- data/doc/README.gen +5806 -0
- data/doc/add_ons_for_ruby/README.md +3 -0
- data/doc/add_ons_for_ruby/activerecord.md +99 -0
- data/doc/add_ons_for_ruby/ansicolor.md +62 -0
- data/doc/add_ons_for_ruby/axlsx.md +60 -0
- data/doc/add_ons_for_ruby/bundler.md +20 -0
- data/doc/add_ons_for_ruby/byebug.md +14 -0
- data/doc/add_ons_for_ruby/camping.md +9 -0
- data/doc/add_ons_for_ruby/caxlsx.md +72 -0
- data/doc/add_ons_for_ruby/cgi.md +129 -0
- data/doc/add_ons_for_ruby/chunkypng.md +19 -0
- data/doc/add_ons_for_ruby/classifier.md +7 -0
- data/doc/add_ons_for_ruby/coderay.md +82 -0
- data/doc/add_ons_for_ruby/daemons.md +92 -0
- data/doc/add_ons_for_ruby/dl.md +114 -0
- data/doc/add_ons_for_ruby/erb.md +25 -0
- data/doc/add_ons_for_ruby/erubis.md +124 -0
- data/doc/add_ons_for_ruby/ferret.md +16 -0
- data/doc/add_ons_for_ruby/ffi.md +28 -0
- data/doc/add_ons_for_ruby/fox_and_fxruby.md +492 -0
- data/doc/add_ons_for_ruby/fpdf.md +389 -0
- data/doc/add_ons_for_ruby/fpm.md +46 -0
- data/doc/add_ons_for_ruby/ftp.md +70 -0
- data/doc/add_ons_for_ruby/fxruby.md +14 -0
- data/doc/add_ons_for_ruby/gist.md +30 -0
- data/doc/add_ons_for_ruby/glimmer-libui.md +43 -0
- data/doc/add_ons_for_ruby/gmail.md +22 -0
- data/doc/add_ons_for_ruby/gosu.md +12 -0
- data/doc/add_ons_for_ruby/graphviz.md +246 -0
- data/doc/add_ons_for_ruby/gruff.md +95 -0
- data/doc/add_ons_for_ruby/hexapdf.md +66 -0
- data/doc/add_ons_for_ruby/highline.md +16 -0
- data/doc/add_ons_for_ruby/iconv.md +20 -0
- data/doc/add_ons_for_ruby/id3lib.md +173 -0
- data/doc/add_ons_for_ruby/inline.md +30 -0
- data/doc/add_ons_for_ruby/inotify.md +130 -0
- data/doc/add_ons_for_ruby/instiki.md +38 -0
- data/doc/add_ons_for_ruby/jruby.md +253 -0
- data/doc/add_ons_for_ruby/json.md +64 -0
- data/doc/add_ons_for_ruby/kramdown.md +34 -0
- data/doc/add_ons_for_ruby/lexer.md +19 -0
- data/doc/add_ons_for_ruby/libarchive.md +91 -0
- data/doc/add_ons_for_ruby/libburn.md +29 -0
- data/doc/add_ons_for_ruby/mail.md +51 -0
- data/doc/add_ons_for_ruby/md5reverse.md +10 -0
- data/doc/add_ons_for_ruby/mechanize.md +195 -0
- data/doc/add_ons_for_ruby/memcache.md +22 -0
- data/doc/add_ons_for_ruby/midilib.md +35 -0
- data/doc/add_ons_for_ruby/mime.md +15 -0
- data/doc/add_ons_for_ruby/minitest.md +39 -0
- data/doc/add_ons_for_ruby/misc.md +3 -0
- data/doc/add_ons_for_ruby/mongrel.md +68 -0
- data/doc/add_ons_for_ruby/mp3info.md +121 -0
- data/doc/add_ons_for_ruby/mpd.md +16 -0
- data/doc/add_ons_for_ruby/mruby.md +13 -0
- data/doc/add_ons_for_ruby/nokogiri.md +32 -0
- data/doc/add_ons_for_ruby/opal.md +53 -0
- data/doc/add_ons_for_ruby/openid.md +10 -0
- data/doc/add_ons_for_ruby/padrino.md +4 -0
- data/doc/add_ons_for_ruby/passenger.md +4 -0
- data/doc/add_ons_for_ruby/prawn.md +269 -0
- data/doc/add_ons_for_ruby/pry.md +85 -0
- data/doc/add_ons_for_ruby/puma.md +29 -0
- data/doc/add_ons_for_ruby/qt_and_kde.md +793 -0
- data/doc/add_ons_for_ruby/rack.md +212 -0
- data/doc/add_ons_for_ruby/ragel.md +19 -0
- data/doc/add_ons_for_ruby/rails.md +97 -0
- data/doc/add_ons_for_ruby/ramaze.md +72 -0
- data/doc/add_ons_for_ruby/rbenv.md +13 -0
- data/doc/add_ons_for_ruby/redcarpet.md +6 -0
- data/doc/add_ons_for_ruby/redcloth.md +11 -0
- data/doc/add_ons_for_ruby/redmine.md +8 -0
- data/doc/add_ons_for_ruby/rmagick.md +555 -0
- data/doc/add_ons_for_ruby/roda.md +6 -0
- data/doc/add_ons_for_ruby/rspec.md +12 -0
- data/doc/add_ons_for_ruby/rtf.md +74 -0
- data/doc/add_ons_for_ruby/rubocop.md +84 -0
- data/doc/add_ons_for_ruby/ruby_users.md +23 -0
- data/doc/add_ons_for_ruby/rubygame.md +403 -0
- data/doc/add_ons_for_ruby/ruport.md +23 -0
- data/doc/add_ons_for_ruby/rvm.md +17 -0
- data/doc/add_ons_for_ruby/sdl.md +200 -0
- data/doc/add_ons_for_ruby/sequel.md +55 -0
- data/doc/add_ons_for_ruby/setup.md +92 -0
- data/doc/add_ons_for_ruby/shoes.md +7 -0
- data/doc/add_ons_for_ruby/sinatra_tutorial/sinatra_tutorial.cgi +7 -0
- data/doc/add_ons_for_ruby/sinatra_tutorial/sinatra_tutorial.rb +964 -0
- data/doc/add_ons_for_ruby/sinatra_tutorial/sinatra_tutorial.sinatra +56 -0
- data/doc/add_ons_for_ruby/slop.md +27 -0
- data/doc/add_ons_for_ruby/spreadsheet.md +153 -0
- data/doc/add_ons_for_ruby/sqlite.md +115 -0
- data/doc/add_ons_for_ruby/systemu.md +21 -0
- data/doc/add_ons_for_ruby/thor.md +16 -0
- data/doc/add_ons_for_ruby/tk.md +468 -0
- data/doc/add_ons_for_ruby/tty.md +9 -0
- data/doc/add_ons_for_ruby/tty_box.md +28 -0
- data/doc/add_ons_for_ruby/tty_prompt.md +25 -0
- data/doc/add_ons_for_ruby/vorbistagger.md +33 -0
- data/doc/add_ons_for_ruby/watir.md +30 -0
- data/doc/add_ons_for_ruby/webrick.md +399 -0
- data/doc/add_ons_for_ruby/whois.md +52 -0
- data/doc/add_ons_for_ruby/windows.md +346 -0
- data/doc/add_ons_for_ruby/writeexcel.md +67 -0
- data/doc/add_ons_for_ruby/wxwidgets.md +3 -0
- data/doc/add_ons_for_ruby/xml.md +198 -0
- data/doc/add_ons_for_ruby/xosd.md +21 -0
- data/doc/add_ons_for_ruby/yard.md +39 -0
- data/doc/add_ons_for_ruby/zip.md +67 -0
- data/doc/core/abbrev.md +31 -0
- data/doc/core/argf.md +26 -0
- data/doc/core/argv.md +102 -0
- data/doc/core/array.md +1142 -0
- data/doc/core/base64.md +7 -0
- data/doc/core/basic_object.md +24 -0
- data/doc/core/benchmarks_and_profiling.md +87 -0
- data/doc/core/bigdecimal.md +13 -0
- data/doc/core/binding.md +33 -0
- data/doc/core/blocks.md +45 -0
- data/doc/core/class.md +43 -0
- data/doc/core/closure.md +207 -0
- data/doc/core/commandline.md +9 -0
- data/doc/core/comparable.md +9 -0
- data/doc/core/compiling_ruby_c_code.md +1969 -0
- data/doc/core/conditional_requires.md +13 -0
- data/doc/core/constants.md +87 -0
- data/doc/core/csv.md +55 -0
- data/doc/core/dir.md +102 -0
- data/doc/core/drb.md +121 -0
- data/doc/core/encoding.md +158 -0
- data/doc/core/enumerable.md +160 -0
- data/doc/core/enumerator.md +38 -0
- data/doc/core/env.md +12 -0
- data/doc/core/errno.md +24 -0
- data/doc/core/error_codes_in_ruby.md +19 -0
- data/doc/core/etc.md +95 -0
- data/doc/core/eval.md +20 -0
- data/doc/core/exceptions_and_errors.md +247 -0
- data/doc/core/fiber.md +23 -0
- data/doc/core/fiddle.md +20 -0
- data/doc/core/file.md +389 -0
- data/doc/core/fileutils.md +74 -0
- data/doc/core/float.md +33 -0
- data/doc/core/garbage_collection_in_ruby.md +75 -0
- data/doc/core/gem_and_gemspec.md +447 -0
- data/doc/core/getoptlang.md +19 -0
- data/doc/core/handling_networks.md +63 -0
- data/doc/core/hash.md +485 -0
- data/doc/core/hooks.md +47 -0
- data/doc/core/imap.md +7 -0
- data/doc/core/integer.md +106 -0
- data/doc/core/io.md +126 -0
- data/doc/core/io_console.md +31 -0
- data/doc/core/irb.md +180 -0
- data/doc/core/iterators.md +194 -0
- data/doc/core/kernel.md +227 -0
- data/doc/core/keyword_arguments.md +10 -0
- data/doc/core/loops.md +24 -0
- data/doc/core/marshal.md +123 -0
- data/doc/core/math.md +452 -0
- data/doc/core/matrix.md +16 -0
- data/doc/core/mechanize.md +3 -0
- data/doc/core/methods.md +221 -0
- data/doc/core/misc.md +1779 -0
- data/doc/core/mkmf.md +164 -0
- data/doc/core/module.md +76 -0
- data/doc/core/mutex.md +63 -0
- data/doc/core/nil.md +14 -0
- data/doc/core/object.md +238 -0
- data/doc/core/objectspace.md +28 -0
- data/doc/core/open3.md +24 -0
- data/doc/core/open_uri.md +29 -0
- data/doc/core/openssl.md +45 -0
- data/doc/core/openstruct.md +67 -0
- data/doc/core/optparser.md +234 -0
- data/doc/core/pathname.md +49 -0
- data/doc/core/performance_considerations_in_ruby.md +31 -0
- data/doc/core/pp.md +39 -0
- data/doc/core/precedence.md +27 -0
- data/doc/core/prime.md +13 -0
- data/doc/core/proc.md +131 -0
- data/doc/core/process.md +303 -0
- data/doc/core/pstore.md +23 -0
- data/doc/core/psych.md +7 -0
- data/doc/core/pty.md +11 -0
- data/doc/core/ractor.md +12 -0
- data/doc/core/rake.md +130 -0
- data/doc/core/random.md +17 -0
- data/doc/core/range.md +25 -0
- data/doc/core/rational.md +7 -0
- data/doc/core/rbconfig.md +39 -0
- data/doc/core/rdoc.md +67 -0
- data/doc/core/readline.md +306 -0
- data/doc/core/refinements.md +23 -0
- data/doc/core/regex.md +667 -0
- data/doc/core/reline.md +76 -0
- data/doc/core/ripper.md +57 -0
- data/doc/core/ruby_and_c.md +8 -0
- data/doc/core/rubyvm.md +28 -0
- data/doc/core/set.md +26 -0
- data/doc/core/shellwords.md +34 -0
- data/doc/core/signals.md +32 -0
- data/doc/core/singleton.md +47 -0
- data/doc/core/sockets.md +137 -0
- data/doc/core/splat.md +10 -0
- data/doc/core/stderr.md +3 -0
- data/doc/core/stdin.md +27 -0
- data/doc/core/stdout.md +14 -0
- data/doc/core/string.md +854 -0
- data/doc/core/stringio.md +54 -0
- data/doc/core/stringscanner.md +43 -0
- data/doc/core/struct.md +52 -0
- data/doc/core/subclassing.md +41 -0
- data/doc/core/symbols.md +47 -0
- data/doc/core/system.md +3 -0
- data/doc/core/tcpsocket.md +14 -0
- data/doc/core/telnet.md +35 -0
- data/doc/core/tempfile.md +34 -0
- data/doc/core/threads.md +127 -0
- data/doc/core/time.md +335 -0
- data/doc/core/tracepoint.md +7 -0
- data/doc/core/unicode.md +5 -0
- data/doc/core/unittest.md +8 -0
- data/doc/core/unprintable_characters.md +17 -0
- data/doc/core/uri.md +14 -0
- data/doc/core/xml.md +13 -0
- data/doc/core/yaml.md +376 -0
- data/doc/core/zlib.md +111 -0
- data/doc/deprecations/deprecations.md +60 -0
- data/doc/documentation_viewer.cgi +87 -0
- data/doc/linux_may_have_issues/linux_may_have_issues.md +92 -0
- data/doc/misc/how_to_publish.md +49 -0
- data/doc/misc/links.md +19 -0
- data/doc/misc/the_initialize_method.md +2 -0
- data/doc/misc/the_perfect_book.md +14 -0
- data/doc/roebeshell/CONFIGURATION_FOR_THE_ROEBE_SHELL.md +381 -0
- data/doc/roebeshell/MANIFESTO_FOR_THE_ROEBE_SHELL_COMPONENT.md +391 -0
- data/doc/roebeshell/PHILOSOPHY_OF_THE_ROEBE_SHELL.md +64 -0
- data/doc/ruby_on_rails_tutorial/data_types_for_rails_migrations.md +11 -0
- data/doc/ruby_on_rails_tutorial/ruby_on_rails_tutorial.cgi +404 -0
- data/doc/statistics/statistics.md +98 -0
- data/doc/the_ruby_philosophy/the_ruby_philosophy.md +209 -0
- data/doc/todo/todo_for_the_roebe_project_on_windows.md +4 -0
- data/doc/todo/todo_for_the_roebe_shell.md +741 -0
- data/examples/README.md +4 -0
- data/examples/date_and_time/is_this_day_part_of_that_range.rb +45 -0
- data/examples/gui/fxruby/hello_world.rb +11 -0
- data/examples/gui/fxruby/text_editor.rb +51 -0
- data/examples/misc/argv_encoding_test.rb +38 -0
- data/examples/misc/arrays/center_two_arrays.rb +24 -0
- data/examples/misc/forking_example/forking_example.rb +28 -0
- data/examples/misc/loops/display_coloured_vertical_bars.rb +10 -0
- data/examples/rack/README.md +2 -0
- data/examples/rack/all_in_one_rack_example.rb +241 -0
- data/examples/rack/hello_world_in_rack.rb +44 -0
- data/examples/recursion/README.md +2 -0
- data/examples/recursion/quadratic_sum_of_a_number.rb +23 -0
- data/examples/recursion/reverse_the_string.rb +31 -0
- data/examples/recursion/shift_highest_value.rb +30 -0
- data/examples/recursion/shuffle_sort_string.rb +35 -0
- data/examples/reline/multiline_editing.rb +21 -0
- data/examples/reline/simple_example.rb +39 -0
- data/examples/rmagick/001_axes.rb +68 -0
- data/examples/rmagick/002_basic_2D_canvas.rb +29 -0
- data/examples/rmagick/003_a_walking_duck.rb +42 -0
- data/examples/rmagick/004_black_rectangle_with_red_border.rb +37 -0
- data/examples/rmagick/A_WALKING_DUCK.gif +0 -0
- data/examples/rmagick/foobar.png +0 -0
- data/examples/tty_box/all_in_one.rb +33 -0
- data/lib/roebe/autoinclude.rb +4 -0
- data/lib/roebe/autoinclude_encoding.rb +11 -0
- data/lib/roebe/autoinclude_open.rb +3 -0
- data/lib/roebe/base/base.rb +29 -0
- data/lib/roebe/base/chdir.rb +48 -0
- data/lib/roebe/base/colours.rb +671 -0
- data/lib/roebe/base/commandline_arguments.rb +120 -0
- data/lib/roebe/base/constants.rb +25 -0
- data/lib/roebe/base/copy.rb +72 -0
- data/lib/roebe/base/editor.rb +18 -0
- data/lib/roebe/base/encoding.rb +54 -0
- data/lib/roebe/base/env.rb +22 -0
- data/lib/roebe/base/esystem.rb +141 -0
- data/lib/roebe/base/home_directory_of_user_x.rb +27 -0
- data/lib/roebe/base/is_on_roebe.rb +22 -0
- data/lib/roebe/base/misc.rb +502 -0
- data/lib/roebe/base/next.rb +29 -0
- data/lib/roebe/base/opnn.rb +65 -0
- data/lib/roebe/base/prototype.rb +528 -0
- data/lib/roebe/base/reset.rb +53 -0
- data/lib/roebe/base/run.rb +17 -0
- data/lib/roebe/base/simp.rb +25 -0
- data/lib/roebe/base/support_for_beautiful_url.rb +35 -0
- data/lib/roebe/base/symlink.rb +52 -0
- data/lib/roebe/base/time.rb +175 -0
- data/lib/roebe/base/verbose_truth.rb +22 -0
- data/lib/roebe/base/write_what_into.rb +33 -0
- data/lib/roebe/browser/README.md +5 -0
- data/lib/roebe/browser/browser.rb +26 -0
- data/lib/roebe/browser/constants.rb +43 -0
- data/lib/roebe/browser/firefox.rb +47 -0
- data/lib/roebe/browser/menu.rb +103 -0
- data/lib/roebe/browser/misc.rb +367 -0
- data/lib/roebe/browser/output_url_then_open_in_browser.rb +175 -0
- data/lib/roebe/browser/palemoon.rb +59 -0
- data/lib/roebe/browser/reset.rb +47 -0
- data/lib/roebe/cat/class.rb +226 -0
- data/lib/roebe/cat/method.rb +14 -0
- data/lib/roebe/classes/add_irc_quote.rb +132 -0
- data/lib/roebe/classes/add_newline_after.rb +124 -0
- data/lib/roebe/classes/add_newline_after_n_characters.rb +65 -0
- data/lib/roebe/classes/add_this_user_to_the_sudoers_file.rb +67 -0
- data/lib/roebe/classes/add_two_binary_numbers.rb +58 -0
- data/lib/roebe/classes/add_user_lighty.rb +107 -0
- data/lib/roebe/classes/aggregate_all_files_together_from_this_directory.rb +86 -0
- data/lib/roebe/classes/aliases.rb +683 -0
- data/lib/roebe/classes/all_games.rb +61 -0
- data/lib/roebe/classes/all_my_gems.rb +100 -0
- data/lib/roebe/classes/alltagsgeschichte.rb +106 -0
- data/lib/roebe/classes/alphabetical_sorter.rb +213 -0
- data/lib/roebe/classes/apache_configuration_maker.rb +234 -0
- data/lib/roebe/classes/append_this.rb +158 -0
- data/lib/roebe/classes/append_to_line.rb +141 -0
- data/lib/roebe/classes/ascii/README.md +2 -0
- data/lib/roebe/classes/ascii/fix_missing_numbers_for_ascii_paradise.rb +96 -0
- data/lib/roebe/classes/at.rb +343 -0
- data/lib/roebe/classes/audio_information/audio_information.rb +116 -0
- data/lib/roebe/classes/auto_rename_file_based_on_its_creation_date.rb +82 -0
- data/lib/roebe/classes/auto_rename_file_based_on_time_today.rb +76 -0
- data/lib/roebe/classes/autodater.rb +136 -0
- data/lib/roebe/classes/automounter.rb +181 -0
- data/lib/roebe/classes/available_classes.rb +219 -0
- data/lib/roebe/classes/backup_core_system.rb +223 -0
- data/lib/roebe/classes/basic_configure.rb +110 -0
- data/lib/roebe/classes/batch_generate_all_my_gems.rb +132 -0
- data/lib/roebe/classes/become_another_user.rb +86 -0
- data/lib/roebe/classes/bezirk.rb +91 -0
- data/lib/roebe/classes/birthday_notifications.rb +291 -0
- data/lib/roebe/classes/books/books.rb +785 -0
- data/lib/roebe/classes/books/finished_books/finished_books.rb +136 -0
- data/lib/roebe/classes/books/menu.rb +270 -0
- data/lib/roebe/classes/books/sanitize_this_book_path/sanitize_this_book_path.rb +118 -0
- data/lib/roebe/classes/burn_iso/burn_iso.rb +262 -0
- data/lib/roebe/classes/burn_iso/constants.rb +43 -0
- data/lib/roebe/classes/burn_iso/initialize.rb +33 -0
- data/lib/roebe/classes/caesar_cipher.rb +88 -0
- data/lib/roebe/classes/calendar.rb +369 -0
- data/lib/roebe/classes/calendar_maker.rb +61 -0
- data/lib/roebe/classes/celsius_to_fahrenheit.rb +195 -0
- data/lib/roebe/classes/check_for_bad_blocks.rb +67 -0
- data/lib/roebe/classes/check_yaml.rb +71 -0
- data/lib/roebe/classes/chmod_current_time.rb +71 -0
- data/lib/roebe/classes/clipboard.rb +221 -0
- data/lib/roebe/classes/clock.rb +118 -0
- data/lib/roebe/classes/colourize_numbers.rb +70 -0
- data/lib/roebe/classes/compare_these_two_directories.rb +101 -0
- data/lib/roebe/classes/compare_these_two_files.rb +167 -0
- data/lib/roebe/classes/compile_kernel.rb +114 -0
- data/lib/roebe/classes/config_generator.rb +204 -0
- data/lib/roebe/classes/conky.rb +114 -0
- data/lib/roebe/classes/conky_rcfile_generator.rb +61 -0
- data/lib/roebe/classes/convert_encoding_of_this_file.rb +216 -0
- data/lib/roebe/classes/convert_file_into_utf_encoding.rb +89 -0
- data/lib/roebe/classes/convert_this_cgi_file_into_a_sinatrafied_application.rb +145 -0
- data/lib/roebe/classes/copy_from_glibc.rb +134 -0
- data/lib/roebe/classes/copy_here.rb +76 -0
- data/lib/roebe/classes/copy_kernel_config.rb +59 -0
- data/lib/roebe/classes/copy_these_directories_to.rb +121 -0
- data/lib/roebe/classes/correct_gibberish.rb +89 -0
- data/lib/roebe/classes/count_characters.rb +66 -0
- data/lib/roebe/classes/covid_lethality.rb +243 -0
- data/lib/roebe/classes/create_asoundrc_file.rb +66 -0
- data/lib/roebe/classes/create_benchmark_file.rb +77 -0
- data/lib/roebe/classes/create_desktop_file.rb +236 -0
- data/lib/roebe/classes/create_docbook_sgml_dtd_catalog.rb +113 -0
- data/lib/roebe/classes/create_file_skeleton/constants.rb +70 -0
- data/lib/roebe/classes/create_file_skeleton/create_file_skeleton.rb +470 -0
- data/lib/roebe/classes/create_file_skeleton/generate_c_string.rb +31 -0
- data/lib/roebe/classes/create_file_skeleton/generate_cpp_string.rb +33 -0
- data/lib/roebe/classes/create_file_skeleton/generate_ruby_string.rb +124 -0
- data/lib/roebe/classes/create_file_skeleton/reset.rb +56 -0
- data/lib/roebe/classes/create_file_skeleton/run.rb +23 -0
- data/lib/roebe/classes/create_firefox_extension.rb +178 -0
- data/lib/roebe/classes/create_iso.rb +203 -0
- data/lib/roebe/classes/create_iso_for_games.rb +307 -0
- data/lib/roebe/classes/create_jar_archive.rb +58 -0
- data/lib/roebe/classes/create_local_images_yaml_file.rb +84 -0
- data/lib/roebe/classes/create_my_directories.rb +208 -0
- data/lib/roebe/classes/create_ruby_directory_layout.rb +117 -0
- data/lib/roebe/classes/create_zip.rb +118 -0
- data/lib/roebe/classes/css_analyzer.rb +125 -0
- data/lib/roebe/classes/current_monitor_resolution.rb +107 -0
- data/lib/roebe/classes/custom_table/custom_table.rb +198 -0
- data/lib/roebe/classes/cut_after_colon.rb +79 -0
- data/lib/roebe/classes/cute_emoji.rb +142 -0
- data/lib/roebe/classes/daemonize.rb +131 -0
- data/lib/roebe/classes/date_sort.rb +149 -0
- data/lib/roebe/classes/day_calendar.rb +153 -0
- data/lib/roebe/classes/dbus.rb +127 -0
- data/lib/roebe/classes/delete_all_directories.rb +100 -0
- data/lib/roebe/classes/delete_empty_directories.rb +96 -0
- data/lib/roebe/classes/delete_empty_files.rb +158 -0
- data/lib/roebe/classes/dhcpcd/README.md +3 -0
- data/lib/roebe/classes/dhcpcd/dhcpcd.rb +232 -0
- data/lib/roebe/classes/dhcpcd/kill_dhcpcd.rb +75 -0
- data/lib/roebe/classes/differences_between_two_directories.rb +140 -0
- data/lib/roebe/classes/disable.rb +172 -0
- data/lib/roebe/classes/display_gcc_version.rb +135 -0
- data/lib/roebe/classes/do_a_google_search.rb +67 -0
- data/lib/roebe/classes/do_install.rb +337 -0
- data/lib/roebe/classes/done.rb +161 -0
- data/lib/roebe/classes/done_and_open.rb +185 -0
- data/lib/roebe/classes/doskey_generator.rb +229 -0
- data/lib/roebe/classes/downcase_directories.rb +83 -0
- data/lib/roebe/classes/downcase_extension.rb +131 -0
- data/lib/roebe/classes/download_from_this_url.rb +266 -0
- data/lib/roebe/classes/duplicate_files.rb +115 -0
- data/lib/roebe/classes/email.rb +886 -0
- data/lib/roebe/classes/empty.rb +81 -0
- data/lib/roebe/classes/enable.rb +60 -0
- data/lib/roebe/classes/enable_autologin.rb +371 -0
- data/lib/roebe/classes/english_to_german.rb +128 -0
- data/lib/roebe/classes/ethernet.rb +171 -0
- data/lib/roebe/classes/euclidian_distance.rb +148 -0
- data/lib/roebe/classes/extract_documentation.rb +191 -0
- data/lib/roebe/classes/extract_gem_file.rb +208 -0
- data/lib/roebe/classes/feet_to_centimetres.rb +106 -0
- data/lib/roebe/classes/fetch_url.rb +77 -0
- data/lib/roebe/classes/file_filter.rb +143 -0
- data/lib/roebe/classes/file_filters/jpg.rb +61 -0
- data/lib/roebe/classes/file_parser.rb +126 -0
- data/lib/roebe/classes/file_renamer.rb +229 -0
- data/lib/roebe/classes/files_that_could_become_apps.rb +91 -0
- data/lib/roebe/classes/filter_apache_log.rb +90 -0
- data/lib/roebe/classes/find_all_files_encoded_in_iso.rb +95 -0
- data/lib/roebe/classes/find_all_files_with_a_question_mark.rb +148 -0
- data/lib/roebe/classes/find_duplicate_entries_in_alias_file.rb +191 -0
- data/lib/roebe/classes/find_empty_files.rb +90 -0
- data/lib/roebe/classes/find_expanded_alias.rb +262 -0
- data/lib/roebe/classes/find_out_version_of.rb +186 -0
- data/lib/roebe/classes/find_static_libraries.rb +213 -0
- data/lib/roebe/classes/fix_mcookie.rb +76 -0
- data/lib/roebe/classes/fix_timezone.rb +95 -0
- data/lib/roebe/classes/fluxbox/README.md +3 -0
- data/lib/roebe/classes/fluxbox/autogenerate_fluxbox_files.rb +20 -0
- data/lib/roebe/classes/fluxbox/generate_fluxbox_apps_file.rb +155 -0
- data/lib/roebe/classes/fluxbox/generate_fluxbox_keys_file.rb +110 -0
- data/lib/roebe/classes/fluxbox/install_fluxbox_style.rb +85 -0
- data/lib/roebe/classes/font_installer.rb +139 -0
- data/lib/roebe/classes/foto_searcher.rb +353 -0
- data/lib/roebe/classes/fotos_f/303/274r_ingrid.rb +53 -0
- data/lib/roebe/classes/fragment_maker.rb +141 -0
- data/lib/roebe/classes/general_overviewer.rb +269 -0
- data/lib/roebe/classes/generate_alsa_conf.rb +133 -0
- data/lib/roebe/classes/generate_etc_resolv_conf_file.rb +106 -0
- data/lib/roebe/classes/generate_fstab_file/generate_fstab_file.rb +255 -0
- data/lib/roebe/classes/generate_gemspec/constants.rb +58 -0
- data/lib/roebe/classes/generate_gemspec/generate_gemspec.rb +195 -0
- data/lib/roebe/classes/generate_grub_config.rb +186 -0
- data/lib/roebe/classes/generate_locales.rb +92 -0
- data/lib/roebe/classes/generate_ls_colors.rb +87 -0
- data/lib/roebe/classes/generate_master_shell_script.rb +254 -0
- data/lib/roebe/classes/generate_nsswitch_conf.rb +95 -0
- data/lib/roebe/classes/generate_overview_of_the_locally_available_books.rb +273 -0
- data/lib/roebe/classes/generate_protocols.rb +253 -0
- data/lib/roebe/classes/generate_rewrite_rules.rb +266 -0
- data/lib/roebe/classes/generate_robots_txt_file.rb +97 -0
- data/lib/roebe/classes/generate_rtf_file.rb +123 -0
- data/lib/roebe/classes/generate_system_values.rb +164 -0
- data/lib/roebe/classes/generate_unit_files/README.md +9 -0
- data/lib/roebe/classes/generate_unit_files/generate_unit_files.rb +192 -0
- data/lib/roebe/classes/generate_xauthority_file.rb +119 -0
- data/lib/roebe/classes/generate_xorg_conf/constants.rb +145 -0
- data/lib/roebe/classes/generate_xorg_conf/generate_xorg_conf.rb +767 -0
- data/lib/roebe/classes/get_dependencies.rb +175 -0
- data/lib/roebe/classes/github.rb +60 -0
- data/lib/roebe/classes/good_night.rb +72 -0
- data/lib/roebe/classes/google_url_cleaner.rb +147 -0
- data/lib/roebe/classes/grant_superuser_rights.rb +146 -0
- data/lib/roebe/classes/grub/grub_config_generator.rb +176 -0
- data/lib/roebe/classes/grub_appender.rb +246 -0
- data/lib/roebe/classes/gzip_this_file.rb +86 -0
- data/lib/roebe/classes/handle_lighttpd.rb +210 -0
- data/lib/roebe/classes/hello_world.rb +60 -0
- data/lib/roebe/classes/hex_to_rgb.rb +89 -0
- data/lib/roebe/classes/holiday.rb +99 -0
- data/lib/roebe/classes/hosts_appender.rb +171 -0
- data/lib/roebe/classes/html_form_fetcher.rb +101 -0
- data/lib/roebe/classes/icewm/README.md +3 -0
- data/lib/roebe/classes/icewm/icewm_keys_generator.rb +162 -0
- data/lib/roebe/classes/identical.rb +174 -0
- data/lib/roebe/classes/imdb.rb +86 -0
- data/lib/roebe/classes/in.rb +156 -0
- data/lib/roebe/classes/increment_application_version.rb +306 -0
- data/lib/roebe/classes/inhalt.rb +166 -0
- data/lib/roebe/classes/inputrc/constants.rb +37 -0
- data/lib/roebe/classes/inputrc/inputrc.rb +567 -0
- data/lib/roebe/classes/inputrc/misc.rb +11 -0
- data/lib/roebe/classes/install_debian_file.rb +167 -0
- data/lib/roebe/classes/install_flash/install_flash.rb +179 -0
- data/lib/roebe/classes/install_libreoffice/constants.rb +43 -0
- data/lib/roebe/classes/install_libreoffice/install_libreoffice.rb +277 -0
- data/lib/roebe/classes/install_my_gems.rb +100 -0
- data/lib/roebe/classes/install_openssl_certificates.rb +238 -0
- data/lib/roebe/classes/install_ruby_project.rb +180 -0
- data/lib/roebe/classes/install_wrapper.rb +134 -0
- data/lib/roebe/classes/interactive_file_creator.rb +231 -0
- data/lib/roebe/classes/into.rb +102 -0
- data/lib/roebe/classes/ipaste.rb +88 -0
- data/lib/roebe/classes/iso_to_usb.rb +240 -0
- data/lib/roebe/classes/java_header.rb +112 -0
- data/lib/roebe/classes/java_runner.rb +85 -0
- data/lib/roebe/classes/kde/install_this_konsole_theme.rb +87 -0
- data/lib/roebe/classes/kde/kde_konsole/constants.rb +54 -0
- data/lib/roebe/classes/kde/kde_konsole/help.rb +33 -0
- data/lib/roebe/classes/kde/kde_konsole/initialize.rb +40 -0
- data/lib/roebe/classes/kde/kde_konsole/kde_konsole.rb +37 -0
- data/lib/roebe/classes/kde/kde_konsole/menu.rb +200 -0
- data/lib/roebe/classes/kde/kde_konsole/misc.rb +333 -0
- data/lib/roebe/classes/kde/kde_konsole/reset.rb +42 -0
- data/lib/roebe/classes/kde/kde_konsole/run.rb +22 -0
- data/lib/roebe/classes/kde/kde_konsole_send_command.rb +95 -0
- data/lib/roebe/classes/kde/kde_servicemenus.rb +83 -0
- data/lib/roebe/classes/kde/konsole_new_tab.rb +124 -0
- data/lib/roebe/classes/kde/restore_kde.rb +103 -0
- data/lib/roebe/classes/kde/return_pid_of_kde_konsole.rb +30 -0
- data/lib/roebe/classes/kde/split_kde_konsole_tab_vertically.rb +28 -0
- data/lib/roebe/classes/key_value_parser.rb +145 -0
- data/lib/roebe/classes/keys_generator/constants.rb +72 -0
- data/lib/roebe/classes/keys_generator/keys_generator.rb +328 -0
- data/lib/roebe/classes/kill_firefox.rb +126 -0
- data/lib/roebe/classes/kill_palemoon.rb +132 -0
- data/lib/roebe/classes/last_called_logger/last_called_logger.rb +67 -0
- data/lib/roebe/classes/last_line.rb +69 -0
- data/lib/roebe/classes/left_hyphen_in_this_file.rb +74 -0
- data/lib/roebe/classes/level_subdirectories.rb +126 -0
- data/lib/roebe/classes/lighttpd_config_generator.rb +106 -0
- data/lib/roebe/classes/lilo_config_generator.rb +403 -0
- data/lib/roebe/classes/line_padder.rb +97 -0
- data/lib/roebe/classes/lotto/handle_quicktipps.rb +96 -0
- data/lib/roebe/classes/lotto/lotto_quicktip.rb +214 -0
- data/lib/roebe/classes/make_cookbooks_gem.rb +109 -0
- data/lib/roebe/classes/make_gem.rb +280 -0
- data/lib/roebe/classes/manipulate_quotes.rb +109 -0
- data/lib/roebe/classes/mark_this_directory.rb +76 -0
- data/lib/roebe/classes/married_with_children.rb +117 -0
- data/lib/roebe/classes/mate_terminal/rename_mate_terminal.rb +56 -0
- data/lib/roebe/classes/mbl.rb +318 -0
- data/lib/roebe/classes/meal_maker.rb +88 -0
- data/lib/roebe/classes/menu_generator/append_to.rb +35 -0
- data/lib/roebe/classes/menu_generator/constants.rb +80 -0
- data/lib/roebe/classes/menu_generator/menu_generator.rb +623 -0
- data/lib/roebe/classes/merge.rb +121 -0
- data/lib/roebe/classes/misc/README.md +2 -0
- data/lib/roebe/classes/misc/anteile.rb +91 -0
- data/lib/roebe/classes/modify_shebang_header/modify_shebang_header.rb +435 -0
- data/lib/roebe/classes/modright.rb +110 -0
- data/lib/roebe/classes/monthly_activity_on_rubygems.rb +219 -0
- data/lib/roebe/classes/mount_dvd.rb +92 -0
- data/lib/roebe/classes/mount_iso_file.rb +108 -0
- data/lib/roebe/classes/move_content_of_this_directory_to_that_directory_unless_target_already_exists.rb +119 -0
- data/lib/roebe/classes/move_file.rb +234 -0
- data/lib/roebe/classes/move_mouse.rb +75 -0
- data/lib/roebe/classes/mrxvt.rb +140 -0
- data/lib/roebe/classes/mrxvt_options.rb +295 -0
- data/lib/roebe/classes/my_default_webrick_server.rb +125 -0
- data/lib/roebe/classes/my_ip.rb +69 -0
- data/lib/roebe/classes/n_directories.rb +98 -0
- data/lib/roebe/classes/n_downloads_on_rubygems_org.rb +246 -0
- data/lib/roebe/classes/n_files.rb +103 -0
- data/lib/roebe/classes/n_fotos.rb +48 -0
- data/lib/roebe/classes/n_gems_exist_in_total.rb +136 -0
- data/lib/roebe/classes/n_symlinks.rb +125 -0
- data/lib/roebe/classes/nano_config.rb +186 -0
- data/lib/roebe/classes/nibble_converter.rb +172 -0
- data/lib/roebe/classes/non_symlinks.rb +115 -0
- data/lib/roebe/classes/number_files.rb +89 -0
- data/lib/roebe/classes/number_to_english.rb +167 -0
- data/lib/roebe/classes/nutrition.rb +69 -0
- data/lib/roebe/classes/nvidia.rb +83 -0
- data/lib/roebe/classes/obtain_audio_recordings_from_voice_recorder/constants.rb +38 -0
- data/lib/roebe/classes/obtain_audio_recordings_from_voice_recorder/help.rb +27 -0
- data/lib/roebe/classes/obtain_audio_recordings_from_voice_recorder/obtain_audio_recordings_from_voice_recorder.rb +610 -0
- data/lib/roebe/classes/obtain_audio_recordings_from_voice_recorder/run.rb +22 -0
- data/lib/roebe/classes/on_screen_display.rb +320 -0
- data/lib/roebe/classes/one_line_passwords.rb +201 -0
- data/lib/roebe/classes/open_pdf.rb +293 -0
- data/lib/roebe/classes/open_random_book.rb +129 -0
- data/lib/roebe/classes/output_random_line.rb +110 -0
- data/lib/roebe/classes/output_text_then_assign_to_the_xorg_buffer.rb +114 -0
- data/lib/roebe/classes/package_java_compiler.rb +92 -0
- data/lib/roebe/classes/pad_via_quotes.rb +63 -0
- data/lib/roebe/classes/paragraph_onto_one_line.rb +73 -0
- data/lib/roebe/classes/parse_apache_log/constants.rb +55 -0
- data/lib/roebe/classes/parse_apache_log/parse_apache_log.rb +331 -0
- data/lib/roebe/classes/pascalsches_dreieck.rb +108 -0
- data/lib/roebe/classes/passwords.rb +759 -0
- data/lib/roebe/classes/path_generator/constants.rb +68 -0
- data/lib/roebe/classes/path_generator/misc.rb +332 -0
- data/lib/roebe/classes/path_generator/path_generator.rb +31 -0
- data/lib/roebe/classes/path_generator/reset.rb +33 -0
- data/lib/roebe/classes/percentage_counter.rb +84 -0
- data/lib/roebe/classes/permission_ascii_format.rb +228 -0
- data/lib/roebe/classes/php_to_ruby.rb +177 -0
- data/lib/roebe/classes/pound_to_kg_converter.rb +86 -0
- data/lib/roebe/classes/prepend_this.rb +280 -0
- data/lib/roebe/classes/prepend_this_line_to_that_file.rb +259 -0
- data/lib/roebe/classes/prepend_this_string_to_every_line_of_this_file.rb +197 -0
- data/lib/roebe/classes/prepend_todays_date.rb +67 -0
- data/lib/roebe/classes/pristine_gems.rb +71 -0
- data/lib/roebe/classes/proper_english.rb +115 -0
- data/lib/roebe/classes/publish_gem.rb +249 -0
- data/lib/roebe/classes/pull_together.rb +126 -0
- data/lib/roebe/classes/purge_files_or_directories.rb +67 -0
- data/lib/roebe/classes/purge_gmon_out_files.rb +102 -0
- data/lib/roebe/classes/purge_ordoc_directories.rb +66 -0
- data/lib/roebe/classes/put_all_gems_into_this_project.rb +326 -0
- data/lib/roebe/classes/qemu/README.md +2 -0
- data/lib/roebe/classes/qemu/qemu.rb +72 -0
- data/lib/roebe/classes/quiz.rb +300 -0
- data/lib/roebe/classes/ram.rb +160 -0
- data/lib/roebe/classes/random_background.rb +208 -0
- data/lib/roebe/classes/random_open.rb +110 -0
- data/lib/roebe/classes/rbashrc.rb +160 -0
- data/lib/roebe/classes/rdate.rb +259 -0
- data/lib/roebe/classes/readme_generator/constants.rb +21 -0
- data/lib/roebe/classes/readme_generator/initialize.rb +38 -0
- data/lib/roebe/classes/readme_generator/misc.rb +548 -0
- data/lib/roebe/classes/readme_generator/readme_generator.rb +11 -0
- data/lib/roebe/classes/readme_generator/reset.rb +28 -0
- data/lib/roebe/classes/readme_generator/run.rb +20 -0
- data/lib/roebe/classes/remote_gems.rb +154 -0
- data/lib/roebe/classes/remove_bad_fluxbox_styles.rb +108 -0
- data/lib/roebe/classes/remove_comments/autoinclude.rb +3 -0
- data/lib/roebe/classes/remove_comments/constants.rb +22 -0
- data/lib/roebe/classes/remove_comments/remove_comments.rb +214 -0
- data/lib/roebe/classes/remove_directory.rb +212 -0
- data/lib/roebe/classes/remove_duplicate_lines.rb +101 -0
- data/lib/roebe/classes/remove_extension.rb +95 -0
- data/lib/roebe/classes/remove_file_extension.rb +106 -0
- data/lib/roebe/classes/remove_gems.rb +182 -0
- data/lib/roebe/classes/remove_lighty_logs.rb +66 -0
- data/lib/roebe/classes/remove_line.rb +172 -0
- data/lib/roebe/classes/remove_localhost.rb +355 -0
- data/lib/roebe/classes/remove_missing.rb +109 -0
- data/lib/roebe/classes/remove_newlines.rb +116 -0
- data/lib/roebe/classes/remove_solo_numbers.rb +85 -0
- data/lib/roebe/classes/remove_this_substring_from_all_files.rb +70 -0
- data/lib/roebe/classes/replace_global_variables_in_this_file.rb +181 -0
- data/lib/roebe/classes/replace_space_with_underscore/replace_space_with_underscore.rb +866 -0
- data/lib/roebe/classes/replace_what_with.rb +111 -0
- data/lib/roebe/classes/report_how_many_classes_exist_for_this_directory.rb +128 -0
- data/lib/roebe/classes/report_same_named_files.rb +88 -0
- data/lib/roebe/classes/require_everything.rb +155 -0
- data/lib/roebe/classes/return_aliases/return_n_aliases.rb +178 -0
- data/lib/roebe/classes/return_aliases/return_ten_aliases.rb +78 -0
- data/lib/roebe/classes/return_aliases/return_twenty_aliases.rb +79 -0
- data/lib/roebe/classes/return_random_image.rb +83 -0
- data/lib/roebe/classes/roman_number_converter.rb +92 -0
- data/lib/roebe/classes/ruby_cat.rb +139 -0
- data/lib/roebe/classes/ruby_header.rb +122 -0
- data/lib/roebe/classes/ruby_main.rb +133 -0
- data/lib/roebe/classes/ruby_seq.rb +67 -0
- data/lib/roebe/classes/ruby_use_config_file.rb +104 -0
- data/lib/roebe/classes/ruby_version_switcher.rb +99 -0
- data/lib/roebe/classes/run/menu.rb +87 -0
- data/lib/roebe/classes/run/run.rb +746 -0
- data/lib/roebe/classes/run_each_line_as_esystem.rb +54 -0
- data/lib/roebe/classes/rxinitrc/constants.rb +101 -0
- data/lib/roebe/classes/rxinitrc/help.rb +40 -0
- data/lib/roebe/classes/rxinitrc/run.rb +25 -0
- data/lib/roebe/classes/rxinitrc/rxinitrc.rb +531 -0
- data/lib/roebe/classes/scan_for_http_links.rb +114 -0
- data/lib/roebe/classes/schlafe.rb +101 -0
- data/lib/roebe/classes/send_email.rb +170 -0
- data/lib/roebe/classes/serve_local_page.rb +280 -0
- data/lib/roebe/classes/set_aliases.rb +361 -0
- data/lib/roebe/classes/set_background.rb +113 -0
- data/lib/roebe/classes/set_chained.rb +79 -0
- data/lib/roebe/classes/set_current_iso.rb +76 -0
- data/lib/roebe/classes/set_hwclock.rb +67 -0
- data/lib/roebe/classes/set_normal_alias_to.rb +584 -0
- data/lib/roebe/classes/setup_chrooted_environment.rb +402 -0
- data/lib/roebe/classes/shells/generate_etc_shell_file.rb +107 -0
- data/lib/roebe/classes/show_appointments.rb +216 -0
- data/lib/roebe/classes/show_available_fonts.rb +146 -0
- data/lib/roebe/classes/show_available_users.rb +319 -0
- data/lib/roebe/classes/show_kernel_modules.rb +88 -0
- data/lib/roebe/classes/show_non_symlinks.rb +98 -0
- data/lib/roebe/classes/show_only_files.rb +90 -0
- data/lib/roebe/classes/show_prime_numbers.rb +122 -0
- data/lib/roebe/classes/show_sigint.rb +50 -0
- data/lib/roebe/classes/show_ten_aliases.rb +395 -0
- data/lib/roebe/classes/show_twenty_aliases.rb +243 -0
- data/lib/roebe/classes/simple_boot_script.rb +358 -0
- data/lib/roebe/classes/simple_extractor.rb +104 -0
- data/lib/roebe/classes/simple_markdown_parser.rb +274 -0
- data/lib/roebe/classes/size_of.rb +234 -0
- data/lib/roebe/classes/size_of_states.rb +157 -0
- data/lib/roebe/classes/skel_maker/constants.rb +65 -0
- data/lib/roebe/classes/skel_maker/skel_maker.rb +230 -0
- data/lib/roebe/classes/slogans.rb +283 -0
- data/lib/roebe/classes/slow_load.rb +62 -0
- data/lib/roebe/classes/sorted_output.rb +86 -0
- data/lib/roebe/classes/sourcerank.rb +76 -0
- data/lib/roebe/classes/special_symlink.rb +97 -0
- data/lib/roebe/classes/start_program.rb +74 -0
- data/lib/roebe/classes/std_renamer.rb +285 -0
- data/lib/roebe/classes/stories.rb +107 -0
- data/lib/roebe/classes/story.rb +177 -0
- data/lib/roebe/classes/string_colour_parser.rb +165 -0
- data/lib/roebe/classes/sum_of_all_numbers.rb +153 -0
- data/lib/roebe/classes/supermerger.rb +121 -0
- data/lib/roebe/classes/symlink_all_directories_in_this_directory.rb +101 -0
- data/lib/roebe/classes/symlink_directories_from_that_directory_to_the_current_directory.rb +178 -0
- data/lib/roebe/classes/symlink_directory.rb +104 -0
- data/lib/roebe/classes/symlink_everything_from_that_directory_to_this_directory.rb +196 -0
- data/lib/roebe/classes/symlink_files_from_that_directory_to_the_current_directory/symlink_files_from_that_directory_to_the_current_directory.rb +271 -0
- data/lib/roebe/classes/syntax_checker.rb +200 -0
- data/lib/roebe/classes/system_checker.rb +646 -0
- data/lib/roebe/classes/take_screenshot.rb +390 -0
- data/lib/roebe/classes/tales_from_the_crypt.rb +552 -0
- data/lib/roebe/classes/telnet_wrapper.rb +72 -0
- data/lib/roebe/classes/terminal.rb +62 -0
- data/lib/roebe/classes/terminal_ps1.rb +128 -0
- data/lib/roebe/classes/test_for_psych.rb +77 -0
- data/lib/roebe/classes/test_openssl.rb +200 -0
- data/lib/roebe/classes/test_yaml.rb +70 -0
- data/lib/roebe/classes/threshold_splitter.rb +96 -0
- data/lib/roebe/classes/tic_tac_toe.rb +326 -0
- data/lib/roebe/classes/time/current_time_in_singapore.rb +121 -0
- data/lib/roebe/classes/time/display_weekdays.rb +78 -0
- data/lib/roebe/classes/time/query_world_time.rb +149 -0
- data/lib/roebe/classes/time/set_hardware_clock.rb +158 -0
- data/lib/roebe/classes/time/trivial_time_parser.rb +162 -0
- data/lib/roebe/classes/to_binary.rb +127 -0
- data/lib/roebe/classes/to_buy.rb +216 -0
- data/lib/roebe/classes/to_next.rb +139 -0
- data/lib/roebe/classes/to_squashfs.rb +83 -0
- data/lib/roebe/classes/to_tar_bz2.rb +62 -0
- data/lib/roebe/classes/to_tar_gz.rb +61 -0
- data/lib/roebe/classes/to_utf.rb +87 -0
- data/lib/roebe/classes/today.rb +67 -0
- data/lib/roebe/classes/todo_overview.rb +87 -0
- data/lib/roebe/classes/todo_sanitizer.rb +168 -0
- data/lib/roebe/classes/top_ten_aliases.rb +104 -0
- data/lib/roebe/classes/total_pages_in_finished_books.rb +76 -0
- data/lib/roebe/classes/translate.rb +295 -0
- data/lib/roebe/classes/traurige_oder_fr/303/266hliche_zahl.rb +117 -0
- data/lib/roebe/classes/traverse_install.rb +268 -0
- data/lib/roebe/classes/treeview.rb +186 -0
- data/lib/roebe/classes/turn_ruby_file_into_gem.rb +195 -0
- data/lib/roebe/classes/twentyfour_hours_notation.rb +174 -0
- data/lib/roebe/classes/umlaut_converter.rb +137 -0
- data/lib/roebe/classes/undone.rb +126 -0
- data/lib/roebe/classes/unicode_snowman.rb +120 -0
- data/lib/roebe/classes/unified_padding.rb +144 -0
- data/lib/roebe/classes/unrar.rb +95 -0
- data/lib/roebe/classes/upcaser.rb +145 -0
- data/lib/roebe/classes/update.rb +376 -0
- data/lib/roebe/classes/update_static_html_pages_in_the_directory_containing_my_fotos.rb +73 -0
- data/lib/roebe/classes/upload_to_imgur.rb +177 -0
- data/lib/roebe/classes/upwards_counter.rb +59 -0
- data/lib/roebe/classes/usage.rb +158 -0
- data/lib/roebe/classes/usb/automount_usb.rb +82 -0
- data/lib/roebe/classes/usb/create_bootable_usb.rb +118 -0
- data/lib/roebe/classes/usb/usb_devices.rb +188 -0
- data/lib/roebe/classes/use_jruby.rb +68 -0
- data/lib/roebe/classes/vte.rb +110 -0
- data/lib/roebe/classes/wallpaper.rb +177 -0
- data/lib/roebe/classes/wayland_or_xorgserver.rb +69 -0
- data/lib/roebe/classes/webfancy_controller.rb +230 -0
- data/lib/roebe/classes/wikipedia.rb +99 -0
- data/lib/roebe/classes/wlan/eduroam/eduroam.rb +133 -0
- data/lib/roebe/classes/wlan/wlan.rb +1304 -0
- data/lib/roebe/classes/wochentag_anzeiger.rb +217 -0
- data/lib/roebe/classes/word_wrap.rb +67 -0
- data/lib/roebe/classes/write_what_into.rb +91 -0
- data/lib/roebe/classes/xfce/README.md +2 -0
- data/lib/roebe/classes/xfce/set_xfce_wallpaper.rb +93 -0
- data/lib/roebe/classes/yaml_check.rb +63 -0
- data/lib/roebe/classes/youtube_downloader.rb +157 -0
- data/lib/roebe/classes/zenity.rb +319 -0
- data/lib/roebe/classes/zoll.rb +88 -0
- data/lib/roebe/colours/colours.rb +440 -0
- data/lib/roebe/commandline/help.rb +125 -0
- data/lib/roebe/commandline/menu.rb +753 -0
- data/lib/roebe/commandline/misc.rb +278 -0
- data/lib/roebe/commandline/parse_commandline.rb +55 -0
- data/lib/roebe/configuration/autoinclude.rb +7 -0
- data/lib/roebe/configuration/class/configuration.rb +1010 -0
- data/lib/roebe/configuration/module.rb +35 -0
- data/lib/roebe/constants/archive_types.rb +26 -0
- data/lib/roebe/constants/array_install_these_gem_projects.rb +116 -0
- data/lib/roebe/constants/constants.rb +96 -0
- data/lib/roebe/constants/emojis.rb +19 -0
- data/lib/roebe/constants/file_and_directory_constants.rb +159 -0
- data/lib/roebe/constants/home_of_the_user_called_x.rb +14 -0
- data/lib/roebe/constants/misc.rb +143 -0
- data/lib/roebe/constants/newline.rb +16 -0
- data/lib/roebe/constants/roebe.rb +74 -0
- data/lib/roebe/constants/www.rb +43 -0
- data/lib/roebe/core/README.md +6 -0
- data/lib/roebe/core/array.rb +347 -0
- data/lib/roebe/core/dir.rb +126 -0
- data/lib/roebe/core/enumerable.rb +25 -0
- data/lib/roebe/core/file.rb +140 -0
- data/lib/roebe/core/fixnum.rb +155 -0
- data/lib/roebe/core/float.rb +86 -0
- data/lib/roebe/core/hash.rb +48 -0
- data/lib/roebe/core/integer.rb +41 -0
- data/lib/roebe/core/kernel.rb +82 -0
- data/lib/roebe/core/math.rb +61 -0
- data/lib/roebe/core/module.rb +91 -0
- data/lib/roebe/core/numeric.rb +64 -0
- data/lib/roebe/core/object.rb +53 -0
- data/lib/roebe/core/proc.rb +10 -0
- data/lib/roebe/core/process.rb +27 -0
- data/lib/roebe/core/range.rb +18 -0
- data/lib/roebe/core/string.rb +651 -0
- data/lib/roebe/core/struct.rb +22 -0
- data/lib/roebe/core/windows.rb +758 -0
- data/lib/roebe/css/project.css +38 -0
- data/lib/roebe/custom_methods/README.md +8 -0
- data/lib/roebe/custom_methods/constants.rb +53 -0
- data/lib/roebe/custom_methods/module.rb +5674 -0
- data/lib/roebe/dosbox/README.md +5 -0
- data/lib/roebe/dosbox/autoexec.conf +114 -0
- data/lib/roebe/dosbox/bios.conf +20 -0
- data/lib/roebe/dosbox/cpu.conf +42 -0
- data/lib/roebe/dosbox/cycles.conf +41 -0
- data/lib/roebe/dosbox/dos.conf +55 -0
- data/lib/roebe/dosbox/dosbox.conf +34 -0
- data/lib/roebe/dosbox/games.conf +37 -0
- data/lib/roebe/dosbox/generate_dosbox_config.rb +150 -0
- data/lib/roebe/dosbox/gus.conf +26 -0
- data/lib/roebe/dosbox/ipx.conf +14 -0
- data/lib/roebe/dosbox/keyboard.conf +17 -0
- data/lib/roebe/dosbox/midi.conf +18 -0
- data/lib/roebe/dosbox/mixer.conf +26 -0
- data/lib/roebe/dosbox/render.conf +31 -0
- data/lib/roebe/dosbox/sblaster.conf +38 -0
- data/lib/roebe/dosbox/sdl.conf +115 -0
- data/lib/roebe/dosbox/serial.conf +22 -0
- data/lib/roebe/dosbox/speaker.conf +20 -0
- data/lib/roebe/editors/README.md +2 -0
- data/lib/roebe/editors/ruby_nano.rb +80 -0
- data/lib/roebe/editors/vim_paradise/colours.rb +30 -0
- data/lib/roebe/editors/vim_paradise/constants.rb +113 -0
- data/lib/roebe/editors/vim_paradise/help.rb +37 -0
- data/lib/roebe/editors/vim_paradise/menu.rb +62 -0
- data/lib/roebe/editors/vim_paradise/run.rb +22 -0
- data/lib/roebe/editors/vim_paradise/vim_paradise.rb +630 -0
- data/lib/roebe/emoji/README.md +2 -0
- data/lib/roebe/emoji/emoji_table.rb +44 -0
- data/lib/roebe/encoding/encoding.rb +113 -0
- data/lib/roebe/extensions.rb +23 -0
- data/lib/roebe/gemrc/gemrc +19 -0
- data/lib/roebe/gui/cgi/interactive_caesar_cipher/interactive_caesar_cipher.cgi +56 -0
- data/lib/roebe/gui/cgi/md5_comparer/md5_comparer.cgi +83 -0
- data/lib/roebe/gui/glimmer/examples/001_hello_world.rb +8 -0
- data/lib/roebe/gui/glimmer/examples/002_basic_table_progress_bar.rb +29 -0
- data/lib/roebe/gui/glimmer/examples/003_form_table_example.rb +118 -0
- data/lib/roebe/gui/glimmer/microsoft_controller/microsoft_controller.rb +58 -0
- data/lib/roebe/gui/gtk3/guess_the_world_capitals/capital.rb +232 -0
- data/lib/roebe/gui/gtk3/guess_the_world_capitals/guess_the_world_capitals.rb +178 -0
- data/lib/roebe/gui/gtk3/os_installer/os_installer.rb +140 -0
- data/lib/roebe/gui/gtk4/interactive_caesar_cipher/interactive_caesar_cipher.rb +119 -0
- data/lib/roebe/gui/gtk4/shell/shell.rb +93 -0
- data/lib/roebe/gui/libui/foto_searcher/foto_searcher.rb +108 -0
- data/lib/roebe/gui/libui/interactive_caesar_cipher/interactive_caesar_cipher.rb +147 -0
- data/lib/roebe/gui/libui/md5_comparer/md5_comparer.rb +89 -0
- data/lib/roebe/gui/libui/rundll32/rundll32.rb +89 -0
- data/lib/roebe/gui/libui/show_aliases/show_aliases.rb +81 -0
- data/lib/roebe/gui/libui/show_ten_aliases/show_ten_aliases.rb +99 -0
- data/lib/roebe/gui/libui/todo_viewer/todo_viewer.rb +117 -0
- data/lib/roebe/gui/libui/wlan_interface/wlan_interface.rb +140 -0
- data/lib/roebe/gui/shared_code/calculator/calculator_module.rb +705 -0
- data/lib/roebe/gui/shared_code/email/email_module.rb +178 -0
- data/lib/roebe/gui/shared_code/interactive_caesar_cipher/interactive_caesar_cipher_module.rb +178 -0
- data/lib/roebe/gui/shared_code/simple_clock/simple_clock_module.rb +209 -0
- data/lib/roebe/gui/sinatra/md5_comparer/md5_comparer.rb +108 -0
- data/lib/roebe/gui/swing/README.md +6 -0
- data/lib/roebe/gui/swing/interactive_caesar_cipher/InteractiveCaesarCipher.class +0 -0
- data/lib/roebe/gui/swing/interactive_caesar_cipher/InteractiveCaesarCipher.java +87 -0
- data/lib/roebe/gui/swing/text_editor/TextEditor.class +0 -0
- data/lib/roebe/gui/swing/text_editor/TextEditor.java +248 -0
- data/lib/roebe/gui/universal_widgets/README.md +5 -0
- data/lib/roebe/gui/universal_widgets/calculator/calculator.rb +177 -0
- data/lib/roebe/gui/universal_widgets/code_generator/code_generator.rb +357 -0
- data/lib/roebe/gui/universal_widgets/generate_xorg_configuration/generate_xorg_configuration.rb +298 -0
- data/lib/roebe/gui/universal_widgets/ifconfig/ifconfig.rb +1265 -0
- data/lib/roebe/gui/universal_widgets/install_operating_system/install_operating_system.rb +254 -0
- data/lib/roebe/gui/universal_widgets/interactive_caesar_cipher/interactive_caesar_cipher.rb +377 -0
- data/lib/roebe/gui/universal_widgets/md5_comparer/md5_comparer.rb +385 -0
- data/lib/roebe/gui/universal_widgets/microsoft_controller/README.md +3 -0
- data/lib/roebe/gui/universal_widgets/microsoft_controller/microsoft_controller.rb +552 -0
- data/lib/roebe/gui/universal_widgets/ping_widget/ping_widget.rb +558 -0
- data/lib/roebe/gui/universal_widgets/ping_widget/ping_widget.yml +7 -0
- data/lib/roebe/gui/universal_widgets/send_email/send_email.rb +388 -0
- data/lib/roebe/gui/universal_widgets/shell/shell.rb +894 -0
- data/lib/roebe/gui/universal_widgets/show_aliases/show_aliases.rb +330 -0
- data/lib/roebe/gui/universal_widgets/show_ten_aliases/show_ten_aliases.rb +396 -0
- data/lib/roebe/gui/universal_widgets/simple_clock/simple_clock.rb +106 -0
- data/lib/roebe/gui/universal_widgets/system_widget/system_widget.rb +245 -0
- data/lib/roebe/gui/universal_widgets/task_viewer/task_viewer.rb +286 -0
- data/lib/roebe/gui/universal_widgets/todo_viewer/todo_viewer.rb +342 -0
- data/lib/roebe/gui/universal_widgets/view_image/view_image.rb +226 -0
- data/lib/roebe/gui/universal_widgets/wecker/wecker.rb +524 -0
- data/lib/roebe/gui/universal_widgets/wlan_information_center/README.md +9 -0
- data/lib/roebe/gui/universal_widgets/wlan_information_center/wlan_information_center.css +13 -0
- data/lib/roebe/gui/universal_widgets/wlan_information_center/wlan_information_center.rb +755 -0
- data/lib/roebe/gui/universal_widgets/world_capitals/world_capitals.rb +369 -0
- data/lib/roebe/hello_world/hello_world.rb +1 -0
- data/lib/roebe/images/ROEBE_LOGO.png +0 -0
- data/lib/roebe/irb/README.md +3 -0
- data/lib/roebe/irb/clean_irbrc +213 -0
- data/lib/roebe/java_roebe/Ant.java +26 -0
- data/lib/roebe/java_roebe/EnglishToGerman.class +0 -0
- data/lib/roebe/java_roebe/EnglishToGerman.java +52 -0
- data/lib/roebe/java_roebe/MoveFile.class +0 -0
- data/lib/roebe/java_roebe/MoveFile.java +50 -0
- data/lib/roebe/java_roebe/MyIp.java +42 -0
- data/lib/roebe/java_roebe/RemoveDirectory.class +0 -0
- data/lib/roebe/java_roebe/RemoveDirectory.java +92 -0
- data/lib/roebe/java_roebe/RemoveLine.class +0 -0
- data/lib/roebe/java_roebe/RemoveLine.java +168 -0
- data/lib/roebe/java_roebe/ReturnRandomImage.class +0 -0
- data/lib/roebe/java_roebe/ReturnRandomImage.java +54 -0
- data/lib/roebe/java_roebe/Schlafe.class +0 -0
- data/lib/roebe/java_roebe/Schlafe.java +65 -0
- data/lib/roebe/java_roebe/SetBackground.class +0 -0
- data/lib/roebe/java_roebe/SetBackground.java +104 -0
- data/lib/roebe/java_roebe/ShowOnlyFiles.class +0 -0
- data/lib/roebe/java_roebe/ShowOnlyFiles.java +86 -0
- data/lib/roebe/java_roebe/ShowPrimeNumbers.class +0 -0
- data/lib/roebe/java_roebe/ShowPrimeNumbers.java +75 -0
- data/lib/roebe/java_roebe/TakeScreenshot.class +0 -0
- data/lib/roebe/java_roebe/TakeScreenshot.java +126 -0
- data/lib/roebe/java_roebe/TalesFromTheCrypt.class +0 -0
- data/lib/roebe/java_roebe/TalesFromTheCrypt.java +128 -0
- data/lib/roebe/java_roebe/ToBinary.class +0 -0
- data/lib/roebe/java_roebe/ToBinary.java +21 -0
- data/lib/roebe/java_roebe/ToBuy.java +94 -0
- data/lib/roebe/java_roebe/ToSquashfs.class +0 -0
- data/lib/roebe/java_roebe/ToSquashfs.java +84 -0
- data/lib/roebe/java_roebe/ToTarBz2.class +0 -0
- data/lib/roebe/java_roebe/ToTarBz2.java +57 -0
- data/lib/roebe/java_roebe/Today.java +71 -0
- data/lib/roebe/java_roebe/TodoOverview.class +0 -0
- data/lib/roebe/java_roebe/TodoOverview.java +78 -0
- data/lib/roebe/java_roebe/Translate.class +0 -0
- data/lib/roebe/java_roebe/Translate.java +93 -0
- data/lib/roebe/java_roebe/TwentyfourHoursNotation.class +0 -0
- data/lib/roebe/java_roebe/TwentyfourHoursNotation.java +60 -0
- data/lib/roebe/java_roebe/Undone.class +0 -0
- data/lib/roebe/java_roebe/Undone.java +143 -0
- data/lib/roebe/java_roebe/UnicodeSnowman.class +0 -0
- data/lib/roebe/java_roebe/UnicodeSnowman.java +48 -0
- data/lib/roebe/java_roebe/Upcaser.class +0 -0
- data/lib/roebe/java_roebe/Upcaser.java +69 -0
- data/lib/roebe/java_roebe/UploadToImgur.class +0 -0
- data/lib/roebe/java_roebe/UploadToImgur.java +97 -0
- data/lib/roebe/java_roebe/UpwardsCounter.class +0 -0
- data/lib/roebe/java_roebe/UpwardsCounter.java +77 -0
- data/lib/roebe/java_roebe/Wikipedia.class +0 -0
- data/lib/roebe/java_roebe/Wikipedia.java +43 -0
- data/lib/roebe/java_roebe/WriteWhatInto.class +0 -0
- data/lib/roebe/java_roebe/WriteWhatInto.java +56 -0
- data/lib/roebe/java_roebe/Zoll.class +0 -0
- data/lib/roebe/java_roebe/Zoll.java +42 -0
- data/lib/roebe/java_roebe/controller/ControllerWithCSSSupport$1.class +0 -0
- data/lib/roebe/java_roebe/controller/ControllerWithCSSSupport.class +0 -0
- data/lib/roebe/java_roebe/controller/ControllerWithCSSSupport.java +277 -0
- data/lib/roebe/java_roebe/gui/Calculator.class +0 -0
- data/lib/roebe/java_roebe/gui/Calculator.java +287 -0
- data/lib/roebe/java_roebe/java_roebe/ShowPrimeNumbers.class +0 -0
- data/lib/roebe/java_roebe/java_roebe/ShowPrimeNumbers.java +75 -0
- data/lib/roebe/java_roebe/java_roebe/TakeScreenshot.class +0 -0
- data/lib/roebe/java_roebe/java_roebe/TakeScreenshot.java +126 -0
- data/lib/roebe/java_roebe/java_roebe/TalesFromTheCrypt.class +0 -0
- data/lib/roebe/java_roebe/java_roebe/TalesFromTheCrypt.java +128 -0
- data/lib/roebe/java_roebe/java_roebe/Zoll.class +0 -0
- data/lib/roebe/java_roebe/java_roebe/Zoll.java +42 -0
- data/lib/roebe/java_roebe/show_the_content_of_this_directory/ShowTheContentOfThisDirectory.class +0 -0
- data/lib/roebe/java_roebe/show_the_content_of_this_directory/ShowTheContentOfThisDirectory.java +50 -0
- data/lib/roebe/jruby/jruby_enhancements.rb +18 -0
- data/lib/roebe/jruby/swing/absolute_positioning_example.rb +75 -0
- data/lib/roebe/jruby/swing/complete_windows_example.rb +90 -0
- data/lib/roebe/jruby/swing/paint_demo.rb +37 -0
- data/lib/roebe/jruby/swing/quit_button_example.rb +54 -0
- data/lib/roebe/jruby/swing/simple_swing_example.rb +33 -0
- data/lib/roebe/jruby/swing/tooltip_example.rb +90 -0
- data/lib/roebe/jruby/swing/two_buttons_example.rb +62 -0
- data/lib/roebe/knowledge_base/knowledge_base.rb +103 -0
- data/lib/roebe/linux/README.md +3 -0
- data/lib/roebe/linux/linux.rb +106 -0
- data/lib/roebe/linux/slackware/remove_pulseaudio.rb +34 -0
- data/lib/roebe/linux/slackware/slackware.rb +122 -0
- data/lib/roebe/math/README.md +4 -0
- data/lib/roebe/math/anagram.rb +42 -0
- data/lib/roebe/math/average_of_differences.rb +41 -0
- data/lib/roebe/math/binning.rb +56 -0
- data/lib/roebe/math/calculate_the_distance_between_two_points.rb +38 -0
- data/lib/roebe/math/calculate_the_variance.rb +45 -0
- data/lib/roebe/math/circle.rb +101 -0
- data/lib/roebe/math/draw_line.rb +25 -0
- data/lib/roebe/math/draw_triangle.rb +26 -0
- data/lib/roebe/math/fact.rb +44 -0
- data/lib/roebe/math/levensthein.rb +69 -0
- data/lib/roebe/math/log10.rb +54 -0
- data/lib/roebe/math/math.rb +314 -0
- data/lib/roebe/math/pi.rb +29 -0
- data/lib/roebe/math/primfaktorzerlegung.rb +105 -0
- data/lib/roebe/math/regel_von_sarrus.rb +70 -0
- data/lib/roebe/math/sphere.rb +126 -0
- data/lib/roebe/math/steigung.rb +59 -0
- data/lib/roebe/math/traurige_oder_fr/303/266hliche_zahl.rb +47 -0
- data/lib/roebe/math/traurige_oder_gl/303/274ckliche_zahl.rb +55 -0
- data/lib/roebe/math/zylinder.rb +59 -0
- data/lib/roebe/mime_types/mime_types.rb +389 -0
- data/lib/roebe/misc/README.md +2 -0
- data/lib/roebe/misc/chrome_extensions/roebe/background.js +1 -0
- data/lib/roebe/misc/chrome_extensions/roebe/commands_to_run.rb +1 -0
- data/lib/roebe/misc/chrome_extensions/roebe/content.js +1 -0
- data/lib/roebe/misc/chrome_extensions/roebe/images/64.png +0 -0
- data/lib/roebe/misc/chrome_extensions/roebe/index.html +130 -0
- data/lib/roebe/misc/chrome_extensions/roebe/manifest.json +22 -0
- data/lib/roebe/misc/chrome_extensions/roebe/popup.html +46 -0
- data/lib/roebe/misc/chrome_extensions/roebe/popup.js +0 -0
- data/lib/roebe/misc/chrome_extensions/roebe/simulate_a_dice.js +28 -0
- data/lib/roebe/misc/fluxbox_keys_file +117 -0
- data/lib/roebe/misc/icewm_keys_file +88 -0
- data/lib/roebe/misc/master_boot_record/master_boot_record +0 -0
- data/lib/roebe/misc/ublock_origin/ublock_origin.md +4 -0
- data/lib/roebe/modules/as_uid.rb +61 -0
- data/lib/roebe/modules/extensions/README.md +2 -0
- data/lib/roebe/modules/extensions/hexapdf.rb +14 -0
- data/lib/roebe/modules/http_status_codes/constants.rb +105 -0
- data/lib/roebe/modules/http_status_codes/http_status_codes.rb +59 -0
- data/lib/roebe/modules/remove_html.rb +61 -0
- data/lib/roebe/mouse/README.md +2 -0
- data/lib/roebe/mouse/libffi_is_not_available.rb +70 -0
- data/lib/roebe/mouse/mouse.rb +205 -0
- data/lib/roebe/nano/README.md +42 -0
- data/lib/roebe/nano/c.md +77 -0
- data/lib/roebe/nano/cpp.md +68 -0
- data/lib/roebe/nano/css.md +16 -0
- data/lib/roebe/nano/fasta.md +10 -0
- data/lib/roebe/nano/general_settings.md +199 -0
- data/lib/roebe/nano/generic.md +52 -0
- data/lib/roebe/nano/html.md +7 -0
- data/lib/roebe/nano/include.md +26 -0
- data/lib/roebe/nano/java.md +31 -0
- data/lib/roebe/nano/mail.md +36 -0
- data/lib/roebe/nano/ml.md +21 -0
- data/lib/roebe/nano/nano.cgi +23 -0
- data/lib/roebe/nano/nanorc.md +16 -0
- data/lib/roebe/nano/nexus.md +12 -0
- data/lib/roebe/nano/opal.md +66 -0
- data/lib/roebe/nano/patch_files.md +12 -0
- data/lib/roebe/nano/perl.md +12 -0
- data/lib/roebe/nano/php.md +26 -0
- data/lib/roebe/nano/python.md +12 -0
- data/lib/roebe/nano/ruby.md +122 -0
- data/lib/roebe/nano/shell_scripts.md +15 -0
- data/lib/roebe/nano/top.md +14 -0
- data/lib/roebe/nano/yaml.md +70 -0
- data/lib/roebe/nano/zzz_misc.md +13 -0
- data/lib/roebe/no_colours.rb +7 -0
- data/lib/roebe/pdf/README.md +1 -0
- data/lib/roebe/pdf/prawn/all_in_one_showcasing_prawn.rb +164 -0
- data/lib/roebe/project/project.rb +77 -0
- data/lib/roebe/python/base/__pycache__/base.cpython-39.pyc +0 -0
- data/lib/roebe/python/base/base.py +40 -0
- data/lib/roebe/python/zoll.py +16 -0
- data/lib/roebe/requires/basic_common_requires.rb +18 -0
- data/lib/roebe/requires/colours.rb +7 -0
- data/lib/roebe/requires/failsafe_require_of_beautiful_url.rb +12 -0
- data/lib/roebe/requires/failsafe_require_of_opn.rb +12 -0
- data/lib/roebe/requires/require_all_standalone_classes.rb +65 -0
- data/lib/roebe/requires/require_all_standalone_modules.rb +61 -0
- data/lib/roebe/requires/require_burn_iso.rb +5 -0
- data/lib/roebe/requires/require_kde_konsole.rb +7 -0
- data/lib/roebe/requires/require_menu_generator.rb +7 -0
- data/lib/roebe/requires/require_remove_directory.rb +7 -0
- data/lib/roebe/requires/require_ruby_header.rb +7 -0
- data/lib/roebe/requires/require_the_browser_files.rb +11 -0
- data/lib/roebe/requires/require_the_roebe_documentation.rb +11 -0
- data/lib/roebe/requires/require_the_roebe_shell.rb +22 -0
- data/lib/roebe/requires/require_the_run_class.rb +7 -0
- data/lib/roebe/requires/require_the_toplevel_methods.rb +11 -0
- data/lib/roebe/requires/require_the_whole_roebe_project.rb +77 -0
- data/lib/roebe/requires/require_traverse_install.rb +7 -0
- data/lib/roebe/requires/require_unicode.rb +31 -0
- data/lib/roebe/requires/require_yaml.rb +1 -0
- data/lib/roebe/setup/README.md +1 -0
- data/lib/roebe/setup/setup.rb +1665 -0
- data/lib/roebe/shell/README.md +6 -0
- data/lib/roebe/shell/colours/colour_codes.rb +178 -0
- data/lib/roebe/shell/colours/colours.rb +331 -0
- data/lib/roebe/shell/commandline/commandline.rb +404 -0
- data/lib/roebe/shell/configuration/configuration.rb +165 -0
- data/lib/roebe/shell/gui/gtk3/vte_terminal_frame.rb +77 -0
- data/lib/roebe/shell/help/colourized_help_line.rb +183 -0
- data/lib/roebe/shell/help/documented_help_options.rb +254 -0
- data/lib/roebe/shell/help/help.rb +105 -0
- data/lib/roebe/shell/module_methods/anmeldung.rb +75 -0
- data/lib/roebe/shell/module_methods/available_components.rb +78 -0
- data/lib/roebe/shell/module_methods/benchmarks.rb +70 -0
- data/lib/roebe/shell/module_methods/commandline_arguments.rb +35 -0
- data/lib/roebe/shell/module_methods/encoding.rb +95 -0
- data/lib/roebe/shell/module_methods/ftp.rb +65 -0
- data/lib/roebe/shell/module_methods/generate_tab_completion.rb +96 -0
- data/lib/roebe/shell/module_methods/home_directory.rb +108 -0
- data/lib/roebe/shell/module_methods/main_file.rb +41 -0
- data/lib/roebe/shell/module_methods/misc.rb +181 -0
- data/lib/roebe/shell/module_methods/report_where_the_home_directory_can_be_found.rb +35 -0
- data/lib/roebe/shell/module_methods/startup_time.rb +34 -0
- data/lib/roebe/shell/project/project.rb +47 -0
- data/lib/roebe/shell/session/session.rb +205 -0
- data/lib/roebe/shell/shell/constants.rb +272 -0
- data/lib/roebe/shell/shell/menu_for_the_main_loop.rb +8380 -0
- data/lib/roebe/shell/shell/shell.rb +24642 -0
- data/lib/roebe/shell/shellrc_parser/shellrc_parser.rb +276 -0
- data/lib/roebe/shell/standalone_classes/time_converter.rb +86 -0
- data/lib/roebe/shell/standalone_classes/todo.rb +100 -0
- data/lib/roebe/shell/yaml/configuration/autoconvert_numbers.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/be_verbose.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/cd_burn_program.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/check_for_isos.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/check_upcoming_exams.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/collapse.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/colours.yml +10 -0
- data/lib/roebe/shell/yaml/configuration/debug.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/default_browser_location.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/default_delay.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/default_file_action.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/dictionaries.yml +2 -0
- data/lib/roebe/shell/yaml/configuration/display_index.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/do_show_modification_time.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/dvd_burn_program.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/editor.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/enter_extracted_directory.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/events.yml +2 -0
- data/lib/roebe/shell/yaml/configuration/guess_directory_name.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/jumper_directories.yml +9 -0
- data/lib/roebe/shell/yaml/configuration/last_directory.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/logfile_for_history.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/may_we_generate_file_skeleton.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/may_we_use_ftp.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/mplayer_favourite_files.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/official_release.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/open_downloaded_pdf_files_at_once.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/operating_system.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/padding.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/pdf_viewer.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/preferred_encoding.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/protected_directories.yml +8 -0
- data/lib/roebe/shell/yaml/configuration/remove_globbed_files.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/run_simulation.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/shall_we_log_the_user_input_history.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/shell_name.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/shell_prompt.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/shorten_directory_names.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/show_absolute_path.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/show_condensed_permissions.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/show_hidden_files.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/show_n_lines.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/simplified.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/stop_on_missing_symlink.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/title_renamer.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/translate_unknown_words.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/truncate_long_file_names.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/upload_screenshots.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_aliases.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_colours.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_dictionary.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_irb_drop.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_irc.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_konsole_colours.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/use_readline.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/video_collection.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/video_player.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/which_bin_shell_to_use.yml +1 -0
- data/lib/roebe/shell/yaml/configuration/which_shell.yml +1 -0
- data/lib/roebe/shell/yaml/default_apps.yml +7 -0
- data/lib/roebe/shell/yaml/ignore_these_last_commands.yml +12 -0
- data/lib/roebe/shell/yaml/lazy_load_these_components.yml +51 -0
- data/lib/roebe/shell_scripts/README.md +13 -0
- data/lib/roebe/shell_scripts/bashrc +39 -0
- data/lib/roebe/shell_scripts/check_bootloader.sh +30 -0
- data/lib/roebe/shell_scripts/cliner.sh +98 -0
- data/lib/roebe/shell_scripts/colour_grey_matrix.sh +7 -0
- data/lib/roebe/shell_scripts/coloured_calendar.sh +25 -0
- data/lib/roebe/shell_scripts/compile_ruby.sh +58 -0
- data/lib/roebe/shell_scripts/completion_for_rf.sh +1065 -0
- data/lib/roebe/shell_scripts/count_down.sh +13 -0
- data/lib/roebe/shell_scripts/create_new_file.sh +25 -0
- data/lib/roebe/shell_scripts/custom_prompts.sh +39 -0
- data/lib/roebe/shell_scripts/do_install.sh +24 -0
- data/lib/roebe/shell_scripts/do_stripped_install.sh +22 -0
- data/lib/roebe/shell_scripts/echo_loop_example.sh +4 -0
- data/lib/roebe/shell_scripts/extname.sh +21 -0
- data/lib/roebe/shell_scripts/extract.sh +42 -0
- data/lib/roebe/shell_scripts/extract_archive.sh +59 -0
- data/lib/roebe/shell_scripts/first_character.sh +31 -0
- data/lib/roebe/shell_scripts/how_to_obtain_user_input.sh +17 -0
- data/lib/roebe/shell_scripts/install_base_roebe.sh +41 -0
- data/lib/roebe/shell_scripts/lfs/001_binutils_1.sh +19 -0
- data/lib/roebe/shell_scripts/lfs/002_gcc_1.sh +36 -0
- data/lib/roebe/shell_scripts/lfs/003_linux_1.sh +23 -0
- data/lib/roebe/shell_scripts/lfs/004_glibc_1.sh +46 -0
- data/lib/roebe/shell_scripts/lfs/005_libstdc++_1.sh +31 -0
- data/lib/roebe/shell_scripts/lfs/006_m4_2.sh +22 -0
- data/lib/roebe/shell_scripts/lfs/007_ncurses_2.sh +39 -0
- data/lib/roebe/shell_scripts/lfs/008_bash_2.sh +21 -0
- data/lib/roebe/shell_scripts/lfs/009_coreutils_2.sh +25 -0
- data/lib/roebe/shell_scripts/lfs/010_diffutils_2.sh +20 -0
- data/lib/roebe/shell_scripts/lfs/011_file_2.sh +31 -0
- data/lib/roebe/shell_scripts/lfs/012_findutils_2.sh +20 -0
- data/lib/roebe/shell_scripts/lfs/013_gawk_2.sh +21 -0
- data/lib/roebe/shell_scripts/lfs/014_grep_2.sh +20 -0
- data/lib/roebe/shell_scripts/lfs/015_gzip_2.sh +20 -0
- data/lib/roebe/shell_scripts/lfs/016_make_2.sh +20 -0
- data/lib/roebe/shell_scripts/lfs/017_patch_2.sh +17 -0
- data/lib/roebe/shell_scripts/lfs/018_sed_2.sh +18 -0
- data/lib/roebe/shell_scripts/lfs/019_tar_2.sh +18 -0
- data/lib/roebe/shell_scripts/lfs/020_xz_2.sh +23 -0
- data/lib/roebe/shell_scripts/lfs/021_binutils_2.sh +39 -0
- data/lib/roebe/shell_scripts/lfs/022_gcc_2.sh +50 -0
- data/lib/roebe/shell_scripts/lfs/023_gettext_2.sh +13 -0
- data/lib/roebe/shell_scripts/lfs/024_bison_2.sh +13 -0
- data/lib/roebe/shell_scripts/lfs/README.md +28 -0
- data/lib/roebe/shell_scripts/lfs/lfs_build_variables.sh +254 -0
- data/lib/roebe/shell_scripts/lfs/lfs_variables.sh +31 -0
- data/lib/roebe/shell_scripts/lfs/libstdc++_2.sh +20 -0
- data/lib/roebe/shell_scripts/lfs/ruby_2.sh +11 -0
- data/lib/roebe/shell_scripts/list_colours.sh +25 -0
- data/lib/roebe/shell_scripts/locales.sh +15 -0
- data/lib/roebe/shell_scripts/loop_example.sh +5 -0
- data/lib/roebe/shell_scripts/lower.sh +21 -0
- data/lib/roebe/shell_scripts/misc.sh +327 -0
- data/lib/roebe/shell_scripts/musl_cross_compiler.sh +178 -0
- data/lib/roebe/shell_scripts/no_caps.sh +16 -0
- data/lib/roebe/shell_scripts/number_guessing_game.sh +37 -0
- data/lib/roebe/shell_scripts/parameters_example.sh +58 -0
- data/lib/roebe/shell_scripts/query_parameters.sh +58 -0
- data/lib/roebe/shell_scripts/remove_broken_symlinks_in_the_current_working_directory.sh +1 -0
- data/lib/roebe/shell_scripts/reset_path.sh +15 -0
- data/lib/roebe/shell_scripts/return_random_file.sh +20 -0
- data/lib/roebe/shell_scripts/run_gobo_fixes.sh +17 -0
- data/lib/roebe/shell_scripts/shell_file_containing_the_html_colours.sh +148 -0
- data/lib/roebe/shell_scripts/show_semigraphic_characters.sh +14 -0
- data/lib/roebe/shell_scripts/show_site_ruby.sh +15 -0
- data/lib/roebe/shell_scripts/source_in_all_completions.sh +9 -0
- data/lib/roebe/shell_scripts/true_ata.sh +34 -0
- data/lib/roebe/shell_scripts/truecolour_line.sh +13 -0
- data/lib/roebe/shell_scripts/zenity_count_to_100.sh +5 -0
- data/lib/roebe/sinatra/README.md +6 -0
- data/lib/roebe/sinatra/erb_example/erb_example.erb +10 -0
- data/lib/roebe/sinatra/erb_example/erb_example.rb +13 -0
- data/lib/roebe/sinatra/inline_template_example/inline_template_example.rb +27 -0
- data/lib/roebe/sinatra/modify_http_response_headers_example/modify_http_response_headers_example.rb +13 -0
- data/lib/roebe/sinatra/multi_urls/multi_urls.rb +29 -0
- data/lib/roebe/sinatra/optional_route.rb +19 -0
- data/lib/roebe/sinatra/query_the_name/query_the_name.rb +7 -0
- data/lib/roebe/sinatra/rock_paper_and_scissors_example/rock_paper_and_scissors_example.rb +51 -0
- data/lib/roebe/sinatra/route_definition_examples/route_definition_examples.rb +25 -0
- data/lib/roebe/sinatra/send_file_example/send_file_example.rb +54 -0
- data/lib/roebe/sinatra/session_counter/session_counter.rb +51 -0
- data/lib/roebe/sinatra/show_the_environment_variables/show_the_environment_variables.rb +9 -0
- data/lib/roebe/sinatra/simple_authentication/simple_authentication.rb +25 -0
- data/lib/roebe/sinatra/simple_hello_world/simple_hello_world.rb +5 -0
- data/lib/roebe/sinatra/sinatra_authentication_example/sinatra_authentication_example.rb +117 -0
- data/lib/roebe/sinatra/sinatra_example_with_rack_component/sinatra_example_with_rack_component.rb +15 -0
- data/lib/roebe/sinatra/subclassing_sinatra_example/subclassing_sinatra_example.rb +19 -0
- data/lib/roebe/snippets/README.md +1 -0
- data/lib/roebe/snippets/first_argument.rb +5 -0
- data/lib/roebe/snippets/obtain_all_descendants.rb +31 -0
- data/lib/roebe/sql_paradise/commands.rb +604 -0
- data/lib/roebe/sql_paradise/create_database.rb +43 -0
- data/lib/roebe/sql_paradise/create_table.rb +47 -0
- data/lib/roebe/sql_paradise/insert_into.rb +77 -0
- data/lib/roebe/sql_paradise/sql_command.rb +22 -0
- data/lib/roebe/sql_paradise/sql_paradise.rb +180 -0
- data/lib/roebe/time/README.md +6 -0
- data/lib/roebe/time/seconds.rb +79 -0
- data/lib/roebe/time/time.rb +196 -0
- data/lib/roebe/toplevel_methods/arrow_keys.rb +37 -0
- data/lib/roebe/toplevel_methods/ascii_paradise.rb +23 -0
- data/lib/roebe/toplevel_methods/autoprune.rb +40 -0
- data/lib/roebe/toplevel_methods/background.rb +89 -0
- data/lib/roebe/toplevel_methods/base64.rb +37 -0
- data/lib/roebe/toplevel_methods/beautify_system.rb +25 -0
- data/lib/roebe/toplevel_methods/blinking_cursor.rb +88 -0
- data/lib/roebe/toplevel_methods/boku_opening_times.rb +30 -0
- data/lib/roebe/toplevel_methods/build_all_my_local_gems.rb +39 -0
- data/lib/roebe/toplevel_methods/bundle_exam_results.rb +48 -0
- data/lib/roebe/toplevel_methods/c_debug.rb +22 -0
- data/lib/roebe/toplevel_methods/calculate_bmi.rb +41 -0
- data/lib/roebe/toplevel_methods/calculate_hypotenuse.rb +26 -0
- data/lib/roebe/toplevel_methods/chained.rb +19 -0
- data/lib/roebe/toplevel_methods/chdir.rb +44 -0
- data/lib/roebe/toplevel_methods/check_whether_an_internet_connection_is_available.rb +38 -0
- data/lib/roebe/toplevel_methods/chroot.rb +170 -0
- data/lib/roebe/toplevel_methods/cliner.rb +72 -0
- data/lib/roebe/toplevel_methods/colourize_files_and_directories.rb +69 -0
- data/lib/roebe/toplevel_methods/colourized_tokenitor.rb +56 -0
- data/lib/roebe/toplevel_methods/convert_global_env.rb +34 -0
- data/lib/roebe/toplevel_methods/copy_setup_rb_file.rb +27 -0
- data/lib/roebe/toplevel_methods/copy_the_linux_kernel.rb +38 -0
- data/lib/roebe/toplevel_methods/cp_to_here.rb +34 -0
- data/lib/roebe/toplevel_methods/crazy_make_mode.rb +70 -0
- data/lib/roebe/toplevel_methods/create_directory.rb +35 -0
- data/lib/roebe/toplevel_methods/create_directory_layout.rb +58 -0
- data/lib/roebe/toplevel_methods/create_this_c_file.rb +36 -0
- data/lib/roebe/toplevel_methods/disable.rb +27 -0
- data/lib/roebe/toplevel_methods/display_array.rb +97 -0
- data/lib/roebe/toplevel_methods/display_mbr.rb +33 -0
- data/lib/roebe/toplevel_methods/does_this_program_exist.rb +57 -0
- data/lib/roebe/toplevel_methods/does_this_terminal_support_unicode.rb +27 -0
- data/lib/roebe/toplevel_methods/downcase_all_entries_in_the_current_directory.rb +43 -0
- data/lib/roebe/toplevel_methods/download_certdata.rb +29 -0
- data/lib/roebe/toplevel_methods/download_emojis.rb +48 -0
- data/lib/roebe/toplevel_methods/e.rb +33 -0
- data/lib/roebe/toplevel_methods/editor.rb +47 -0
- data/lib/roebe/toplevel_methods/email.rb +32 -0
- data/lib/roebe/toplevel_methods/enable.rb +27 -0
- data/lib/roebe/toplevel_methods/env.rb +40 -0
- data/lib/roebe/toplevel_methods/esystem.rb +22 -0
- data/lib/roebe/toplevel_methods/extract.rb +53 -0
- data/lib/roebe/toplevel_methods/fibonacci.rb +108 -0
- data/lib/roebe/toplevel_methods/files.rb +362 -0
- data/lib/roebe/toplevel_methods/generate_konsole_css_file.rb +82 -0
- data/lib/roebe/toplevel_methods/grab_colour.rb +31 -0
- data/lib/roebe/toplevel_methods/halloween.rb +105 -0
- data/lib/roebe/toplevel_methods/hello_world.rb +28 -0
- data/lib/roebe/toplevel_methods/heredocs.rb +32 -0
- data/lib/roebe/toplevel_methods/hostname.rb +38 -0
- data/lib/roebe/toplevel_methods/human_readable.rb +41 -0
- data/lib/roebe/toplevel_methods/images.rb +28 -0
- data/lib/roebe/toplevel_methods/important_pdf_files.rb +131 -0
- data/lib/roebe/toplevel_methods/increase_volume.rb +19 -0
- data/lib/roebe/toplevel_methods/install_and_update_rcfiles.rb +26 -0
- data/lib/roebe/toplevel_methods/install_linux_kernel_api_headers.rb +50 -0
- data/lib/roebe/toplevel_methods/install_nss.rb +52 -0
- data/lib/roebe/toplevel_methods/install_roebe_addons.rb +68 -0
- data/lib/roebe/toplevel_methods/install_rust.rb +26 -0
- data/lib/roebe/toplevel_methods/install_the_cascadia_font.rb +59 -0
- data/lib/roebe/toplevel_methods/install_the_hack_font.rb +69 -0
- data/lib/roebe/toplevel_methods/install_the_jet_brains_mono_font.rb +55 -0
- data/lib/roebe/toplevel_methods/install_this_font.rb +80 -0
- data/lib/roebe/toplevel_methods/install_this_locale.rb +30 -0
- data/lib/roebe/toplevel_methods/install_vivaldi.rb +33 -0
- data/lib/roebe/toplevel_methods/instance_variable_get.rb +22 -0
- data/lib/roebe/toplevel_methods/irb.rb +34 -0
- data/lib/roebe/toplevel_methods/is_on_roebe.rb +64 -0
- data/lib/roebe/toplevel_methods/jp2a.rb +49 -0
- data/lib/roebe/toplevel_methods/keywords.rb +43 -0
- data/lib/roebe/toplevel_methods/lighttpd.rb +12 -0
- data/lib/roebe/toplevel_methods/load_custom_ruby_files.rb +41 -0
- data/lib/roebe/toplevel_methods/load_yaml.rb +28 -0
- data/lib/roebe/toplevel_methods/mama.rb +30 -0
- data/lib/roebe/toplevel_methods/master_boot_record.rb +84 -0
- data/lib/roebe/toplevel_methods/math.rb +29 -0
- data/lib/roebe/toplevel_methods/misc.rb +837 -0
- data/lib/roebe/toplevel_methods/module_methods.rb +425 -0
- data/lib/roebe/toplevel_methods/mount_procs.rb +25 -0
- data/lib/roebe/toplevel_methods/move_file.rb +38 -0
- data/lib/roebe/toplevel_methods/move_to_torrent_directory.rb +48 -0
- data/lib/roebe/toplevel_methods/multimedia.rb +117 -0
- data/lib/roebe/toplevel_methods/n_characters_in_this_file.rb +45 -0
- data/lib/roebe/toplevel_methods/nano_addons.rb +36 -0
- data/lib/roebe/toplevel_methods/new_konsole_tab.rb +21 -0
- data/lib/roebe/toplevel_methods/newstud/newstud1.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud10.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud11.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud12.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud13.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud14.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud15.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud16.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud17.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud18.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud19.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud2.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud20.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud21.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud22.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud23.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud24.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud25.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud3.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud4.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud5.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud6.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud7.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud8.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud/newstud9.rb +24 -0
- data/lib/roebe/toplevel_methods/newstud.rb +23 -0
- data/lib/roebe/toplevel_methods/no_caps.rb +29 -0
- data/lib/roebe/toplevel_methods/ntrad.rb +36 -0
- data/lib/roebe/toplevel_methods/open_in_browser.rb +30 -0
- data/lib/roebe/toplevel_methods/open_in_editor.rb +29 -0
- data/lib/roebe/toplevel_methods/open_in_editor_and_browser.rb +38 -0
- data/lib/roebe/toplevel_methods/open_ports.rb +67 -0
- data/lib/roebe/toplevel_methods/opnn.rb +31 -0
- data/lib/roebe/toplevel_methods/permanently_set_project_base_directory_to.rb +40 -0
- data/lib/roebe/toplevel_methods/platform.rb +46 -0
- data/lib/roebe/toplevel_methods/pp_output.rb +31 -0
- data/lib/roebe/toplevel_methods/prime_numbers.rb +22 -0
- data/lib/roebe/toplevel_methods/programs_directory.rb +29 -0
- data/lib/roebe/toplevel_methods/purgeboth.rb +51 -0
- data/lib/roebe/toplevel_methods/puts_this.rb +29 -0
- data/lib/roebe/toplevel_methods/rds.rb +33 -0
- data/lib/roebe/toplevel_methods/regex.rb +87 -0
- data/lib/roebe/toplevel_methods/register_sigint.rb +67 -0
- data/lib/roebe/toplevel_methods/remove_user.rb +29 -0
- data/lib/roebe/toplevel_methods/repetition_pattern.rb +38 -0
- data/lib/roebe/toplevel_methods/replace_leading_file_name.rb +35 -0
- data/lib/roebe/toplevel_methods/replace_localhost_with_data.rb +39 -0
- data/lib/roebe/toplevel_methods/report_classes.rb +51 -0
- data/lib/roebe/toplevel_methods/report_the_gtk_versions_available.rb +40 -0
- data/lib/roebe/toplevel_methods/report_the_location_of_the_default_browser.rb +40 -0
- data/lib/roebe/toplevel_methods/require_this_roebe_class.rb +23 -0
- data/lib/roebe/toplevel_methods/return_all_remote_entries_from_this_url.rb +38 -0
- data/lib/roebe/toplevel_methods/return_date.rb +23 -0
- data/lib/roebe/toplevel_methods/return_even_numbered_lines_from_this_file.rb +37 -0
- data/lib/roebe/toplevel_methods/return_pwd.rb +25 -0
- data/lib/roebe/toplevel_methods/rinstall2.rb +115 -0
- data/lib/roebe/toplevel_methods/rubyzip.rb +85 -0
- data/lib/roebe/toplevel_methods/run_this_file_in_the_background.rb +26 -0
- data/lib/roebe/toplevel_methods/sanitize_url.rb +74 -0
- data/lib/roebe/toplevel_methods/set_ten_aliases.rb +25 -0
- data/lib/roebe/toplevel_methods/setup.rb +37 -0
- data/lib/roebe/toplevel_methods/show_beauty_string.rb +27 -0
- data/lib/roebe/toplevel_methods/show_processes.rb +31 -0
- data/lib/roebe/toplevel_methods/silent_redirection.rb +17 -0
- data/lib/roebe/toplevel_methods/sitelibdir.rb +24 -0
- data/lib/roebe/toplevel_methods/studium1.rb +30 -0
- data/lib/roebe/toplevel_methods/time.rb +152 -0
- data/lib/roebe/toplevel_methods/to_bool.rb +31 -0
- data/lib/roebe/toplevel_methods/to_camelcase.rb +19 -0
- data/lib/roebe/toplevel_methods/to_mp3.rb +40 -0
- data/lib/roebe/toplevel_methods/to_underscore.rb +36 -0
- data/lib/roebe/toplevel_methods/tokenitor.rb +29 -0
- data/lib/roebe/toplevel_methods/trad.rb +37 -0
- data/lib/roebe/toplevel_methods/try_to_enable_the_expanded_cd_aliases.rb +64 -0
- data/lib/roebe/toplevel_methods/unicode/README.md +1 -0
- data/lib/roebe/toplevel_methods/unicode/colourful_unicode_snowmen.rb +154 -0
- data/lib/roebe/toplevel_methods/unicode/completed.rb +59 -0
- data/lib/roebe/toplevel_methods/unicode/decompose_this_unicode_symbol.rb +26 -0
- data/lib/roebe/toplevel_methods/unicode/display_unicode_snowman.rb +31 -0
- data/lib/roebe/toplevel_methods/unicode/download_unicode_dataset.rb +32 -0
- data/lib/roebe/toplevel_methods/unicode/map_input_to_unicode_symbol.rb +260 -0
- data/lib/roebe/toplevel_methods/unicode/popular_unicode_symbols.rb +1105 -0
- data/lib/roebe/toplevel_methods/unicode/return_all_unicode_symbols.rb +26 -0
- data/lib/roebe/toplevel_methods/unicode/unicode_block_elements.rb +262 -0
- data/lib/roebe/toplevel_methods/unicode/unicode_chess_symbols.rb +172 -0
- data/lib/roebe/toplevel_methods/update_pciids.rb +71 -0
- data/lib/roebe/toplevel_methods/update_the_main_pdf_viewer_file_with_this_program.rb +58 -0
- data/lib/roebe/toplevel_methods/variables.rb +26 -0
- data/lib/roebe/toplevel_methods/verbose_truth.rb +23 -0
- data/lib/roebe/toplevel_methods/video.rb +39 -0
- data/lib/roebe/toplevel_methods/warning.rb +184 -0
- data/lib/roebe/toplevel_methods/webrick.rb +80 -0
- data/lib/roebe/toplevel_methods/wget.rb +17 -0
- data/lib/roebe/toplevel_methods/whois.rb +36 -0
- data/lib/roebe/toplevel_methods/windows.rb +22 -0
- data/lib/roebe/toplevel_methods/wlan/bring_up_this_wlan_device.rb +51 -0
- data/lib/roebe/toplevel_methods/wlan/scan_for_wlan_spots.rb +39 -0
- data/lib/roebe/toplevel_methods/word_frequencies.rb +65 -0
- data/lib/roebe/toplevel_methods/write_what_into.rb +86 -0
- data/lib/roebe/toplevel_methods/xorg_buffer.rb +30 -0
- data/lib/roebe/toplevel_methods/zlib.rb +57 -0
- data/lib/roebe/urxvt/config +7 -0
- data/lib/roebe/validation/README.md +3 -0
- data/lib/roebe/validation/validate_roeberia_environment_variables.rb +120 -0
- data/lib/roebe/version/version.rb +54 -0
- data/lib/roebe/windows/bat/README.md +1 -0
- data/lib/roebe/windows/bat/compile_gtk_application_hello_world_example.bat +1 -0
- data/lib/roebe/windows/bat/screenCapture.bat +282 -0
- data/lib/roebe/windows/doskey.md +50452 -0
- data/lib/roebe/windows/misc.rb +40 -0
- data/lib/roebe/windows/popup_windows_message_box.rb +21 -0
- data/lib/roebe/windows/powershell.rb +341 -0
- data/lib/roebe/windows/usb_devices.rb +38 -0
- data/lib/roebe/www/1984/1984.cgi +98 -0
- data/lib/roebe/www/BIOS/BIOS.cgi +79 -0
- data/lib/roebe/www/GIS/GIS.cgi +201 -0
- data/lib/roebe/www/GhostBSD/GhostBSD.cgi +7 -0
- data/lib/roebe/www/GhostBSD/GhostBSD.rb +39 -0
- data/lib/roebe/www/GhostBSD/GhostBSD.sinatra +56 -0
- data/lib/roebe/www/HDMI/HDMI.cgi +34 -0
- data/lib/roebe/www/IntelliJ_IDEA/tutorial.cgi +82 -0
- data/lib/roebe/www/LATEX/LATEX.md +29 -0
- data/lib/roebe/www/LEDS/LEDS.cgi +7 -0
- data/lib/roebe/www/LEDS/LEDS.rb +201 -0
- data/lib/roebe/www/LEDS/LEDS.sinatra +58 -0
- data/lib/roebe/www/OLEDS/OLEDS.md +44 -0
- data/lib/roebe/www/PCR/PCR.cgi +106 -0
- data/lib/roebe/www/R/R.cgi +9 -0
- data/lib/roebe/www/R/R.rb +1492 -0
- data/lib/roebe/www/R/R.sinatra +58 -0
- data/lib/roebe/www/R/examples/boxplot_example.R +42 -0
- data/lib/roebe/www/R/functions/functions.R +104 -0
- data/lib/roebe/www/RAM/RAM.cgi +7 -0
- data/lib/roebe/www/RAM/RAM.rb +254 -0
- data/lib/roebe/www/RAM/RAM.sinatra +56 -0
- data/lib/roebe/www/REST/REST.md +12 -0
- data/lib/roebe/www/RNA/RNA.cgi +245 -0
- data/lib/roebe/www/SDL/SDL.cgi +7 -0
- data/lib/roebe/www/SDL/SDL.rb +710 -0
- data/lib/roebe/www/SDL/SDL.sinatra +56 -0
- data/lib/roebe/www/SQL/SQL.cgi +34 -0
- data/lib/roebe/www/T-mobile/vienna.md +2 -0
- data/lib/roebe/www/UNIX/UNIX.cgi +68 -0
- data/lib/roebe/www/X3D/X3D.cgi +7 -0
- data/lib/roebe/www/X3D/X3D.rb +46 -0
- data/lib/roebe/www/X3D/X3D.sinatra +56 -0
- data/lib/roebe/www/abwasch/abwasch.cgi +7 -0
- data/lib/roebe/www/abwasch/abwasch.rb +116 -0
- data/lib/roebe/www/abwasch/abwasch.sinatra +52 -0
- data/lib/roebe/www/adobe_acrobat_reader/content.md +7 -0
- data/lib/roebe/www/aging/aging.cgi +7 -0
- data/lib/roebe/www/aging/aging.rb +1322 -0
- data/lib/roebe/www/aging/aging.sinatra +56 -0
- data/lib/roebe/www/agrarm/303/244rkte/agrarm/303/244rkte.cgi +209 -0
- data/lib/roebe/www/aids/aids.cgi +7 -0
- data/lib/roebe/www/aids/aids.rb +240 -0
- data/lib/roebe/www/aids/aids.sinatra +56 -0
- data/lib/roebe/www/ajax/ajax.cgi +7 -0
- data/lib/roebe/www/ajax/ajax.rb +88 -0
- data/lib/roebe/www/ajax/ajax.sinatra +56 -0
- data/lib/roebe/www/algorithms/algorithms.cgi +7 -0
- data/lib/roebe/www/algorithms/algorithms.rb +262 -0
- data/lib/roebe/www/algorithms/algorithms.sinatra +56 -0
- data/lib/roebe/www/alkohole/alkohole.cgi +61 -0
- data/lib/roebe/www/allegro/allegro.cgi +7 -0
- data/lib/roebe/www/allegro/allegro.rb +396 -0
- data/lib/roebe/www/allegro/allegro.sinatra +56 -0
- data/lib/roebe/www/alsa/alsa.cgi +7 -0
- data/lib/roebe/www/alsa/alsa.rb +313 -0
- data/lib/roebe/www/alsa/alsa.sinatra +56 -0
- data/lib/roebe/www/amino_acids/amino_acids.cgi +7 -0
- data/lib/roebe/www/amino_acids/amino_acids.rb +34 -0
- data/lib/roebe/www/amino_acids/amino_acids.sinatra +56 -0
- data/lib/roebe/www/amusing_bits/fussball_zitate.cgi +7 -0
- data/lib/roebe/www/amusing_bits/fussball_zitate.rb +182 -0
- data/lib/roebe/www/amusing_bits/fussball_zitate.sinatra +56 -0
- data/lib/roebe/www/amusing_bits/george_bush/george_bush.cgi +7 -0
- data/lib/roebe/www/amusing_bits/george_bush/george_bush.rb +189 -0
- data/lib/roebe/www/amusing_bits/george_bush/george_bush.sinatra +56 -0
- data/lib/roebe/www/amusing_bits/lustige_menschen/lustige_menschen.cgi +7 -0
- data/lib/roebe/www/amusing_bits/lustige_menschen/lustige_menschen.rb +142 -0
- data/lib/roebe/www/amusing_bits/lustige_menschen/lustige_menschen.sinatra +56 -0
- data/lib/roebe/www/amusing_bits/lustige_tiere/lustige_tiere.cgi +9 -0
- data/lib/roebe/www/amusing_bits/lustige_tiere/lustige_tiere.rb +211 -0
- data/lib/roebe/www/amusing_bits/lustige_tiere/lustige_tiere.sinatra +56 -0
- data/lib/roebe/www/amusing_bits/the_iraq_war_and_other_wars/the_iraq_war_and_other_wars.cgi +7 -0
- data/lib/roebe/www/amusing_bits/the_iraq_war_and_other_wars/the_iraq_war_and_other_wars.rb +74 -0
- data/lib/roebe/www/amusing_bits/the_iraq_war_and_other_wars/the_iraq_war_and_other_wars.sinatra +56 -0
- data/lib/roebe/www/analytical_chemistry/content.md +2 -0
- data/lib/roebe/www/animals/animals.cgi +31 -0
- data/lib/roebe/www/anthropology/anthropology.cgi +7 -0
- data/lib/roebe/www/anthropology/anthropology.rb +26 -0
- data/lib/roebe/www/anthropology/anthropology.sinatra +56 -0
- data/lib/roebe/www/antibiotics/antibiotics.cgi +68 -0
- data/lib/roebe/www/antibodies/antibodies.cgi +7 -0
- data/lib/roebe/www/antibodies/antibodies.rb +311 -0
- data/lib/roebe/www/antibodies/antibodies.sinatra +56 -0
- data/lib/roebe/www/ants/ants.cgi +7 -0
- data/lib/roebe/www/ants/ants.rb +150 -0
- data/lib/roebe/www/ants/ants.sinatra +56 -0
- data/lib/roebe/www/ants/news.md +90 -0
- data/lib/roebe/www/apache/apache.cgi +7 -0
- data/lib/roebe/www/apache/apache.rb +1164 -0
- data/lib/roebe/www/apache/apache.sinatra +56 -0
- data/lib/roebe/www/apache/configuration/add_handler.conf +26 -0
- data/lib/roebe/www/apache/configuration/add_type.conf +29 -0
- data/lib/roebe/www/apache/configuration/autogenerated_rewrite_rules.conf +66 -0
- data/lib/roebe/www/apache/configuration/document_root.conf +32 -0
- data/lib/roebe/www/apache/configuration/email.conf +8 -0
- data/lib/roebe/www/apache/configuration/error_log.conf +36 -0
- data/lib/roebe/www/apache/configuration/load_modules.conf +48 -0
- data/lib/roebe/www/apache/configuration/mime_module.conf +11 -0
- data/lib/roebe/www/apache/configuration/php.conf +22 -0
- data/lib/roebe/www/apache/configuration/proxy_html_module.conf +6 -0
- data/lib/roebe/www/apache/configuration/rewrite_rules.conf +137 -0
- data/lib/roebe/www/apache/configuration/ruby.conf +13 -0
- data/lib/roebe/www/apache/configuration/server_name.conf +10 -0
- data/lib/roebe/www/apache/configuration/server_root.conf +6 -0
- data/lib/roebe/www/apache/configuration/unixd_module.conf +22 -0
- data/lib/roebe/www/apoptose/apoptose.cgi +31 -0
- data/lib/roebe/www/apple/apple.cgi +7 -0
- data/lib/roebe/www/apple/apple.rb +237 -0
- data/lib/roebe/www/apple/apple.sinatra +56 -0
- data/lib/roebe/www/archaea/archaea.cgi +7 -0
- data/lib/roebe/www/archaea/archaea.rb +540 -0
- data/lib/roebe/www/archaea/archaea.sinatra +56 -0
- data/lib/roebe/www/arduino/arduino.cgi +7 -0
- data/lib/roebe/www/arduino/arduino.rb +275 -0
- data/lib/roebe/www/arduino/arduino.sinatra +56 -0
- data/lib/roebe/www/arduino/sketches/0001_blink.sketch +30 -0
- data/lib/roebe/www/ariolante_and_the_kitten/AriolanteAndTheKitten.rb +92 -0
- data/lib/roebe/www/ariolante_and_the_kitten/ariolante_and_the_kitten.cgi +7 -0
- data/lib/roebe/www/ariolante_and_the_kitten/ariolante_and_the_kitten.html +45455 -0
- data/lib/roebe/www/ariolante_and_the_kitten/ariolante_and_the_kitten.md +104 -0
- data/lib/roebe/www/ariolante_and_the_kitten/ariolante_and_the_kitten.rb +113 -0
- data/lib/roebe/www/ariolante_and_the_kitten/ariolante_and_the_kitten.sinatra +61 -0
- data/lib/roebe/www/armaturen/armaturen.cgi +7 -0
- data/lib/roebe/www/armaturen/armaturen.rb +93 -0
- data/lib/roebe/www/armaturen/armaturen.sinatra +56 -0
- data/lib/roebe/www/art/art.cgi +7 -0
- data/lib/roebe/www/art/art.rb +288 -0
- data/lib/roebe/www/art/art.sinatra +52 -0
- data/lib/roebe/www/artificial_intelligence/artificial_intelligence.cgi +7 -0
- data/lib/roebe/www/artificial_intelligence/artificial_intelligence.rb +589 -0
- data/lib/roebe/www/artificial_intelligence/artificial_intelligence.sinatra +56 -0
- data/lib/roebe/www/atomkraftwerke/atomkraftwerke.cgi +7 -0
- data/lib/roebe/www/atomkraftwerke/atomkraftwerke.rb +320 -0
- data/lib/roebe/www/atomkraftwerke/atomkraftwerke.sinatra +56 -0
- data/lib/roebe/www/audacity/audacity.cgi +29 -0
- data/lib/roebe/www/audio/audio.cgi +9 -0
- data/lib/roebe/www/audio/audio.rb +2747 -0
- data/lib/roebe/www/audio/audio.sinatra +56 -0
- data/lib/roebe/www/avisynth/avisynth.cgi +173 -0
- data/lib/roebe/www/bacteria/bacteria.cgi +7 -0
- data/lib/roebe/www/bacteria/bacteria.rb +54 -0
- data/lib/roebe/www/bacteria/bacteria.sinatra +56 -0
- data/lib/roebe/www/batterien/batterien.cgi +9 -0
- data/lib/roebe/www/batterien/batterien.rb +162 -0
- data/lib/roebe/www/batterien/batterien.sinatra +56 -0
- data/lib/roebe/www/beamte/beamte.cgi +7 -0
- data/lib/roebe/www/beamte/beamte.rb +19 -0
- data/lib/roebe/www/beamte/beamte.sinatra +56 -0
- data/lib/roebe/www/beauty/beauty.cgi +9 -0
- data/lib/roebe/www/beauty/beauty.rb +132 -0
- data/lib/roebe/www/beauty/beauty.sinatra +56 -0
- data/lib/roebe/www/best_voices/best_voices.cgi +7 -0
- data/lib/roebe/www/best_voices/best_voices.rb +71 -0
- data/lib/roebe/www/best_voices/best_voices.sinatra +56 -0
- data/lib/roebe/www/biobricks/biobricks.cgi +7 -0
- data/lib/roebe/www/biobricks/biobricks.rb +19 -0
- data/lib/roebe/www/biobricks/biobricks.sinatra +56 -0
- data/lib/roebe/www/biochemistry/biochemistry.cgi +7 -0
- data/lib/roebe/www/biochemistry/biochemistry.rb +403 -0
- data/lib/roebe/www/biochemistry/biochemistry.sinatra +56 -0
- data/lib/roebe/www/biochips/biochips.cgi +26 -0
- data/lib/roebe/www/bioinformatics/bioinformatics.cgi +11 -0
- data/lib/roebe/www/bioinformatics/bioinformatics.rb +416 -0
- data/lib/roebe/www/bioinformatics/bioinformatics.sinatra +56 -0
- data/lib/roebe/www/biology/biology.cgi +137 -0
- data/lib/roebe/www/biology/biology.md +19 -0
- data/lib/roebe/www/biomarkers/biomarkers.cgi +138 -0
- data/lib/roebe/www/biomaterials/biomaterials.cgi +7 -0
- data/lib/roebe/www/biomaterials/biomaterials.rb +349 -0
- data/lib/roebe/www/biomaterials/biomaterials.sinatra +56 -0
- data/lib/roebe/www/biotechnology/biotechnology.cgi +7 -0
- data/lib/roebe/www/biotechnology/biotechnology.rb +525 -0
- data/lib/roebe/www/biotechnology/biotechnology.sinatra +56 -0
- data/lib/roebe/www/blender3d/blender3d.cgi +7 -0
- data/lib/roebe/www/blender3d/blender3d.rb +265 -0
- data/lib/roebe/www/blender3d/blender3d.sinatra +56 -0
- data/lib/roebe/www/blog/blog.cgi +9 -0
- data/lib/roebe/www/blog/blog.rb +258 -0
- data/lib/roebe/www/blog/blog.sinatra +56 -0
- data/lib/roebe/www/bluefish/README.md +5 -0
- data/lib/roebe/www/bluefish/STD.bfproject +62 -0
- data/lib/roebe/www/bluefish/STD.bfproject~ +62 -0
- data/lib/roebe/www/bluefish/TODO.md +6 -0
- data/lib/roebe/www/bodenkunde/bodenkunde.cgi +128 -0
- data/lib/roebe/www/bsd/bsd.cgi +7 -0
- data/lib/roebe/www/bsd/bsd.rb +90 -0
- data/lib/roebe/www/bsd/bsd.sinatra +56 -0
- data/lib/roebe/www/calculator/calculator.cgi +7 -0
- data/lib/roebe/www/calculator/calculator.rb +17 -0
- data/lib/roebe/www/calculator/calculator.sinatra +56 -0
- data/lib/roebe/www/cameras/cameras.cgi +9 -0
- data/lib/roebe/www/cameras/cameras.rb +358 -0
- data/lib/roebe/www/cameras/cameras.sinatra +56 -0
- data/lib/roebe/www/cancer/cancer.cgi +7 -0
- data/lib/roebe/www/cancer/cancer.rb +270 -0
- data/lib/roebe/www/cancer/cancer.sinatra +56 -0
- data/lib/roebe/www/cassette/cassette.cgi +719 -0
- data/lib/roebe/www/cats/cats.cgi +7 -0
- data/lib/roebe/www/cats/cats.rb +310 -0
- data/lib/roebe/www/cats/cats.sinatra +56 -0
- data/lib/roebe/www/cell_cultures/cell_cultures.cgi +378 -0
- data/lib/roebe/www/cellbiology/cellbiology.cgi +7 -0
- data/lib/roebe/www/cellbiology/cellbiology.rb +1114 -0
- data/lib/roebe/www/cellbiology/cellbiology.sinatra +56 -0
- data/lib/roebe/www/cellulose/cellulose.cgi +7 -0
- data/lib/roebe/www/cellulose/cellulose.rb +28 -0
- data/lib/roebe/www/cellulose/cellulose.sinatra +56 -0
- data/lib/roebe/www/chemistry/chemistry.cgi +7 -0
- data/lib/roebe/www/chemistry/chemistry.rb +1961 -0
- data/lib/roebe/www/chemistry/chemistry.sinatra +58 -0
- data/lib/roebe/www/chromatography/content.md +2 -0
- data/lib/roebe/www/chrome_and_chromium/chrome_and_chromium.cgi +7 -0
- data/lib/roebe/www/chrome_and_chromium/chrome_and_chromium.rb +295 -0
- data/lib/roebe/www/chrome_and_chromium/chrome_and_chromium.sinatra +56 -0
- data/lib/roebe/www/cmake/CMakeTemplate.txt +48 -0
- data/lib/roebe/www/cmake/cmake.cgi +7 -0
- data/lib/roebe/www/cmake/cmake.rb +142 -0
- data/lib/roebe/www/cmake/cmake.sinatra +52 -0
- data/lib/roebe/www/codecs/codecs.cgi +94 -0
- data/lib/roebe/www/codepages/codepages.cgi +9 -0
- data/lib/roebe/www/codepages/codepages.rb +17 -0
- data/lib/roebe/www/codepages/codepages.sinatra +56 -0
- data/lib/roebe/www/cognitive_biology/cognitive_biology.cgi +805 -0
- data/lib/roebe/www/cognitive_biology/cognitive_biology.html +40634 -0
- data/lib/roebe/www/compact_disc/compact_disc.cgi +7 -0
- data/lib/roebe/www/compact_disc/compact_disc.rb +124 -0
- data/lib/roebe/www/compact_disc/compact_disc.sinatra +56 -0
- data/lib/roebe/www/compiling/compiling.cgi +9 -0
- data/lib/roebe/www/compiling/compiling.rb +2580 -0
- data/lib/roebe/www/compiling/compiling.sinatra +52 -0
- data/lib/roebe/www/componists/vivaldi.cgi +224 -0
- data/lib/roebe/www/computers/computers.cgi +108 -0
- data/lib/roebe/www/conference_talks/conference_talks.md +11 -0
- data/lib/roebe/www/conky/conky.cgi +7 -0
- data/lib/roebe/www/conky/conky.rb +132 -0
- data/lib/roebe/www/conky/conky.sinatra +56 -0
- data/lib/roebe/www/conky/my_conkyrc_04.02.2020 +83 -0
- data/lib/roebe/www/connectbox/connectbox.cgi +123 -0
- data/lib/roebe/www/consumers/consumers.cgi +7 -0
- data/lib/roebe/www/consumers/consumers.rb +23 -0
- data/lib/roebe/www/consumers/consumers.sinatra +56 -0
- data/lib/roebe/www/covid19/covid19.cgi +10 -0
- data/lib/roebe/www/covid19/covid19.rb +2160 -0
- data/lib/roebe/www/covid19/covid19.sinatra +56 -0
- data/lib/roebe/www/creativity/creativity.cgi +9 -0
- data/lib/roebe/www/creativity/creativity.rb +40 -0
- data/lib/roebe/www/creativity/creativity.sinatra +56 -0
- data/lib/roebe/www/crispr/crispr.cgi +7 -0
- data/lib/roebe/www/crispr/crispr.rb +317 -0
- data/lib/roebe/www/crispr/crispr.sinatra +56 -0
- data/lib/roebe/www/cron/cron.cgi +7 -0
- data/lib/roebe/www/cron/cron.rb +99 -0
- data/lib/roebe/www/cron/cron.sinatra +56 -0
- data/lib/roebe/www/cyanobacteria/cyanobacteria.cgi +7 -0
- data/lib/roebe/www/cyanobacteria/cyanobacteria.rb +127 -0
- data/lib/roebe/www/cyanobacteria/cyanobacteria.sinatra +56 -0
- data/lib/roebe/www/cytogenetics/cytogenetics.cgi +7 -0
- data/lib/roebe/www/cytogenetics/cytogenetics.rb +41 -0
- data/lib/roebe/www/cytogenetics/cytogenetics.sinatra +56 -0
- data/lib/roebe/www/databases/databases.cgi +78 -0
- data/lib/roebe/www/databases/postgresql/postgresql.cgi +7 -0
- data/lib/roebe/www/databases/postgresql/postgresql.rb +323 -0
- data/lib/roebe/www/databases/postgresql/postgresql.sinatra +56 -0
- data/lib/roebe/www/databases/postgresql/psqlrc +22 -0
- data/lib/roebe/www/databases/sqlite/sqlite.cgi +7 -0
- data/lib/roebe/www/databases/sqlite/sqlite.rb +625 -0
- data/lib/roebe/www/databases/sqlite/sqlite.sinatra +56 -0
- data/lib/roebe/www/decibel/decibel.cgi +96 -0
- data/lib/roebe/www/designing/SLOGANS.md +3 -0
- data/lib/roebe/www/designing_and_art/designing_and_art.cgi +9 -0
- data/lib/roebe/www/designing_and_art/designing_and_art.rb +755 -0
- data/lib/roebe/www/designing_and_art/designing_and_art.sinatra +56 -0
- data/lib/roebe/www/designing_on_linux/designing_on_linux.cgi +7 -0
- data/lib/roebe/www/designing_on_linux/designing_on_linux.rb +66 -0
- data/lib/roebe/www/designing_on_linux/designing_on_linux.sinatra +56 -0
- data/lib/roebe/www/developmental_biology/developmental_biology.cgi +7 -0
- data/lib/roebe/www/developmental_biology/developmental_biology.rb +503 -0
- data/lib/roebe/www/developmental_biology/developmental_biology.sinatra +56 -0
- data/lib/roebe/www/die_erde/die_erde.cgi +7 -0
- data/lib/roebe/www/die_erde/die_erde.rb +45 -0
- data/lib/roebe/www/die_erde/die_erde.sinatra +56 -0
- data/lib/roebe/www/die_herrenlose_katze/die_herrenlose_katze.cgi +7 -0
- data/lib/roebe/www/die_herrenlose_katze/die_herrenlose_katze.html +41583 -0
- data/lib/roebe/www/die_herrenlose_katze/die_herrenlose_katze.rb +476 -0
- data/lib/roebe/www/die_herrenlose_katze/die_herrenlose_katze.sinatra +61 -0
- data/lib/roebe/www/die_katze_im_schnee/DieKatzeImSchnee.rb +80 -0
- data/lib/roebe/www/die_katze_im_schnee/die_katze_im_schnee.cgi +7 -0
- data/lib/roebe/www/die_katze_im_schnee/die_katze_im_schnee.html +41461 -0
- data/lib/roebe/www/die_katze_im_schnee/die_katze_im_schnee.md +185 -0
- data/lib/roebe/www/die_katze_im_schnee/die_katze_im_schnee.rb +111 -0
- data/lib/roebe/www/die_katze_im_schnee/die_katze_im_schnee.sinatra +61 -0
- data/lib/roebe/www/direct_democracy/direct_democracy.cgi +7 -0
- data/lib/roebe/www/direct_democracy/direct_democracy.rb +45 -0
- data/lib/roebe/www/direct_democracy/direct_democracy.sinatra +56 -0
- data/lib/roebe/www/distcc/distcc.cgi +7 -0
- data/lib/roebe/www/distcc/distcc.rb +78 -0
- data/lib/roebe/www/distcc/distcc.sinatra +56 -0
- data/lib/roebe/www/dna_repair_and_mutations/dna_repair_and_mutations.cgi +448 -0
- data/lib/roebe/www/dna_replication/DNA_replication.cgi +32 -0
- data/lib/roebe/www/do_androids_dream_of_electric_sheep/README.md +2 -0
- data/lib/roebe/www/do_androids_dream_of_electric_sheep/summary.md +4 -0
- data/lib/roebe/www/documentation/README.md +3 -0
- data/lib/roebe/www/documentation/documentation.rb +98 -0
- data/lib/roebe/www/dolphin/add_to_vlc_playlist.desktop +12 -0
- data/lib/roebe/www/dosbox/autogenerated_dosbox.conf +776 -0
- data/lib/roebe/www/dosbox/dosbox.cgi +7 -0
- data/lib/roebe/www/dosbox/dosbox.rb +241 -0
- data/lib/roebe/www/dosbox/dosbox.sinatra +52 -0
- data/lib/roebe/www/dosboxx/dosboxx.cgi +74 -0
- data/lib/roebe/www/drucker/drucker.cgi +7 -0
- data/lib/roebe/www/drucker/drucker.rb +256 -0
- data/lib/roebe/www/drucker/drucker.sinatra +56 -0
- data/lib/roebe/www/economy/economy.cgi +7 -0
- data/lib/roebe/www/economy/economy.rb +16 -0
- data/lib/roebe/www/economy/economy.sinatra +56 -0
- data/lib/roebe/www/economy/mieten_und_wohnen.cgi +7 -0
- data/lib/roebe/www/economy/mieten_und_wohnen.rb +39 -0
- data/lib/roebe/www/economy/mieten_und_wohnen.sinatra +56 -0
- data/lib/roebe/www/elektrophorese/elektrophorese.cgi +277 -0
- data/lib/roebe/www/emacs/emacs.cgi +7 -0
- data/lib/roebe/www/emacs/emacs.rb +71 -0
- data/lib/roebe/www/emacs/emacs.sinatra +56 -0
- data/lib/roebe/www/embeddable_interface.rb +54 -0
- data/lib/roebe/www/encodings/encodings.cgi +7 -0
- data/lib/roebe/www/encodings/encodings.rb +80 -0
- data/lib/roebe/www/encodings/encodings.sinatra +56 -0
- data/lib/roebe/www/english/english.cgi +7 -0
- data/lib/roebe/www/english/english.rb +62 -0
- data/lib/roebe/www/english/english.sinatra +52 -0
- data/lib/roebe/www/enzymes/enzymes.cgi +53 -0
- data/lib/roebe/www/epigenetics/epigenetics.cgi +75 -0
- data/lib/roebe/www/erben/erben.cgi +7 -0
- data/lib/roebe/www/erben/erben.rb +45 -0
- data/lib/roebe/www/erben/erben.sinatra +56 -0
- data/lib/roebe/www/ern/303/244hrung/ern/303/244hrung.cgi +7 -0
- data/lib/roebe/www/ern/303/244hrung/ern/303/244hrung.rb +263 -0
- data/lib/roebe/www/ern/303/244hrung/ern/303/244hrung.sinatra +56 -0
- data/lib/roebe/www/erste_hilfe/erste_hilfe.cgi +416 -0
- data/lib/roebe/www/ethernet/ethernet.cgi +27 -0
- data/lib/roebe/www/ethik/ethik.md +4 -0
- data/lib/roebe/www/euphemismen_und_werturteile/euphemismen_und_werturteile.cgi +9 -0
- data/lib/roebe/www/euphemismen_und_werturteile/euphemismen_und_werturteile.rb +301 -0
- data/lib/roebe/www/euphemismen_und_werturteile/euphemismen_und_werturteile.sinatra +56 -0
- data/lib/roebe/www/evolution/evolution.cgi +7 -0
- data/lib/roebe/www/evolution/evolution.rb +457 -0
- data/lib/roebe/www/evolution/evolution.sinatra +52 -0
- data/lib/roebe/www/excel/excel.cgi +7 -0
- data/lib/roebe/www/excel/excel.rb +23 -0
- data/lib/roebe/www/excel/excel.sinatra +56 -0
- data/lib/roebe/www/festplatten/festplatten.cgi +7 -0
- data/lib/roebe/www/festplatten/festplatten.rb +839 -0
- data/lib/roebe/www/festplatten/festplatten.sinatra +56 -0
- data/lib/roebe/www/ffmpeg/ffmpeg.cgi +454 -0
- data/lib/roebe/www/fire/fire.cgi +9 -0
- data/lib/roebe/www/fire/fire.rb +803 -0
- data/lib/roebe/www/fire/fire.sinatra +56 -0
- data/lib/roebe/www/firefox/firefox.cgi +11 -0
- data/lib/roebe/www/firefox/firefox.rb +1317 -0
- data/lib/roebe/www/firefox/firefox.sinatra +56 -0
- data/lib/roebe/www/firefox/mozconfig +93 -0
- data/lib/roebe/www/flexible_foto_gallery/README.md +3 -0
- data/lib/roebe/www/flexible_foto_gallery/flexible_foto_gallery.cgi +64 -0
- data/lib/roebe/www/food/food.cgi +7 -0
- data/lib/roebe/www/food/food.rb +369 -0
- data/lib/roebe/www/food/food.sinatra +56 -0
- data/lib/roebe/www/fox/fox.cgi +7 -0
- data/lib/roebe/www/fox/fox.rb +890 -0
- data/lib/roebe/www/fox/fox.sinatra +56 -0
- data/lib/roebe/www/ftp/ftp.cgi +7 -0
- data/lib/roebe/www/ftp/ftp.rb +134 -0
- data/lib/roebe/www/ftp/ftp.sinatra +56 -0
- data/lib/roebe/www/funerary_archaeology/funerary_archaeology.cgi +754 -0
- data/lib/roebe/www/funk/funk.cgi +7 -0
- data/lib/roebe/www/funk/funk.rb +385 -0
- data/lib/roebe/www/funk/funk.sinatra +56 -0
- data/lib/roebe/www/gedichte/gedichte.cgi +7 -0
- data/lib/roebe/www/gedichte/gedichte.rb +13 -0
- data/lib/roebe/www/gedichte/gedichte.sinatra +56 -0
- data/lib/roebe/www/gene_expression/SLOGANS.md +28 -0
- data/lib/roebe/www/gene_expression/gene_expression.cgi +7 -0
- data/lib/roebe/www/gene_expression/gene_expression.rb +209 -0
- data/lib/roebe/www/gene_therapy/06.08.2008_Human_gene_therapy_for_RPE65_isomerase_deficiency.md +29 -0
- data/lib/roebe/www/gene_therapy/28.11.2008_Gentherapie_am_Auge_erfolgreich.md +41 -0
- data/lib/roebe/www/gene_therapy/31.01.2000_Earlier_Gene_Test_Deaths_Not_Reported.md +62 -0
- data/lib/roebe/www/gene_therapy/SLOGANS.md +25 -0
- data/lib/roebe/www/genetic_diseases/genetic_diseases.cgi +142 -0
- data/lib/roebe/www/genetics/genetics.cgi +7 -0
- data/lib/roebe/www/genetics/genetics.rb +1447 -0
- data/lib/roebe/www/genetics/genetics.sinatra +52 -0
- data/lib/roebe/www/genomics/genomics.cgi +7 -0
- data/lib/roebe/www/genomics/genomics.rb +225 -0
- data/lib/roebe/www/genomics/genomics.sinatra +56 -0
- data/lib/roebe/www/geologie/geologie.cgi +156 -0
- data/lib/roebe/www/geometrie/geometrie.cgi +7 -0
- data/lib/roebe/www/geometrie/geometrie.rb +387 -0
- data/lib/roebe/www/geometrie/geometrie.sinatra +56 -0
- data/lib/roebe/www/gesundheit/diabetes/diabetes.cgi +7 -0
- data/lib/roebe/www/gesundheit/diabetes/diabetes.rb +71 -0
- data/lib/roebe/www/gesundheit/diabetes/diabetes.sinatra +56 -0
- data/lib/roebe/www/gesundheit/metabolic_syndrome/metabolic_syndrome.cgi +7 -0
- data/lib/roebe/www/gesundheit/metabolic_syndrome/metabolic_syndrome.rb +47 -0
- data/lib/roebe/www/gesundheit/metabolic_syndrome/metabolic_syndrome.sinatra +56 -0
- data/lib/roebe/www/gesundheit/myokarditis/myokarditis.cgi +7 -0
- data/lib/roebe/www/gesundheit/myokarditis/myokarditis.rb +113 -0
- data/lib/roebe/www/gesundheit/myokarditis/myokarditis.sinatra +56 -0
- data/lib/roebe/www/gimp/gimp.cgi +7 -0
- data/lib/roebe/www/gimp/gimp.rb +1519 -0
- data/lib/roebe/www/gimp/gimp.sinatra +56 -0
- data/lib/roebe/www/ginger_der_bandit/GingerDerBandit.rb +92 -0
- data/lib/roebe/www/ginger_der_bandit/ginger_der_bandit.cgi +7 -0
- data/lib/roebe/www/ginger_der_bandit/ginger_der_bandit.html +40757 -0
- data/lib/roebe/www/ginger_der_bandit/ginger_der_bandit.md +518 -0
- data/lib/roebe/www/ginger_der_bandit/ginger_der_bandit.rb +119 -0
- data/lib/roebe/www/ginger_der_bandit/ginger_der_bandit.sinatra +61 -0
- data/lib/roebe/www/git/git.cgi +7 -0
- data/lib/roebe/www/git/git.rb +264 -0
- data/lib/roebe/www/git/git.sinatra +52 -0
- data/lib/roebe/www/git/gitconfig +7 -0
- data/lib/roebe/www/gnuplot/force.dat +16 -0
- data/lib/roebe/www/gnuplot/gnuplot.cgi +7 -0
- data/lib/roebe/www/gnuplot/gnuplot.rb +431 -0
- data/lib/roebe/www/gnuplot/gnuplot.sinatra +56 -0
- data/lib/roebe/www/gnuplot/number_of_eukaryotic_genes.dat +25 -0
- data/lib/roebe/www/google/google.cgi +7 -0
- data/lib/roebe/www/google/google.rb +49 -0
- data/lib/roebe/www/google/google.sinatra +56 -0
- data/lib/roebe/www/graphviz/graphviz.cgi +7 -0
- data/lib/roebe/www/graphviz/graphviz.rb +196 -0
- data/lib/roebe/www/graphviz/graphviz.sinatra +56 -0
- data/lib/roebe/www/grub/README.md +1 -0
- data/lib/roebe/www/grub/grub.cgi +7 -0
- data/lib/roebe/www/grub/grub.rb +615 -0
- data/lib/roebe/www/grub/grub.sinatra +56 -0
- data/lib/roebe/www/grub/std_menu.lst +87 -0
- data/lib/roebe/www/haiku/haiku.cgi +9 -0
- data/lib/roebe/www/haiku/haiku.rb +73 -0
- data/lib/roebe/www/haiku/haiku.sinatra +56 -0
- data/lib/roebe/www/hardware/computersysteme/computersysteme.cgi +7 -0
- data/lib/roebe/www/hardware/computersysteme/computersysteme.rb +517 -0
- data/lib/roebe/www/hardware/computersysteme/computersysteme.sinatra +56 -0
- data/lib/roebe/www/hardware/heizk/303/266rper/heizk/303/266rper.cgi +7 -0
- data/lib/roebe/www/hardware/heizk/303/266rper/heizk/303/266rper.rb +62 -0
- data/lib/roebe/www/hardware/heizk/303/266rper/heizk/303/266rper.sinatra +56 -0
- data/lib/roebe/www/hardware/kabel_und_adaptoren/kabel_und_adaptoren.cgi +7 -0
- data/lib/roebe/www/hardware/kabel_und_adaptoren/kabel_und_adaptoren.rb +394 -0
- data/lib/roebe/www/hardware/kabel_und_adaptoren/kabel_und_adaptoren.sinatra +56 -0
- data/lib/roebe/www/hardware/schrauben_muttern_und_n/303/244gel/schrauben_muttern_und_n/303/244gel.cgi +7 -0
- data/lib/roebe/www/hardware/schrauben_muttern_und_n/303/244gel/schrauben_muttern_und_n/303/244gel.rb +100 -0
- data/lib/roebe/www/hardware/schrauben_muttern_und_n/303/244gel/schrauben_muttern_und_n/303/244gel.sinatra +56 -0
- data/lib/roebe/www/hardware_assembly/hardware_assembly.cgi +10 -0
- data/lib/roebe/www/hardware_assembly/hardware_assembly.rb +265 -0
- data/lib/roebe/www/hardware_assembly/hardware_assembly.sinatra +56 -0
- data/lib/roebe/www/heart/heart.cgi +7 -0
- data/lib/roebe/www/heart/heart.rb +53 -0
- data/lib/roebe/www/heart/heart.sinatra +56 -0
- data/lib/roebe/www/history/KNOWLEDGE_BITS.md +2 -0
- data/lib/roebe/www/history/yaml/scientific_history.yml +1 -0
- data/lib/roebe/www/hiveos/hiveos.cgi +9 -0
- data/lib/roebe/www/hiveos/hiveos.rb +836 -0
- data/lib/roebe/www/hiveos/hiveos.sinatra +56 -0
- data/lib/roebe/www/hormone/hormone.cgi +76 -0
- data/lib/roebe/www/htop/htop.md +1 -0
- data/lib/roebe/www/humans_are_funny/humans_are_funny.cgi +7 -0
- data/lib/roebe/www/humans_are_funny/humans_are_funny.rb +23 -0
- data/lib/roebe/www/humans_are_funny/humans_are_funny.sinatra +52 -0
- data/lib/roebe/www/h/303/244user/h/303/244user.cgi +7 -0
- data/lib/roebe/www/h/303/244user/h/303/244user.rb +115 -0
- data/lib/roebe/www/h/303/244user/h/303/244user.sinatra +56 -0
- data/lib/roebe/www/icewm/icewm.cgi +7 -0
- data/lib/roebe/www/icewm/icewm.rb +34 -0
- data/lib/roebe/www/icewm/icewm.sinatra +56 -0
- data/lib/roebe/www/icewm/keys +88 -0
- data/lib/roebe/www/icewm/menu_file +171 -0
- data/lib/roebe/www/icewm/preferences +1043 -0
- data/lib/roebe/www/icewm/programs +322 -0
- data/lib/roebe/www/icewm/theme +11 -0
- data/lib/roebe/www/icewm/toolbar +7 -0
- data/lib/roebe/www/icewm/winoptions +61 -0
- data/lib/roebe/www/ifpi_austria/ifpi_austria.cgi +7 -0
- data/lib/roebe/www/ifpi_austria/ifpi_austria.rb +351 -0
- data/lib/roebe/www/ifpi_austria/ifpi_austria.sinatra +56 -0
- data/lib/roebe/www/image_formats/image_formats.cgi +50 -0
- data/lib/roebe/www/imagemagick/README.md +45 -0
- data/lib/roebe/www/imagemagick/imagemagick.cgi +31 -0
- data/lib/roebe/www/images/images.cgi +26 -0
- data/lib/roebe/www/immunology/immunology.cgi +7 -0
- data/lib/roebe/www/immunology/immunology.rb +1601 -0
- data/lib/roebe/www/immunology/immunology.sinatra +56 -0
- data/lib/roebe/www/individual_page_viewer/individual_page_viewer.cgi +7 -0
- data/lib/roebe/www/individual_page_viewer/individual_page_viewer.rb +41 -0
- data/lib/roebe/www/individual_page_viewer/individual_page_viewer.sinatra +52 -0
- data/lib/roebe/www/industrial_chemistry/industrial_chemistry.cgi +50 -0
- data/lib/roebe/www/informatik/SLOGANS.md +13 -0
- data/lib/roebe/www/inhaltsverzeichnis/inhaltsverzeichnis.yml +65 -0
- data/lib/roebe/www/inkscape/inkscape.cgi +9 -0
- data/lib/roebe/www/inkscape/inkscape.rb +84 -0
- data/lib/roebe/www/inkscape/inkscape.sinatra +56 -0
- data/lib/roebe/www/inotify/inotify.cgi +39 -0
- data/lib/roebe/www/inspirational_people/inspirational_people.cgi +11 -0
- data/lib/roebe/www/inspirational_people/inspirational_people.rb +645 -0
- data/lib/roebe/www/inspirational_people/inspirational_people.sinatra +56 -0
- data/lib/roebe/www/interesting_linux_distributions/interesting_linux_distributions.md +71 -0
- data/lib/roebe/www/interviews/interviews.cgi +7 -0
- data/lib/roebe/www/interviews/interviews.rb +14 -0
- data/lib/roebe/www/interviews/interviews.sinatra +56 -0
- data/lib/roebe/www/irc/irc.cgi +7 -0
- data/lib/roebe/www/irc/irc.rb +41 -0
- data/lib/roebe/www/irc/irc.sinatra +56 -0
- data/lib/roebe/www/irc_quotes/irc_quotes.md +835 -0
- data/lib/roebe/www/jobs/jobs.cgi +9 -0
- data/lib/roebe/www/jobs/jobs.rb +100 -0
- data/lib/roebe/www/jobs/jobs.sinatra +56 -0
- data/lib/roebe/www/json/example1.json +18 -0
- data/lib/roebe/www/json/json.cgi +7 -0
- data/lib/roebe/www/json/json.rb +32 -0
- data/lib/roebe/www/json/json.sinatra +56 -0
- data/lib/roebe/www/jupyter/content.md +34 -0
- data/lib/roebe/www/kaizen/kaizen.cgi +7 -0
- data/lib/roebe/www/kaizen/kaizen.rb +15 -0
- data/lib/roebe/www/kaizen/kaizen.sinatra +56 -0
- data/lib/roebe/www/kde/DEPRECATED_kde.cgi +1266 -0
- data/lib/roebe/www/kde/kde.cgi +7 -0
- data/lib/roebe/www/kde/kde.rb +60 -0
- data/lib/roebe/www/kde/kde.sinatra +56 -0
- data/lib/roebe/www/kde/konsole_multiple_tabs +10 -0
- data/lib/roebe/www/kde/konsolerc +40 -0
- data/lib/roebe/www/kde/konsoleui.rc +65 -0
- data/lib/roebe/www/kde/yakuakerc +8 -0
- data/lib/roebe/www/klimabonus/klimabonus.md +11 -0
- data/lib/roebe/www/klimawandel/klimawandel.cgi +7 -0
- data/lib/roebe/www/klimawandel/klimawandel.rb +100 -0
- data/lib/roebe/www/klimawandel/klimawandel.sinatra +56 -0
- data/lib/roebe/www/kramdown_viewer/kramdown_viewer.cgi +51 -0
- data/lib/roebe/www/kriminelle_firmen/kriminelle_firmen.cgi +7 -0
- data/lib/roebe/www/kriminelle_firmen/kriminelle_firmen.rb +26 -0
- data/lib/roebe/www/kriminelle_firmen/kriminelle_firmen.sinatra +52 -0
- data/lib/roebe/www/krita/krita.cgi +7 -0
- data/lib/roebe/www/krita/krita.rb +53 -0
- data/lib/roebe/www/krita/krita.sinatra +56 -0
- data/lib/roebe/www/kryptografie/kryptografie.cgi +48 -0
- data/lib/roebe/www/k/303/244se/k/303/244se.cgi +9 -0
- data/lib/roebe/www/k/303/244se/k/303/244se.rb +137 -0
- data/lib/roebe/www/k/303/244se/k/303/244se.sinatra +56 -0
- data/lib/roebe/www/lame/lame.cgi +7 -0
- data/lib/roebe/www/lame/lame.rb +105 -0
- data/lib/roebe/www/lame/lame.sinatra +56 -0
- data/lib/roebe/www/languages/languages.cgi +7 -0
- data/lib/roebe/www/languages/languages.rb +66 -0
- data/lib/roebe/www/languages/languages.sinatra +52 -0
- data/lib/roebe/www/laser/laser.cgi +7 -0
- data/lib/roebe/www/laser/laser.rb +301 -0
- data/lib/roebe/www/laser/laser.sinatra +56 -0
- data/lib/roebe/www/latex/HelloWorld.tex +9 -0
- data/lib/roebe/www/latex/examples/misc/misc.tex +31 -0
- data/lib/roebe/www/latex/examples/numbered_list/numbered_list.tex +31 -0
- data/lib/roebe/www/latex/examples/page_numbering_example/page_numbering_example.tex +36 -0
- data/lib/roebe/www/latex/examples/simple_paragraph/simple_paragraph.tex +4 -0
- data/lib/roebe/www/latex/latex.cgi +7 -0
- data/lib/roebe/www/latex/latex.rb +203 -0
- data/lib/roebe/www/latex/latex.sinatra +56 -0
- data/lib/roebe/www/law/law.cgi +7 -0
- data/lib/roebe/www/law/law.rb +983 -0
- data/lib/roebe/www/law/law.sinatra +56 -0
- data/lib/roebe/www/lego/lego.cgi +7 -0
- data/lib/roebe/www/lego/lego.rb +53 -0
- data/lib/roebe/www/lego/lego.sinatra +52 -0
- data/lib/roebe/www/libreoffice/libreoffice.cgi +9 -0
- data/lib/roebe/www/libreoffice/libreoffice.rb +96 -0
- data/lib/roebe/www/libreoffice/libreoffice.sinatra +56 -0
- data/lib/roebe/www/libreoffice/macros/README.md +4 -0
- data/lib/roebe/www/libreoffice/macros/hello_world.macro +24 -0
- data/lib/roebe/www/libreoffice/macros/hello_world_in_python.py_macro +7 -0
- data/lib/roebe/www/libreoffice/misc/empty_libreoffice_document.docx +0 -0
- data/lib/roebe/www/libreoffice/misc/empty_libreoffice_document.odt +0 -0
- data/lib/roebe/www/libreoffice/misc/empty_libreoffice_presentation.odp +0 -0
- data/lib/roebe/www/libreoffice/misc/empty_libreoffice_spreadsheet.xls +1 -0
- data/lib/roebe/www/licht/licht.cgi +25 -0
- data/lib/roebe/www/light/light.cgi +27 -0
- data/lib/roebe/www/lighttpd/autogenerated_lighttpd.conf +428 -0
- data/lib/roebe/www/lighttpd/configuration/cgi.conf +21 -0
- data/lib/roebe/www/lighttpd/configuration/dir_listing.conf +15 -0
- data/lib/roebe/www/lighttpd/configuration/document_root.conf +11 -0
- data/lib/roebe/www/lighttpd/configuration/groupname.conf +9 -0
- data/lib/roebe/www/lighttpd/configuration/index.conf +29 -0
- data/lib/roebe/www/lighttpd/configuration/logfiles.conf +18 -0
- data/lib/roebe/www/lighttpd/configuration/mimetypes.conf +88 -0
- data/lib/roebe/www/lighttpd/configuration/modules.conf +75 -0
- data/lib/roebe/www/lighttpd/configuration/php.conf +11 -0
- data/lib/roebe/www/lighttpd/configuration/pid_file.conf +1 -0
- data/lib/roebe/www/lighttpd/configuration/port.conf +13 -0
- data/lib/roebe/www/lighttpd/configuration/redirects.conf +67 -0
- data/lib/roebe/www/lighttpd/configuration/status.conf +29 -0
- data/lib/roebe/www/lighttpd/configuration/upload.conf +5 -0
- data/lib/roebe/www/lighttpd/configuration/username.conf +4 -0
- data/lib/roebe/www/lighttpd/lighttpd.cgi +7 -0
- data/lib/roebe/www/lighttpd/lighttpd.rb +140 -0
- data/lib/roebe/www/lighttpd/lighttpd.sinatra +52 -0
- data/lib/roebe/www/lilo/lilo.cgi +9 -0
- data/lib/roebe/www/lilo/lilo.conf +71 -0
- data/lib/roebe/www/lilo/lilo.rb +114 -0
- data/lib/roebe/www/lilo/lilo.sinatra +56 -0
- data/lib/roebe/www/lilypond/lilypond.cgi +95 -0
- data/lib/roebe/www/linguistics/linguistics.cgi +25 -0
- data/lib/roebe/www/links/links.cgi +9 -0
- data/lib/roebe/www/links/links.rb +310 -0
- data/lib/roebe/www/links/links.sinatra +56 -0
- data/lib/roebe/www/linux/ICEWM/preferences +1476 -0
- data/lib/roebe/www/linux/KaOS/KaOS.cgi +37 -0
- data/lib/roebe/www/linux/MX-Linux/mxlinux.cgi +7 -0
- data/lib/roebe/www/linux/MX-Linux/mxlinux.rb +28 -0
- data/lib/roebe/www/linux/MX-Linux/mxlinux.sinatra +56 -0
- data/lib/roebe/www/linux/antiX/antiX.cgi +7 -0
- data/lib/roebe/www/linux/antiX/antiX.rb +42 -0
- data/lib/roebe/www/linux/antiX/antiX.sinatra +56 -0
- data/lib/roebe/www/linux/deepin/deepin.cgi +30 -0
- data/lib/roebe/www/linux/doc/how_to_shrink_the_home_partition.md +13 -0
- data/lib/roebe/www/linux/fedora/fedora.cgi +7 -0
- data/lib/roebe/www/linux/fedora/fedora.rb +44 -0
- data/lib/roebe/www/linux/fedora/fedora.sinatra +56 -0
- data/lib/roebe/www/linux/gobolinux/gobolinux.cgi +7 -0
- data/lib/roebe/www/linux/gobolinux/gobolinux.rb +1424 -0
- data/lib/roebe/www/linux/gobolinux/gobolinux.sinatra +56 -0
- data/lib/roebe/www/linux/linux.cgi +12 -0
- data/lib/roebe/www/linux/linux.rb +6268 -0
- data/lib/roebe/www/linux/linux.sinatra +56 -0
- data/lib/roebe/www/linux/manjaro/content.md +7 -0
- data/lib/roebe/www/linux/mxlinux +1 -0
- data/lib/roebe/www/linux/neptune/neptune.cgi +54 -0
- data/lib/roebe/www/linux/resources/Xdefaults +180 -0
- data/lib/roebe/www/linux/slackware/slackware.cgi +7 -0
- data/lib/roebe/www/linux/slackware/slackware.rb +150 -0
- data/lib/roebe/www/linux/slackware/slackware.sinatra +56 -0
- data/lib/roebe/www/linux/sparky_linux/specification.md +19 -0
- data/lib/roebe/www/linux/ubuntu/ubuntu.cgi +7 -0
- data/lib/roebe/www/linux/ubuntu/ubuntu.rb +144 -0
- data/lib/roebe/www/linux/ubuntu/ubuntu.sinatra +56 -0
- data/lib/roebe/www/linux/void/void.cgi +7 -0
- data/lib/roebe/www/linux/void/void.rb +56 -0
- data/lib/roebe/www/linux/void/void.sinatra +56 -0
- data/lib/roebe/www/linux_certifications/linux_certifications.cgi +7 -0
- data/lib/roebe/www/linux_certifications/linux_certifications.rb +15 -0
- data/lib/roebe/www/linux_certifications/linux_certifications.sinatra +56 -0
- data/lib/roebe/www/linux_commands/linux_commands.cgi +7 -0
- data/lib/roebe/www/linux_commands/linux_commands.rb +5224 -0
- data/lib/roebe/www/linux_commands/linux_commands.sinatra +56 -0
- data/lib/roebe/www/linux_distributions/README.md +3 -0
- data/lib/roebe/www/linux_distributions/linux_distributions.cgi +9 -0
- data/lib/roebe/www/linux_distributions/linux_distributions.rb +2215 -0
- data/lib/roebe/www/linux_distributions/linux_distributions.sinatra +56 -0
- data/lib/roebe/www/linuxmint/linuxmint.cgi +7 -0
- data/lib/roebe/www/linuxmint/linuxmint.rb +58 -0
- data/lib/roebe/www/linuxmint/linuxmint.sinatra +56 -0
- data/lib/roebe/www/llvm/llvm.cgi +7 -0
- data/lib/roebe/www/llvm/llvm.rb +38 -0
- data/lib/roebe/www/llvm/llvm.sinatra +56 -0
- data/lib/roebe/www/luft/luft.cgi +7 -0
- data/lib/roebe/www/luft/luft.rb +15 -0
- data/lib/roebe/www/luft/luft.sinatra +52 -0
- data/lib/roebe/www/luft/luft_english.md +96 -0
- data/lib/roebe/www/luft/luft_german.md +117 -0
- data/lib/roebe/www/lyrics/lyrics.cgi +7 -0
- data/lib/roebe/www/lyrics/lyrics.rb +48 -0
- data/lib/roebe/www/lyrics/lyrics.sinatra +56 -0
- data/lib/roebe/www/m4/m4.cgi +7 -0
- data/lib/roebe/www/m4/m4.rb +24 -0
- data/lib/roebe/www/m4/m4.sinatra +56 -0
- data/lib/roebe/www/mageia/mageia.cgi +7 -0
- data/lib/roebe/www/mageia/mageia.rb +104 -0
- data/lib/roebe/www/mageia/mageia.sinatra +56 -0
- data/lib/roebe/www/make/make.cgi +7 -0
- data/lib/roebe/www/make/make.rb +216 -0
- data/lib/roebe/www/make/make.sinatra +56 -0
- data/lib/roebe/www/markdown/cheat_sheet.md +17 -0
- data/lib/roebe/www/markdown/example.md +232 -0
- data/lib/roebe/www/marketing/marketing.cgi +7 -0
- data/lib/roebe/www/marketing/marketing.rb +127 -0
- data/lib/roebe/www/marketing/marketing.sinatra +56 -0
- data/lib/roebe/www/mars/mars.cgi +7 -0
- data/lib/roebe/www/mars/mars.rb +51 -0
- data/lib/roebe/www/mars/mars.sinatra +52 -0
- data/lib/roebe/www/mate_desktop/mate_desktop.cgi +40 -0
- data/lib/roebe/www/mathematics/bin/303/244rsystem/bin/303/244rsystem.cgi +158 -0
- data/lib/roebe/www/mathematics/common.rb +16 -0
- data/lib/roebe/www/mathematics/funktionen/funktion.cgi +81 -0
- data/lib/roebe/www/mathematics/logarithmus/logarithmus.cgi +76 -0
- data/lib/roebe/www/mathematics/mathematics.cgi +7 -0
- data/lib/roebe/www/mathematics/mathematics.rb +1276 -0
- data/lib/roebe/www/mathematics/mathematics.sinatra +52 -0
- data/lib/roebe/www/matlab/matlab.cgi +31 -0
- data/lib/roebe/www/md5sum/md5sum.cgi +33 -0
- data/lib/roebe/www/meson/meson.cgi +7 -0
- data/lib/roebe/www/meson/meson.rb +57 -0
- data/lib/roebe/www/meson/meson.sinatra +56 -0
- data/lib/roebe/www/metabolic_pathways/metabolic_pathways.cgi +9 -0
- data/lib/roebe/www/metabolic_pathways/metabolic_pathways.rb +243 -0
- data/lib/roebe/www/metabolic_pathways/metabolic_pathways.sinatra +56 -0
- data/lib/roebe/www/meteorologie/meteorologie.cgi +547 -0
- data/lib/roebe/www/microbial_ecology/microbial_ecology.cgi +33 -0
- data/lib/roebe/www/microbial_interactions/microbial_interactions.cgi +163 -0
- data/lib/roebe/www/microbiology/microbiology.cgi +7 -0
- data/lib/roebe/www/microbiology/microbiology.rb +1139 -0
- data/lib/roebe/www/microbiology/microbiology.sinatra +56 -0
- data/lib/roebe/www/microphones/microphones.cgi +7 -0
- data/lib/roebe/www/microphones/microphones.rb +53 -0
- data/lib/roebe/www/microphones/microphones.sinatra +56 -0
- data/lib/roebe/www/microscopy/microscopy.cgi +7 -0
- data/lib/roebe/www/microscopy/microscopy.rb +289 -0
- data/lib/roebe/www/microscopy/microscopy.sinatra +56 -0
- data/lib/roebe/www/microsoft/how_to_compile_from_source_on_windows/how_to_compile_from_source_on_windows.cgi +7 -0
- data/lib/roebe/www/microsoft/how_to_compile_from_source_on_windows/how_to_compile_from_source_on_windows.rb +85 -0
- data/lib/roebe/www/microsoft/how_to_compile_from_source_on_windows/how_to_compile_from_source_on_windows.sinatra +56 -0
- data/lib/roebe/www/microsoft/microsoft.cgi +11 -0
- data/lib/roebe/www/microsoft/microsoft.rb +2354 -0
- data/lib/roebe/www/microsoft/microsoft.sinatra +56 -0
- data/lib/roebe/www/midi/al_adagi.mid +0 -0
- data/lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.cgi +7 -0
- data/lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.rb +1055 -0
- data/lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.sinatra +56 -0
- data/lib/roebe/www/military/military.cgi +7 -0
- data/lib/roebe/www/military/military.rb +23 -0
- data/lib/roebe/www/military/military.sinatra +56 -0
- data/lib/roebe/www/misc/blutgruppen.md +26 -0
- data/lib/roebe/www/mitochondria/mitochondria.cgi +56 -0
- data/lib/roebe/www/module_www.rb +184 -0
- data/lib/roebe/www/molecular_simulations/molecular_simulations.cgi +30 -0
- data/lib/roebe/www/molecular_therapies/molecular_therapies.cgi +7 -0
- data/lib/roebe/www/molecular_therapies/molecular_therapies.rb +169 -0
- data/lib/roebe/www/molecular_therapies/molecular_therapies.sinatra +56 -0
- data/lib/roebe/www/mpv/hints.md +4 -0
- data/lib/roebe/www/mrxvt/mrxvtrc +424 -0
- data/lib/roebe/www/multimedia_and_law/multimedia_and_law.cgi +7 -0
- data/lib/roebe/www/multimedia_and_law/multimedia_and_law.rb +118 -0
- data/lib/roebe/www/multimedia_and_law/multimedia_and_law.sinatra +56 -0
- data/lib/roebe/www/mysql/mysql.cgi +7 -0
- data/lib/roebe/www/mysql/mysql.rb +544 -0
- data/lib/roebe/www/mysql/mysql.sinatra +52 -0
- data/lib/roebe/www/m/303/274ll/m/303/274ll.cgi +28 -0
- data/lib/roebe/www/nano/nano.cgi +100 -0
- data/lib/roebe/www/nanotechnology/nanotechnology.cgi +7 -0
- data/lib/roebe/www/nanotechnology/nanotechnology.rb +173 -0
- data/lib/roebe/www/nanotechnology/nanotechnology.sinatra +56 -0
- data/lib/roebe/www/nato/nato.cgi +7 -0
- data/lib/roebe/www/nato/nato.rb +35 -0
- data/lib/roebe/www/nato/nato.sinatra +52 -0
- data/lib/roebe/www/naturschutz/naturschutz.cgi +1463 -0
- data/lib/roebe/www/netbsd/netbsd.cgi +7 -0
- data/lib/roebe/www/netbsd/netbsd.rb +27 -0
- data/lib/roebe/www/netbsd/netbsd.sinatra +52 -0
- data/lib/roebe/www/networking_on_linux/networking_on_linux.cgi +7 -0
- data/lib/roebe/www/networking_on_linux/networking_on_linux.rb +1652 -0
- data/lib/roebe/www/networking_on_linux/networking_on_linux.sinatra +56 -0
- data/lib/roebe/www/neuroanatomie/neuroanatomie.cgi +98 -0
- data/lib/roebe/www/neurobiology/neurobiology.cgi +7 -0
- data/lib/roebe/www/neurobiology/neurobiology.rb +368 -0
- data/lib/roebe/www/neurobiology/neurobiology.sinatra +56 -0
- data/lib/roebe/www/news/news.cgi +7 -0
- data/lib/roebe/www/news/news.rb +20 -0
- data/lib/roebe/www/news/news.sinatra +56 -0
- data/lib/roebe/www/news/news_content.md +2798 -0
- data/lib/roebe/www/next_generation_sequencing/next_generation_sequencing.cgi +100 -0
- data/lib/roebe/www/nginx/nginx.cgi +7 -0
- data/lib/roebe/www/nginx/nginx.rb +18 -0
- data/lib/roebe/www/nginx/nginx.sinatra +56 -0
- data/lib/roebe/www/nim/nim.cgi +7 -0
- data/lib/roebe/www/nim/nim.rb +77 -0
- data/lib/roebe/www/nim/nim.sinatra +56 -0
- data/lib/roebe/www/nocturnal_hunt/nocturnal_hunt.cgi +7 -0
- data/lib/roebe/www/nocturnal_hunt/nocturnal_hunt.rb +458 -0
- data/lib/roebe/www/nocturnal_hunt/nocturnal_hunt.sinatra +61 -0
- data/lib/roebe/www/node/snippets.md +15 -0
- data/lib/roebe/www/nosql/nosql.cgi +7 -0
- data/lib/roebe/www/nosql/nosql.rb +23 -0
- data/lib/roebe/www/nosql/nosql.sinatra +52 -0
- data/lib/roebe/www/ntfs/ntfs.cgi +7 -0
- data/lib/roebe/www/ntfs/ntfs.rb +41 -0
- data/lib/roebe/www/ntfs/ntfs.sinatra +56 -0
- data/lib/roebe/www/obst/obst.cgi +45 -0
- data/lib/roebe/www/ogre3d/ogre3d.cgi +7 -0
- data/lib/roebe/www/ogre3d/ogre3d.rb +247 -0
- data/lib/roebe/www/ogre3d/ogre3d.sinatra +56 -0
- data/lib/roebe/www/openbsd/openbsd.cgi +7 -0
- data/lib/roebe/www/openbsd/openbsd.rb +28 -0
- data/lib/roebe/www/openbsd/openbsd.sinatra +56 -0
- data/lib/roebe/www/opengl/opengl.cgi +9 -0
- data/lib/roebe/www/opengl/opengl.rb +193 -0
- data/lib/roebe/www/opengl/opengl.sinatra +56 -0
- data/lib/roebe/www/openssl/openssl.cgi +7 -0
- data/lib/roebe/www/openssl/openssl.rb +142 -0
- data/lib/roebe/www/openssl/openssl.sinatra +56 -0
- data/lib/roebe/www/opensuse/opensuse.cgi +24 -0
- data/lib/roebe/www/opera/opera.cgi +7 -0
- data/lib/roebe/www/opera/opera.rb +38 -0
- data/lib/roebe/www/opera/opera.sinatra +56 -0
- data/lib/roebe/www/operating_systems/operating_systems.cgi +43 -0
- data/lib/roebe/www/optical_character_recognition/optical_character_recognition.cgi +7 -0
- data/lib/roebe/www/optical_character_recognition/optical_character_recognition.rb +85 -0
- data/lib/roebe/www/optical_character_recognition/optical_character_recognition.sinatra +56 -0
- data/lib/roebe/www/organic_chemistry/organic_chemistry.cgi +33 -0
- data/lib/roebe/www/organic_chemistry/organic_chemistry.md +16 -0
- data/lib/roebe/www/our_solar_system/our_solar_system.cgi +7 -0
- data/lib/roebe/www/our_solar_system/our_solar_system.rb +448 -0
- data/lib/roebe/www/our_solar_system/our_solar_system.sinatra +56 -0
- data/lib/roebe/www/packaging_on_linux/packaging_on_linux.cgi +7 -0
- data/lib/roebe/www/packaging_on_linux/packaging_on_linux.rb +394 -0
- data/lib/roebe/www/packaging_on_linux/packaging_on_linux.sinatra +56 -0
- data/lib/roebe/www/palemoon/palemoon.cgi +7 -0
- data/lib/roebe/www/palemoon/palemoon.rb +111 -0
- data/lib/roebe/www/palemoon/palemoon.sinatra +56 -0
- data/lib/roebe/www/paradise_island/paradise_island.cgi +9 -0
- data/lib/roebe/www/paradise_island/paradise_island.rb +449 -0
- data/lib/roebe/www/paradise_island/paradise_island.sinatra +56 -0
- data/lib/roebe/www/patente/patente.cgi +7 -0
- data/lib/roebe/www/patente/patente.rb +58 -0
- data/lib/roebe/www/patente/patente.sinatra +56 -0
- data/lib/roebe/www/pathologie/content.md +1 -0
- data/lib/roebe/www/pathologie/pathologie.cgi +52 -0
- data/lib/roebe/www/pathologie/vokabelliste.yml +1284 -0
- data/lib/roebe/www/pdf/pdf.cgi +7 -0
- data/lib/roebe/www/pdf/pdf.rb +129 -0
- data/lib/roebe/www/pdf/pdf.sinatra +56 -0
- data/lib/roebe/www/pekwm/autoproperties +219 -0
- data/lib/roebe/www/pekwm/config +72 -0
- data/lib/roebe/www/pekwm/keys +301 -0
- data/lib/roebe/www/pekwm/menu +97 -0
- data/lib/roebe/www/pekwm/mouse +141 -0
- data/lib/roebe/www/pekwm/start +18 -0
- data/lib/roebe/www/pekwm/vars +2 -0
- data/lib/roebe/www/phages/phages.cgi +117 -0
- data/lib/roebe/www/pharmacy/content.md +5 -0
- data/lib/roebe/www/phones_and_mobile_phones/phones_and_mobile_phones.cgi +7 -0
- data/lib/roebe/www/phones_and_mobile_phones/phones_and_mobile_phones.rb +66 -0
- data/lib/roebe/www/phones_and_mobile_phones/phones_and_mobile_phones.sinatra +56 -0
- data/lib/roebe/www/photosynthesis/photosynthesis.cgi +7 -0
- data/lib/roebe/www/photosynthesis/photosynthesis.rb +55 -0
- data/lib/roebe/www/photosynthesis/photosynthesis.sinatra +56 -0
- data/lib/roebe/www/physics/physics.cgi +7 -0
- data/lib/roebe/www/physics/physics.rb +348 -0
- data/lib/roebe/www/physics/physics.sinatra +56 -0
- data/lib/roebe/www/physiology/physiology.cgi +7 -0
- data/lib/roebe/www/physiology/physiology.rb +373 -0
- data/lib/roebe/www/physiology/physiology.sinatra +56 -0
- data/lib/roebe/www/pidgin/pidgin.cgi +7 -0
- data/lib/roebe/www/pidgin/pidgin.rb +28 -0
- data/lib/roebe/www/pidgin/pidgin.sinatra +56 -0
- data/lib/roebe/www/pilze/pilze.cgi +276 -0
- data/lib/roebe/www/plants/plants.cgi +7 -0
- data/lib/roebe/www/plants/plants.rb +78 -0
- data/lib/roebe/www/plants/plants.sinatra +56 -0
- data/lib/roebe/www/play_songs/play_songs.cgi +100 -0
- data/lib/roebe/www/play_this_video_file/play_this_video_file.cgi +103 -0
- data/lib/roebe/www/politics/politics.cgi +7 -0
- data/lib/roebe/www/politics/politics.rb +24 -0
- data/lib/roebe/www/politics/politics.sinatra +56 -0
- data/lib/roebe/www/politics/yaml/wahlbeteiligung_wien.yml +6 -0
- data/lib/roebe/www/porg/main.m +26 -0
- data/lib/roebe/www/porg/porg.cgi +7 -0
- data/lib/roebe/www/porg/porg.rb +14 -0
- data/lib/roebe/www/porg/porg.sinatra +56 -0
- data/lib/roebe/www/porg/rpaco_base.h +19 -0
- data/lib/roebe/www/porg/rpaco_base.m +20 -0
- data/lib/roebe/www/povray/povray.cgi +7 -0
- data/lib/roebe/www/povray/povray.rb +289 -0
- data/lib/roebe/www/povray/povray.sinatra +56 -0
- data/lib/roebe/www/povray/povray_files/sphere_and_lights.pov +14 -0
- data/lib/roebe/www/povray/povray_files/sphere_and_lights_test.pov +28 -0
- data/lib/roebe/www/powershell/powershell.cgi +7 -0
- data/lib/roebe/www/powershell/powershell.rb +31 -0
- data/lib/roebe/www/powershell/powershell.sinatra +56 -0
- data/lib/roebe/www/preise/preise.cgi +47 -0
- data/lib/roebe/www/preisvergleiche/preisvergleiche.cgi +7 -0
- data/lib/roebe/www/preisvergleiche/preisvergleiche.rb +53 -0
- data/lib/roebe/www/preisvergleiche/preisvergleiche.sinatra +56 -0
- data/lib/roebe/www/presentations/fuzzy_words_versus_action_words.md +9 -0
- data/lib/roebe/www/presentations/presentations.cgi +7 -0
- data/lib/roebe/www/presentations/presentations.rb +103 -0
- data/lib/roebe/www/presentations/presentations.sinatra +52 -0
- data/lib/roebe/www/presentations/useful_words.md +16 -0
- data/lib/roebe/www/problems_of_the_european_union/problems_of_the_european_union.cgi +7 -0
- data/lib/roebe/www/problems_of_the_european_union/problems_of_the_european_union.rb +457 -0
- data/lib/roebe/www/problems_of_the_european_union/problems_of_the_european_union.sinatra +52 -0
- data/lib/roebe/www/programming_advice/programming_advice.yml +31 -0
- data/lib/roebe/www/programming_bible/programming_bible.cgi +7 -0
- data/lib/roebe/www/programming_bible/programming_bible.rb +32 -0
- data/lib/roebe/www/programming_bible/programming_bible.sinatra +56 -0
- data/lib/roebe/www/programming_languages/javascript/javascript.cgi +10 -0
- data/lib/roebe/www/programming_languages/javascript/javascript.rb +312 -0
- data/lib/roebe/www/programming_languages/javascript/javascript.sinatra +56 -0
- data/lib/roebe/www/project_management/project_management.cgi +7 -0
- data/lib/roebe/www/project_management/project_management.rb +343 -0
- data/lib/roebe/www/project_management/project_management.sinatra +56 -0
- data/lib/roebe/www/prokaryotic_evolution/prokaryotic_evolution.cgi +267 -0
- data/lib/roebe/www/propaganda/propaganda.cgi +7 -0
- data/lib/roebe/www/propaganda/propaganda.rb +30 -0
- data/lib/roebe/www/propaganda/propaganda.sinatra +56 -0
- data/lib/roebe/www/protein_engineering/protein_engineering.cgi +5 -0
- data/lib/roebe/www/protein_engineering/protein_engineering.rb +725 -0
- data/lib/roebe/www/protein_engineering/protein_engineering.sinatra +56 -0
- data/lib/roebe/www/proteins/proteins.cgi +7 -0
- data/lib/roebe/www/proteins/proteins.rb +37 -0
- data/lib/roebe/www/proteins/proteins.sinatra +56 -0
- data/lib/roebe/www/protisten/protisten.cgi +72 -0
- data/lib/roebe/www/psychologie/psychologie.cgi +7 -0
- data/lib/roebe/www/psychologie/psychologie.rb +233 -0
- data/lib/roebe/www/psychologie/psychologie.sinatra +56 -0
- data/lib/roebe/www/publishing_scientific_papers/useful_phrases_and_tips_for_publishing_scientific_papers.md +259 -0
- data/lib/roebe/www/pulseaudio/pulseaudio.cgi +7 -0
- data/lib/roebe/www/pulseaudio/pulseaudio.rb +166 -0
- data/lib/roebe/www/pulseaudio/pulseaudio.sinatra +56 -0
- data/lib/roebe/www/qemu/content.md +5 -0
- data/lib/roebe/www/qualit/303/244tsmanagement/qualit/303/244tsmanagement.cgi +7 -0
- data/lib/roebe/www/qualit/303/244tsmanagement/qualit/303/244tsmanagement.rb +423 -0
- data/lib/roebe/www/qualit/303/244tsmanagement/qualit/303/244tsmanagement.sinatra +56 -0
- data/lib/roebe/www/quotes/quotes.cgi +7 -0
- data/lib/roebe/www/quotes/quotes.rb +609 -0
- data/lib/roebe/www/quotes/quotes.sinatra +52 -0
- data/lib/roebe/www/radiation/content.md +3 -0
- data/lib/roebe/www/radio/radio.cgi +54 -0
- data/lib/roebe/www/radioactivity/radioactivity.cgi +36 -0
- data/lib/roebe/www/ratpoison/ratpoisonrc +62 -0
- data/lib/roebe/www/reactos/reactos.cgi +9 -0
- data/lib/roebe/www/reactos/reactos.rb +95 -0
- data/lib/roebe/www/reactos/reactos.sinatra +56 -0
- data/lib/roebe/www/recursion/recursion.md +41 -0
- data/lib/roebe/www/restriktionsenzyme/restriktionsenzyme.cgi +7 -0
- data/lib/roebe/www/restriktionsenzyme/restriktionsenzyme.rb +96 -0
- data/lib/roebe/www/restriktionsenzyme/restriktionsenzyme.sinatra +56 -0
- data/lib/roebe/www/rfid/rfid.cgi +7 -0
- data/lib/roebe/www/rfid/rfid.rb +956 -0
- data/lib/roebe/www/rfid/rfid.sinatra +56 -0
- data/lib/roebe/www/rhetorics/rhetorics.md +15 -0
- data/lib/roebe/www/rhythmbox/rhythmbox.cgi +122 -0
- data/lib/roebe/www/rna +1 -0
- data/lib/roebe/www/robots/robots.cgi +9 -0
- data/lib/roebe/www/robots/robots.rb +24 -0
- data/lib/roebe/www/robots/robots.sinatra +56 -0
- data/lib/roebe/www/routers/routers.cgi +7 -0
- data/lib/roebe/www/routers/routers.rb +46 -0
- data/lib/roebe/www/routers/routers.sinatra +56 -0
- data/lib/roebe/www/ruby_viewer/ruby_viewer.cgi +7 -0
- data/lib/roebe/www/ruby_viewer/ruby_viewer.rb +51 -0
- data/lib/roebe/www/ruby_viewer/ruby_viewer.sinatra +56 -0
- data/lib/roebe/www/scanner/scanner.cgi +9 -0
- data/lib/roebe/www/scanner/scanner.rb +194 -0
- data/lib/roebe/www/scanner/scanner.sinatra +56 -0
- data/lib/roebe/www/science/URL_to_different_scientific_articles.md +12 -0
- data/lib/roebe/www/science/science.cgi +7 -0
- data/lib/roebe/www/science/science.rb +1806 -0
- data/lib/roebe/www/science/science.sinatra +56 -0
- data/lib/roebe/www/security/security.cgi +7 -0
- data/lib/roebe/www/security/security.rb +381 -0
- data/lib/roebe/www/security/security.sinatra +56 -0
- data/lib/roebe/www/sed/sed_script_remove_colours.sed +1 -0
- data/lib/roebe/www/sex_and_reproduction/sex_and_reproduction.cgi +102 -0
- data/lib/roebe/www/shells/shells.cgi +7 -0
- data/lib/roebe/www/shells/shells.rb +258 -0
- data/lib/roebe/www/shells/shells.sinatra +56 -0
- data/lib/roebe/www/shops/shops.cgi +7 -0
- data/lib/roebe/www/shops/shops.rb +26 -0
- data/lib/roebe/www/shops/shops.sinatra +56 -0
- data/lib/roebe/www/signal_transduction/signal_transduction.cgi +93 -0
- data/lib/roebe/www/simpsons/simpsons.cgi +7 -0
- data/lib/roebe/www/simpsons/simpsons.rb +24 -0
- data/lib/roebe/www/simpsons/simpsons.sinatra +56 -0
- data/lib/roebe/www/smoking/smoking.cgi +26 -0
- data/lib/roebe/www/sociology/content.md +26 -0
- data/lib/roebe/www/socken/socken.cgi +7 -0
- data/lib/roebe/www/socken/socken.rb +25 -0
- data/lib/roebe/www/socken/socken.sinatra +56 -0
- data/lib/roebe/www/solarzellen/solarzellen.cgi +7 -0
- data/lib/roebe/www/solarzellen/solarzellen.rb +13 -0
- data/lib/roebe/www/solarzellen/solarzellen.sinatra +56 -0
- data/lib/roebe/www/sound_theory/sound_theory.cgi +163 -0
- data/lib/roebe/www/space_exploration/space_exploration.cgi +7 -0
- data/lib/roebe/www/space_exploration/space_exploration.rb +31 -0
- data/lib/roebe/www/space_exploration/space_exploration.sinatra +56 -0
- data/lib/roebe/www/sprechanlagen/sprechanlagen.cgi +34 -0
- data/lib/roebe/www/statistik/statistik.cgi +7 -0
- data/lib/roebe/www/statistik/statistik.rb +939 -0
- data/lib/roebe/www/statistik/statistik.sinatra +56 -0
- data/lib/roebe/www/std_linux.rb +95 -0
- data/lib/roebe/www/stem_cells/stem_cells.cgi +219 -0
- data/lib/roebe/www/strom/strom.cgi +7 -0
- data/lib/roebe/www/strom/strom.rb +152 -0
- data/lib/roebe/www/strom/strom.sinatra +56 -0
- data/lib/roebe/www/structural_biology/structural_biology.cgi +68 -0
- data/lib/roebe/www/sudoers/sudoers +43 -0
- data/lib/roebe/www/svg/svg.cgi +7 -0
- data/lib/roebe/www/svg/svg.rb +47 -0
- data/lib/roebe/www/svg/svg.sinatra +56 -0
- data/lib/roebe/www/synthetic_biology/synthetic_biology.cgi +7 -0
- data/lib/roebe/www/synthetic_biology/synthetic_biology.rb +234 -0
- data/lib/roebe/www/synthetic_biology/synthetic_biology.sinatra +56 -0
- data/lib/roebe/www/systemd/systemd.cgi +9 -0
- data/lib/roebe/www/systemd/systemd.rb +61 -0
- data/lib/roebe/www/systemd/systemd.sinatra +56 -0
- data/lib/roebe/www/tales_from_the_crypt/tales_from_the_crypt.html +71 -0
- data/lib/roebe/www/techniques_and_methods_in_molecular_biology/techniques_and_methods_in_molecular_biology.cgi +7 -0
- data/lib/roebe/www/techniques_and_methods_in_molecular_biology/techniques_and_methods_in_molecular_biology.rb +290 -0
- data/lib/roebe/www/techniques_and_methods_in_molecular_biology/techniques_and_methods_in_molecular_biology.sinatra +56 -0
- data/lib/roebe/www/telnet/telnet.cgi +64 -0
- data/lib/roebe/www/terminals/lilyterm.md +8 -0
- data/lib/roebe/www/terminals/terminals.cgi +7 -0
- data/lib/roebe/www/terminals/terminals.rb +125 -0
- data/lib/roebe/www/terminals/terminals.sinatra +56 -0
- data/lib/roebe/www/test/README.md +1 -0
- data/lib/roebe/www/test/database.sql +0 -0
- data/lib/roebe/www/test/test.cgi +38 -0
- data/lib/roebe/www/the_linux_kernel/the_linux_kernel.cgi +11 -0
- data/lib/roebe/www/the_linux_kernel/the_linux_kernel.rb +1660 -0
- data/lib/roebe/www/the_linux_kernel/the_linux_kernel.sinatra +56 -0
- data/lib/roebe/www/the_universe/the_universe.cgi +34 -0
- data/lib/roebe/www/theoretische_informatik/theoretische_informatik.cgi +35 -0
- data/lib/roebe/www/thermodynamik/thermodynamik.cgi +32 -0
- data/lib/roebe/www/thinking_methods/thinking_methods.cgi +7 -0
- data/lib/roebe/www/thinking_methods/thinking_methods.rb +144 -0
- data/lib/roebe/www/thinking_methods/thinking_methods.sinatra +56 -0
- data/lib/roebe/www/thunderbird/thunderbird.cgi +7 -0
- data/lib/roebe/www/thunderbird/thunderbird.rb +70 -0
- data/lib/roebe/www/thunderbird/thunderbird.sinatra +56 -0
- data/lib/roebe/www/tierzucht/tierzucht.cgi +723 -0
- data/lib/roebe/www/time/time.cgi +7 -0
- data/lib/roebe/www/time/time.rb +82 -0
- data/lib/roebe/www/time/time.sinatra +56 -0
- data/lib/roebe/www/tmux/tmux.cgi +7 -0
- data/lib/roebe/www/tmux/tmux.rb +74 -0
- data/lib/roebe/www/tmux/tmux.sinatra +56 -0
- data/lib/roebe/www/toxikologie/toxikologie.cgi +7 -0
- data/lib/roebe/www/toxikologie/toxikologie.rb +617 -0
- data/lib/roebe/www/toxikologie/toxikologie.sinatra +56 -0
- data/lib/roebe/www/trac/trac.cgi +7 -0
- data/lib/roebe/www/trac/trac.rb +46 -0
- data/lib/roebe/www/trac/trac.sinatra +56 -0
- data/lib/roebe/www/training/training.cgi +7 -0
- data/lib/roebe/www/training/training.rb +281 -0
- data/lib/roebe/www/training/training.sinatra +52 -0
- data/lib/roebe/www/transcription/transcription.cgi +7 -0
- data/lib/roebe/www/transcription/transcription.rb +163 -0
- data/lib/roebe/www/transcription/transcription.sinatra +56 -0
- data/lib/roebe/www/tv/tv.cgi +182 -0
- data/lib/roebe/www/udev/udev.cgi +7 -0
- data/lib/roebe/www/udev/udev.rb +128 -0
- data/lib/roebe/www/udev/udev.sinatra +56 -0
- data/lib/roebe/www/unicode/unicode.cgi +28 -0
- data/lib/roebe/www/unionfs/unionfs.cgi +8 -0
- data/lib/roebe/www/unionfs/unionfs.rb +325 -0
- data/lib/roebe/www/unionfs/unionfs.sinatra +56 -0
- data/lib/roebe/www/usb/usb.cgi +7 -0
- data/lib/roebe/www/usb/usb.rb +807 -0
- data/lib/roebe/www/usb/usb.sinatra +52 -0
- data/lib/roebe/www/vaccines/vaccines.cgi +70 -0
- data/lib/roebe/www/vectors/vectors.cgi +7 -0
- data/lib/roebe/www/vectors/vectors.rb +90 -0
- data/lib/roebe/www/vectors/vectors.sinatra +56 -0
- data/lib/roebe/www/verfahrenstechnik/verfahrenstechnik.cgi +62 -0
- data/lib/roebe/www/video/video.cgi +7 -0
- data/lib/roebe/www/video/video.rb +7723 -0
- data/lib/roebe/www/video/video.sinatra +52 -0
- data/lib/roebe/www/view_via_pre_tag/README.md +2 -0
- data/lib/roebe/www/view_via_pre_tag/view_via_pre_tag.cgi +26 -0
- data/lib/roebe/www/vim/aliases/vim_aliases.yml +487 -0
- data/lib/roebe/www/vim/autocmds/vim_autocmds +50 -0
- data/lib/roebe/www/vim/colours/desert.vim +105 -0
- data/lib/roebe/www/vim/colours/golden.vim +72 -0
- data/lib/roebe/www/vim/colours/sienna.vim +47 -0
- data/lib/roebe/www/vim/colours/softblue.vim +45 -0
- data/lib/roebe/www/vim/colours/zenburn.vim +135 -0
- data/lib/roebe/www/vim/functions/functions +185 -0
- data/lib/roebe/www/vim/mappings/mappings.md +372 -0
- data/lib/roebe/www/vim/matrix/matrix.vim +316 -0
- data/lib/roebe/www/vim/tetris/tetris.vim +331 -0
- data/lib/roebe/www/vim/vim.cgi +7 -0
- data/lib/roebe/www/vim/vim.rb +856 -0
- data/lib/roebe/www/vim/vim.sinatra +52 -0
- data/lib/roebe/www/vim/vimrc/vimrc +332 -0
- data/lib/roebe/www/virology/virology.cgi +7 -0
- data/lib/roebe/www/virology/virology.rb +603 -0
- data/lib/roebe/www/virology/virology.sinatra +56 -0
- data/lib/roebe/www/virtual_reality/virtual_reality.cgi +7 -0
- data/lib/roebe/www/virtual_reality/virtual_reality.rb +184 -0
- data/lib/roebe/www/virtual_reality/virtual_reality.sinatra +52 -0
- data/lib/roebe/www/visual_studio/visual_studio.cgi +7 -0
- data/lib/roebe/www/visual_studio/visual_studio.rb +38 -0
- data/lib/roebe/www/visual_studio/visual_studio.sinatra +56 -0
- data/lib/roebe/www/visualization/content.md +2 -0
- data/lib/roebe/www/vitamines/vitamines.cgi +11 -0
- data/lib/roebe/www/vitamines/vitamines.rb +138 -0
- data/lib/roebe/www/vitamines/vitamines.sinatra +56 -0
- data/lib/roebe/www/vivaldi/vivaldi.cgi +27 -0
- data/lib/roebe/www/vlc/vlc.cgi +32 -0
- data/lib/roebe/www/vnc/vnc.cgi +7 -0
- data/lib/roebe/www/vnc/vnc.rb +28 -0
- data/lib/roebe/www/vnc/vnc.sinatra +56 -0
- data/lib/roebe/www/voice_recorders/voice_recorders.cgi +7 -0
- data/lib/roebe/www/voice_recorders/voice_recorders.rb +48 -0
- data/lib/roebe/www/voice_recorders/voice_recorders.sinatra +52 -0
- data/lib/roebe/www/waagen/waagen.cgi +36 -0
- data/lib/roebe/www/wahrscheinlichkeit/wahrscheinlichkeit.cgi +7 -0
- data/lib/roebe/www/wahrscheinlichkeit/wahrscheinlichkeit.rb +270 -0
- data/lib/roebe/www/wahrscheinlichkeit/wahrscheinlichkeit.sinatra +56 -0
- data/lib/roebe/www/war_in_Ukraine_2022/war_in_Ukraine_2022.cgi +7 -0
- data/lib/roebe/www/war_in_Ukraine_2022/war_in_Ukraine_2022.rb +251 -0
- data/lib/roebe/www/war_in_Ukraine_2022/war_in_Ukraine_2022.sinatra +56 -0
- data/lib/roebe/www/waschmaschinen/waschmaschinen.cgi +7 -0
- data/lib/roebe/www/waschmaschinen/waschmaschinen.rb +259 -0
- data/lib/roebe/www/waschmaschinen/waschmaschinen.sinatra +52 -0
- data/lib/roebe/www/water/content.md +1 -0
- data/lib/roebe/www/wayland/wayland.cgi +25 -0
- data/lib/roebe/www/webserving/webserving.cgi +7 -0
- data/lib/roebe/www/webserving/webserving.rb +905 -0
- data/lib/roebe/www/webserving/webserving.sinatra +52 -0
- data/lib/roebe/www/weechat/weechat.cgi +7 -0
- data/lib/roebe/www/weechat/weechat.rb +166 -0
- data/lib/roebe/www/weechat/weechat.sinatra +52 -0
- data/lib/roebe/www/wein/wein.cgi +7 -0
- data/lib/roebe/www/wein/wein.rb +41 -0
- data/lib/roebe/www/wein/wein.sinatra +56 -0
- data/lib/roebe/www/wget/wgetrc +124 -0
- data/lib/roebe/www/why_linux/why_linux.cgi +7 -0
- data/lib/roebe/www/why_linux/why_linux.rb +317 -0
- data/lib/roebe/www/why_linux/why_linux.sinatra +56 -0
- data/lib/roebe/www/wikis/wikis.cgi +7 -0
- data/lib/roebe/www/wikis/wikis.rb +18 -0
- data/lib/roebe/www/wikis/wikis.sinatra +56 -0
- data/lib/roebe/www/wine/wine.cgi +7 -0
- data/lib/roebe/www/wine/wine.rb +323 -0
- data/lib/roebe/www/wine/wine.sinatra +52 -0
- data/lib/roebe/www/wine/wine_config +69 -0
- data/lib/roebe/www/wings3d/data/House_Villa.wings +0 -0
- data/lib/roebe/www/wings3d/wings3d.cgi +7 -0
- data/lib/roebe/www/wings3d/wings3d.rb +64 -0
- data/lib/roebe/www/wings3d/wings3d.sinatra +56 -0
- data/lib/roebe/www/witze/witze.cgi +9 -0
- data/lib/roebe/www/witze/witze.rb +1055 -0
- data/lib/roebe/www/witze/witze.sinatra +56 -0
- data/lib/roebe/www/wlan/wlan.cgi +9 -0
- data/lib/roebe/www/wlan/wlan.rb +708 -0
- data/lib/roebe/www/wlan/wlan.sinatra +56 -0
- data/lib/roebe/www/wlan/wpa_supplicant.conf +57 -0
- data/lib/roebe/www/working_from_home/working_from_home.md +60 -0
- data/lib/roebe/www/world_health_organization/world_health_organization.cgi +7 -0
- data/lib/roebe/www/world_health_organization/world_health_organization.rb +68 -0
- data/lib/roebe/www/world_health_organization/world_health_organization.sinatra +56 -0
- data/lib/roebe/www/xampp/xampp.cgi +7 -0
- data/lib/roebe/www/xampp/xampp.rb +126 -0
- data/lib/roebe/www/xampp/xampp.sinatra +56 -0
- data/lib/roebe/www/xchat/xchat.cgi +7 -0
- data/lib/roebe/www/xchat/xchat.rb +146 -0
- data/lib/roebe/www/xchat/xchat.sinatra +56 -0
- data/lib/roebe/www/xfce/xfce.cgi +31 -0
- data/lib/roebe/www/xmas/xmas.cgi +7 -0
- data/lib/roebe/www/xmas/xmas.rb +521 -0
- data/lib/roebe/www/xmas/xmas.sinatra +56 -0
- data/lib/roebe/www/xorg/xorg.cgi +9 -0
- data/lib/roebe/www/xorg/xorg.rb +2912 -0
- data/lib/roebe/www/xorg/xorg.sinatra +56 -0
- data/lib/roebe/www/xournalpp/content.md +12 -0
- data/lib/roebe/www/yeast/yeast.cgi +7 -0
- data/lib/roebe/www/yeast/yeast.rb +147 -0
- data/lib/roebe/www/yeast/yeast.sinatra +56 -0
- data/lib/roebe/www/zenity/zenity.cgi +7 -0
- data/lib/roebe/www/zenity/zenity.rb +208 -0
- data/lib/roebe/www/zenity/zenity.sinatra +56 -0
- data/lib/roebe/www/zitieren/example.md +10 -0
- data/lib/roebe/www/zitieren/wie_zitiert_man_in_der_Wissenschaft_richtig.md +261 -0
- data/lib/roebe/www/zoologie/zoologie.cgi +7 -0
- data/lib/roebe/www/zoologie/zoologie.gtk +150 -0
- data/lib/roebe/www/zoologie/zoologie.rb +280 -0
- data/lib/roebe/www/zoologie/zoologie.sinatra +56 -0
- data/lib/roebe/www/zoom/zoom.cgi +7 -0
- data/lib/roebe/www/zoom/zoom.rb +55 -0
- data/lib/roebe/www/zoom/zoom.sinatra +56 -0
- data/lib/roebe/www/zsh/zshrc +360 -0
- data/lib/roebe/www//303/244thiopien//303/244thiopien.cgi +49 -0
- data/lib/roebe/xml/catalog +29 -0
- data/lib/roebe/yaml/advertisement_servers/advertisement_servers.yml +18 -0
- data/lib/roebe/yaml/autogenerate_these_rewrite_rules/autogenerate_these_rewrite_rules.yml +131 -0
- data/lib/roebe/yaml/autostart_these_programs.yml +22 -0
- data/lib/roebe/yaml/bezirke_in_wien/bezirke_in_wien.yml +29 -0
- data/lib/roebe/yaml/binary_to_hexadecimal/binary_to_hexadecimal.csv +17 -0
- data/lib/roebe/yaml/bin/303/244re_einheiten/bin/303/244re_einheiten.yml +9 -0
- data/lib/roebe/yaml/books/favourite_books.yml +11 -0
- data/lib/roebe/yaml/boot_settings/boot_settings.yml +53 -0
- data/lib/roebe/yaml/browser.yml +1 -0
- data/lib/roebe/yaml/compile/compile.yml +262 -0
- data/lib/roebe/yaml/current_ruby_versions.yml +12 -0
- data/lib/roebe/yaml/directory_structure.yml +121 -0
- data/lib/roebe/yaml/display_settings/display_settings.yml +184 -0
- data/lib/roebe/yaml/e_kennzeichnungen/e_kennzeichnungen.yml +101 -0
- data/lib/roebe/yaml/english_letter_frequency/english_letter_frequency.yml +30 -0
- data/lib/roebe/yaml/error_codes/error_codes.yml +342 -0
- data/lib/roebe/yaml/escape_codes/escape_codes.yml +12 -0
- data/lib/roebe/yaml/examples/README.md +4 -0
- data/lib/roebe/yaml/examples/c_headers_creator.yml +10 -0
- data/lib/roebe/yaml/examples/constant.yml +4 -0
- data/lib/roebe/yaml/examples/fixnum.yml +1 -0
- data/lib/roebe/yaml/examples/hash_example.yml +42 -0
- data/lib/roebe/yaml/examples/ruby_keywords.yml +43 -0
- data/lib/roebe/yaml/examples/symbols.yml +3 -0
- data/lib/roebe/yaml/examples/test.yml +9 -0
- data/lib/roebe/yaml/examples/tree.yml +8 -0
- data/lib/roebe/yaml/famous_bboys/famous_bboys.yml +14 -0
- data/lib/roebe/yaml/file_information.yml +34 -0
- data/lib/roebe/yaml/fonts/fonts.yml +33 -0
- data/lib/roebe/yaml/forbidden_IPs/forbidden_IPs.yml +2 -0
- data/lib/roebe/yaml/fstab/fstab.yml +122 -0
- data/lib/roebe/yaml/funstuff/am/303/274sante_deutsche_w/303/266rter.yml +2 -0
- data/lib/roebe/yaml/gnome/gnome.yml +8 -0
- data/lib/roebe/yaml/holidays/holidays.yml +24 -0
- data/lib/roebe/yaml/http_status_codes/http_status_codes.yml +52 -0
- data/lib/roebe/yaml/individual_environment_variables/cflags.yml +59 -0
- data/lib/roebe/yaml/individual_environment_variables/lang.yml +75 -0
- data/lib/roebe/yaml/individual_environment_variables/ldflags.yml +2 -0
- data/lib/roebe/yaml/individual_environment_variables/term.yml +14 -0
- data/lib/roebe/yaml/ip_suffix/ip_suffix.yml +22 -0
- data/lib/roebe/yaml/irc/irc.yml +11 -0
- data/lib/roebe/yaml/kde/kde.yml +54 -0
- data/lib/roebe/yaml/kernel/kernel.yml +11 -0
- data/lib/roebe/yaml/kernel_config/kernel_config.yml +79 -0
- data/lib/roebe/yaml/linux_kernel_settings.yml +11 -0
- data/lib/roebe/yaml/ls_colors.yml +17 -0
- data/lib/roebe/yaml/main_avi.yml +1 -0
- data/lib/roebe/yaml/main_editor.yml +1 -0
- data/lib/roebe/yaml/main_jpg.yml +1 -0
- data/lib/roebe/yaml/main_pdf.yml +1 -0
- data/lib/roebe/yaml/main_png.yml +1 -0
- data/lib/roebe/yaml/mark_this_directory.yml +1 -0
- data/lib/roebe/yaml/mime/mime.yml +615 -0
- data/lib/roebe/yaml/mime_types.yml +37 -0
- data/lib/roebe/yaml/monitors/monitors.yml +127 -0
- data/lib/roebe/yaml/n_people_in_these_countries.yml +31 -0
- data/lib/roebe/yaml/name_for_the_wireless_interface.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf1.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf2.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf3.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf4.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf5.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf6.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf7.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf8.yml +1 -0
- data/lib/roebe/yaml/pdf/pdf9.yml +1 -0
- data/lib/roebe/yaml/peoples_age.yml +6 -0
- data/lib/roebe/yaml/ports/ports.yml +50 -0
- data/lib/roebe/yaml/posix_character_classes.yml +13 -0
- data/lib/roebe/yaml/project_base_directory.yml +0 -0
- data/lib/roebe/yaml/rufnummern_in_/303/266sterreich/rufnummern_in_/303/266sterreich.yml +5 -0
- data/lib/roebe/yaml/size_of_countries.yml +197 -0
- data/lib/roebe/yaml/statistics/statistics.yml +17 -0
- data/lib/roebe/yaml/sternzeichen/sternzeichen.yml +16 -0
- data/lib/roebe/yaml/system/system.yml +80 -0
- data/lib/roebe/yaml/temperature_of_the_planets_in_our_solar_system/temperature_of_the_planets_in_our_solar_system.yml +22 -0
- data/lib/roebe/yaml/test/README.md +4 -0
- data/lib/roebe/yaml/test/umlaute.yml +2 -0
- data/lib/roebe/yaml/the_beginning_of_linux/the_beginning_of_linux.yml +29 -0
- data/lib/roebe/yaml/use_colours.yml +1 -0
- data/lib/roebe/yaml/world_capitals/world_capitals.yml +205 -0
- data/lib/roebe/yaml/world_geography_and_people/world_geography_and_people.yml +25 -0
- data/lib/roebe.rb +7 -0
- data/roebe.gemspec +104 -0
- data/test/active_record/testing +0 -0
- data/test/active_record/testing_active_record.rb +25 -0
- data/test/comparison_example/comparison_example.rb +34 -0
- data/test/hello_world/hello_world.rb +1 -0
- data/test/misc/README.md +2 -0
- data/test/misc/arity_example.rb +44 -0
- data/test/misc/display_the_shell_colours.rb +48 -0
- data/test/misc/fetch_a_specific_key_from_a_hash.rb +26 -0
- data/test/misc/fork_example.rb +15 -0
- data/test/misc/hello_world.rb +1 -0
- data/test/misc/heredoc_example.rb +9 -0
- data/test/misc/hooks/README.md +3 -0
- data/test/misc/hooks/test_inherited_hook.rb +13 -0
- data/test/misc/minimal_irc_bot/minimal_irc_bot.rb +33 -0
- data/test/misc/name_of_this_script.rb +12 -0
- data/test/misc/read_keypresses.rb +79 -0
- data/test/misc/readline/README.md +1 -0
- data/test/misc/readline/completion_for_a_static_list.rb +33 -0
- data/test/misc/readline/simple_readline_example.rb +14 -0
- data/test/misc/simple_sigint_example.rb +51 -0
- data/test/misc/simple_user_input_via_stdin_or_Readline_example.rb +14 -0
- data/test/misc/tcp_socket_example.rb +28 -0
- data/test/misc/tracer.rb +39 -0
- data/test/misc/with_border.rb +22 -0
- data/test/testing_cat.rb +3 -0
- data/test/testing_class_configuration/testing_class_configuration.rb +81 -0
- data/test/testing_core_functionality_of_ruby/README.md +6 -0
- data/test/testing_core_functionality_of_ruby/file_test.rb +1 -0
- data/test/testing_core_functionality_of_ruby/verbose_file_copy.rb +5 -0
- data/test/testing_google_url_cleaner.rb +25 -0
- data/test/testing_http_status_codes.rb +13 -0
- data/test/testing_identical.rb +17 -0
- data/test/testing_move_file.rb +14 -0
- data/test/testing_permission_ascii_format.rb +23 -0
- data/test/testing_sql_paradise.rb +17 -0
- data/test/testing_the_roebe_shell.rb +31 -0
- data/test/testing_twentyfour_hours_notation.rb +37 -0
- data/test/testing_zenity.rb +26 -0
- metadata +3019 -0
data/doc/core/misc.md
ADDED
@@ -0,0 +1,1779 @@
|
|
1
|
+
## How do we find out how many arguments a method will accept? (alos known as arity)
|
2
|
+
|
3
|
+
This is possible via the <b>.arity</b> method.
|
4
|
+
|
5
|
+
Example for this:
|
6
|
+
|
7
|
+
'sss'.method(:concat).arity # => -1
|
8
|
+
'sss'.method(:size).arity # => 0
|
9
|
+
method(:method_name).arity
|
10
|
+
instance_method(:method_name).arity
|
11
|
+
|
12
|
+
## How do we change the value of a true variable to false and vice versa?
|
13
|
+
|
14
|
+
Use ^= as in:
|
15
|
+
|
16
|
+
var ^= true
|
17
|
+
|
18
|
+
Alternatively you could use the ternary operator, such as via:
|
19
|
+
|
20
|
+
var = condition ? true_val : false_val
|
21
|
+
1 ^ 0 # => 1
|
22
|
+
1 ^ 1 # => 0
|
23
|
+
0 ^ 0 # => 0
|
24
|
+
0 ^ 1 # => 1
|
25
|
+
|
26
|
+
A slightly more complex example follows:
|
27
|
+
|
28
|
+
r if !r.nil? and r != "" and (command.nil? || command.empty?)
|
29
|
+
if ARGV[0] == ( 'no' or 'n' )
|
30
|
+
|
31
|
+
## How to quickly obtain the SITE LIB DIR in ruby via a method?
|
32
|
+
|
33
|
+
def ruby_sitelib_dir?
|
34
|
+
RbConfig::CONFIG['sitelibdir'].to_s+'/'
|
35
|
+
end
|
36
|
+
|
37
|
+
## How to encode a String in ruby, towards a specific Encoding?
|
38
|
+
|
39
|
+
puts 'äöü'.encode('iso-8859-1')
|
40
|
+
|
41
|
+
## How to avoid that local variables vanish, that is, to "evaporate"?
|
42
|
+
|
43
|
+
One of the best strategy to avoid this issue is to store information
|
44
|
+
in instance variables, such as <b>@foobar</b>.
|
45
|
+
|
46
|
+
## How to determine the current encoding of a file?
|
47
|
+
|
48
|
+
Use:
|
49
|
+
|
50
|
+
__ENCODING__
|
51
|
+
|
52
|
+
## How do we write a <b>Domain Specific Language</b> (DSL), in Ruby?
|
53
|
+
|
54
|
+
First, we should denote what the goals are for that DSL.
|
55
|
+
|
56
|
+
Next, one should note down how to achieve these goals specifically.
|
57
|
+
|
58
|
+
For my biology-environment I thought about adding a hierarchy
|
59
|
+
of different classes, without specifying which class is to
|
60
|
+
be used.
|
61
|
+
|
62
|
+
Example:
|
63
|
+
|
64
|
+
subclasses [listing of them goes here]
|
65
|
+
|
66
|
+
The main idea behind a DSL is that the language is adjusted towards
|
67
|
+
the problem at hand, rather than using a programming language
|
68
|
+
per se, to solve a given problem.
|
69
|
+
|
70
|
+
## How to determine whether a method is public or not, in ruby?
|
71
|
+
|
72
|
+
.public_method_defined?
|
73
|
+
|
74
|
+
## Which _eval methods exist?
|
75
|
+
|
76
|
+
Object#instance_eval
|
77
|
+
Module#class_eval
|
78
|
+
Module#module_eval
|
79
|
+
|
80
|
+
## How does ruby's include directive works?
|
81
|
+
|
82
|
+
Via <b>include</b> ruby creates a reference from the given class
|
83
|
+
onto the module that is included. If several classes include the
|
84
|
+
same module then each of them will also be changed, naturally,
|
85
|
+
if this module is modified.
|
86
|
+
|
87
|
+
The basic syntax in how to include a module goes like this:
|
88
|
+
|
89
|
+
class Foo
|
90
|
+
|
91
|
+
nclude Bar
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
## How can we define a singleton method in Ruby?
|
96
|
+
|
97
|
+
At the least two different ways exist there:
|
98
|
+
|
99
|
+
c = 'cat'; c.define_singleton_method(:hi) { p 'hi' }
|
100
|
+
c = 'cat'; def c.hi; p 'hi'; end
|
101
|
+
|
102
|
+
## Is it possible to combine <b>protected</b> with <b>attr_accessor</b>?
|
103
|
+
|
104
|
+
Yes.
|
105
|
+
|
106
|
+
Use:
|
107
|
+
|
108
|
+
attr_accessor :foo; protected :foo, :foo=
|
109
|
+
|
110
|
+
## How do we seek and write in a file?
|
111
|
+
|
112
|
+
This is possible by using <b>r+b</b> and seek().
|
113
|
+
|
114
|
+
Example:
|
115
|
+
|
116
|
+
File.open('test.txt','wb'){|f| f.print 'A' * 1024 }
|
117
|
+
File.open('test.txt','r+b'){|f| f.seek(512); f.print 'BBBB' }
|
118
|
+
|
119
|
+
## How do we find out whether xyz is a file? (is file, is file?, is_file?)
|
120
|
+
|
121
|
+
Use:
|
122
|
+
|
123
|
+
File.file?(xyz)
|
124
|
+
File.file? file
|
125
|
+
|
126
|
+
## How can we copy a file in ruby? (copy tag, copy_file tag)','copy
|
127
|
+
|
128
|
+
FileUtils.cp(from, to)
|
129
|
+
|
130
|
+
## How do we view all methods on a given object?
|
131
|
+
|
132
|
+
Use:
|
133
|
+
|
134
|
+
object.public_methods(false)
|
135
|
+
|
136
|
+
|
137
|
+
## How can we use a case statement (case/when menu) in ruby without an explicit variable?
|
138
|
+
|
139
|
+
The following example shows this:
|
140
|
+
|
141
|
+
print 'Enter a string: '
|
142
|
+
|
143
|
+
some_string = gets.chomp
|
144
|
+
|
145
|
+
case
|
146
|
+
when some_string.match(/\d/)
|
147
|
+
puts 'String has numbers'
|
148
|
+
when some_string.match(/[a-zA-Z]/)
|
149
|
+
puts 'String has letters'
|
150
|
+
else
|
151
|
+
puts 'String has no numbers or letters'
|
152
|
+
end
|
153
|
+
|
154
|
+
## How do we obtain a <b>reference</b> to define_method?
|
155
|
+
|
156
|
+
D = Object.method(:define_method)
|
157
|
+
|
158
|
+
## Where is the <b>SITELIBDIR</b> of Ruby?
|
159
|
+
|
160
|
+
Use the following to find out:
|
161
|
+
|
162
|
+
RbConfig::CONFIG['sitelibdir'] => '/Programs/Ruby/2.6.3/lib/ruby/site_ruby/2.6.0'
|
163
|
+
|
164
|
+
## How do we read in a file in Ruby with explicit mention of the encoding?
|
165
|
+
|
166
|
+
this_file =
|
167
|
+
'/home/x/programming/ruby/documentation/ruby_errorcodes.cgi'
|
168
|
+
File.read(this_file, encoding: 'iso8859-1')
|
169
|
+
|
170
|
+
a = "abc".force_encoding("UTF-8")
|
171
|
+
string.force_encoding('UTF-8')
|
172
|
+
b = "def\xff".force_encoding("ISO-8859-1")
|
173
|
+
|
174
|
+
Another interesting way to open a file goes via:
|
175
|
+
|
176
|
+
File.read("chinese.txt", encoding: "UTF-8")
|
177
|
+
File.binread("foo.jpg")
|
178
|
+
|
179
|
+
One should be careful with encoding-related issues, as these may
|
180
|
+
yield to errors such as: <b>invalid multibyte char (US-ASCII)</b>
|
181
|
+
|
182
|
+
## Please show a specific example how to talk to a network, via Ruby:
|
183
|
+
|
184
|
+
require 'socket'
|
185
|
+
client = TCPSocket.open('127.0.0.1','finger')
|
186
|
+
client.send("mysql\n",0) # means standard packet
|
187
|
+
puts client.readlines
|
188
|
+
client.send("ssl\n",0) # means standard packet
|
189
|
+
puts client.readlines
|
190
|
+
client.close
|
191
|
+
|
192
|
+
## Which instances of class FalseClass exist in Ruby?
|
193
|
+
|
194
|
+
Only the value of false is an instance of class FalseClass.
|
195
|
+
|
196
|
+
## How do we obtain the parameters of a method?
|
197
|
+
|
198
|
+
def foo(a, b = 6, c = 7)
|
199
|
+
method(__method__).parameters
|
200
|
+
end
|
201
|
+
|
202
|
+
## How do we define methods dynamically?
|
203
|
+
|
204
|
+
We can use <b>define_method()</b> to define methods dynamically.
|
205
|
+
|
206
|
+
def method_missing(m)
|
207
|
+
puts "The method #{m} is not existing, so it will be defined dynamically."
|
208
|
+
define_method(:screech) {
|
209
|
+
puts 'This is the new screech.'
|
210
|
+
}
|
211
|
+
end
|
212
|
+
|
213
|
+
define_method() is a private class method - it thus has to be called
|
214
|
+
within the context of a class, without an explicit receiver.
|
215
|
+
|
216
|
+
define_method() belongs to class Object by default.
|
217
|
+
|
218
|
+
Let's look at the above snippet again and extend it:
|
219
|
+
|
220
|
+
def method_missing(m)
|
221
|
+
puts "No #{m}, so I will make one..."
|
222
|
+
self.class.define_method(:screech) {
|
223
|
+
puts 'This is the new screech.'
|
224
|
+
}
|
225
|
+
end
|
226
|
+
class C
|
227
|
+
|
228
|
+
class << self
|
229
|
+
define_method(:tag) { |v|
|
230
|
+
puts "<#{v}><#{v}>"
|
231
|
+
}
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
C.tag('div') => <div></div>
|
236
|
+
|
237
|
+
## Is there a drawback when we use setup.rb as opposed to a .gem file?
|
238
|
+
|
239
|
+
Yes - setup.rb does not offer an <b>uninstall</b> option.
|
240
|
+
|
241
|
+
## How do we typically install ruby via setup.rb?
|
242
|
+
|
243
|
+
Use the following steps:
|
244
|
+
|
245
|
+
ruby setup.rb config
|
246
|
+
ruby setup.rb setup
|
247
|
+
ruby setup.rb install
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
frage('Wie können wir einen Integer in Ruby konvertieren? Allgemein,
|
272
|
+
welche Möglichkeiten haben wir wenn wir etwas konvertieren wollen?
|
273
|
+
(convert an integer, convert tag)
|
274
|
+
Ruby verwendet sogenannte "conversion protocols" - ein Objekt kann
|
275
|
+
in ein anderes Objekt konvertiert werden.
|
276
|
+
Use <span class="s1">to_i</span> to convert in einen Integer,
|
277
|
+
<span class="s1">to_f</span> to convert to a float,
|
278
|
+
<span class="s1">to_s</span> to convert to a string.
|
279
|
+
|
280
|
+
Examples are easy,
|
281
|
+
<span class="s1">366.to_s</span> would make a "366" string,
|
282
|
+
and by appending an ?(type) to is_a you can find out what type it
|
283
|
+
is (i.e whether it is true that
|
284
|
+
something is of this type). Example:
|
285
|
+
<span class="s1">366.is_a?(Integer)</span>,
|
286
|
+
<span class="s1">366.is_a?(Float)</span>,
|
287
|
+
<span class="s1">366.is_a?(String)</span> <br/>
|
288
|
+
The exists a .to_int method, but it only works on objects
|
289
|
+
that emulate integers.
|
290
|
+
Thus, it excludes String. <br/>
|
291
|
+
It is a convention: <br/>
|
292
|
+
The short names (to_s, to_i etc.) are to support conversion
|
293
|
+
and change an object into string.
|
294
|
+
|
295
|
+
to_str, to_int etc. are to support protocol or for
|
296
|
+
"behaving like a string" (in case of to_str). Diese sind
|
297
|
+
strengere Funktionen - man verwendet sie in einem
|
298
|
+
Objekt nur wenn das Objekt normalerweise auch als String
|
299
|
+
oder Integer behandelbar ist.
|
300
|
+
|
301
|
+
What does a=(b != c) mean?")+
|
302
|
+
a is either true or false, depending on whether b != c is true or false
|
303
|
+
$CIU ranges as conditions?")+
|
304
|
+
Yes.
|
305
|
+
|
306
|
+
while line = gets
|
307
|
+
puts line if line =~ /start/ .. line =~ /end/
|
308
|
+
end
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
frage('How do i make multiple if conditions?
|
313
|
+
cmd("if x == 'vid' or x == 'video'")+
|
314
|
+
puts "Is a vid"
|
315
|
+
end
|
316
|
+
|
317
|
+
Another example:
|
318
|
+
|
319
|
+
puts "hmm" if "foo" =~ /foo/ and "faa" =~ /faa/ and 5 > 2
|
320
|
+
|
321
|
+
frage('Can you show me an example for a menu, like a case expression driven one?
|
322
|
+
Yes, I can, I will, for I am the Ruby God!
|
323
|
+
There are two forms:
|
324
|
+
|
325
|
+
leap = case
|
326
|
+
when year % 400 == 0: true
|
327
|
+
when year % 100 == 0: false
|
328
|
+
end
|
329
|
+
|
330
|
+
And this one:
|
331
|
+
|
332
|
+
case input_line
|
333
|
+
when "debug"
|
334
|
+
dump_debug_info
|
335
|
+
dump_symbols
|
336
|
+
when /pü\s+(\w+)/
|
337
|
+
dump_variable($1)
|
338
|
+
when "quit","exit"
|
339
|
+
exit
|
340
|
+
else
|
341
|
+
print "Illegal Command:#{input_line}"
|
342
|
+
end
|
343
|
+
|
344
|
+
Und noch eines ...
|
345
|
+
|
346
|
+
case $age
|
347
|
+
<span class="s1">
|
348
|
+
when 0 .. 2 <br/>
|
349
|
+
"baby" <br/>
|
350
|
+
when 3 .. 6 <br/>
|
351
|
+
"little child" <br/>
|
352
|
+
when 7 .. 12 <br/>
|
353
|
+
"child" <br/>
|
354
|
+
when 12 .. 18 <br/>
|
355
|
+
</span>
|
356
|
+
# Note: 12 already matched by "child"
|
357
|
+
youth
|
358
|
+
else
|
359
|
+
adult
|
360
|
+
end
|
361
|
+
|
362
|
+
|
363
|
+
Another one :)
|
364
|
+
loop {
|
365
|
+
puts <<EOF
|
366
|
+
+--------------------+
|
367
|
+
| Please choose one: |
|
368
|
+
| 1. Add user |
|
369
|
+
| 2. Remove user |
|
370
|
+
+--------------------+
|
371
|
+
EOF
|
372
|
+
|
373
|
+
print "Your choice (1-2)?"
|
374
|
+
STDOUT.flush
|
375
|
+
line = gets
|
376
|
+
break if [1,2].include?(line.to_i)
|
377
|
+
puts "Invalid entry"
|
378
|
+
}
|
379
|
+
|
380
|
+
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
h2('RubyReservedKeywords','BG_Black lightblue s1em pad5px mar5px',
|
405
|
+
'RubyReservedKeywords',
|
406
|
+
'border-bottom:1px solid royalblue;')+
|
407
|
+
table2('BG_Black yel s1em mar2px bblack1 marl4em',
|
408
|
+
'RubyReservedKeywords','',
|
409
|
+
'alias', 'and',
|
410
|
+
'BEGIN', 'begin',
|
411
|
+
'break', 'case',
|
412
|
+
'class', 'def',
|
413
|
+
'defined?', 'do',
|
414
|
+
'else', 'elsif',
|
415
|
+
'END', 'end',
|
416
|
+
'ensure', 'false',
|
417
|
+
'for', 'if',
|
418
|
+
'in', 'module',
|
419
|
+
'next', 'nil',
|
420
|
+
'not', 'or # is Synonym zu || jedoch hat || eine höhere Binding priority',
|
421
|
+
'redo', 'rescue',
|
422
|
+
'retry', 'return',
|
423
|
+
'self', 'super',
|
424
|
+
'then', 'true',
|
425
|
+
'undef', 'unless',
|
426
|
+
'until', 'when',
|
427
|
+
'while', 'yield'
|
428
|
+
)
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
img('PROGRAMMING_LANGUAGES/RUBY/RUBY.png','FLL
|
441
|
+
img('PROGRAMMING_LANGUAGES/RUBY/RUBY_HYDRA.png',
|
442
|
+
|
443
|
+
|
444
|
+
# ===================================================================== #
|
445
|
+
# === Count frequency of a word
|
446
|
+
# ===================================================================== #
|
447
|
+
div {
|
448
|
+
frage("Wie zähle ich die frequency eines Wortes? (word count, word
|
449
|
+
frequencies)
|
450
|
+
freq = Hash.new(0)
|
451
|
+
open("/home/x/DATA/RPG/RPG.php").read.scan(/\w+/){ |wort| freq[wort] += 1 }
|
452
|
+
freq.sort.each { |wort, zahl| puts "#{wort} - #{zahl}" }
|
453
|
+
|
454
|
+
oder etwas kürzer:
|
455
|
+
|
456
|
+
freq = Hash.new(0)
|
457
|
+
file = "kaiser.rb"
|
458
|
+
|
459
|
+
open(file).read.scan(/\w+/) { |wort| freq[wort] += 1 }
|
460
|
+
freq.sort.each { |wort, zahl| puts "#{wort} - #{zahl}" }')
|
461
|
+
}+
|
462
|
+
## What is a container?
|
463
|
+
Containers are <b>objects</b> that hold references to one or
|
464
|
+
more other objects.
|
465
|
+
|
466
|
+
Das verwendet man, da manche Terminals kleine Datenmenge
|
467
|
+
abpuffern und nicht aussenden.
|
468
|
+
|
469
|
+
Das "flushing" sendet die Datenmenge auf einmal raus und
|
470
|
+
mit <b>.sync = true</b> wird dies erzwungen.
|
471
|
+
|
472
|
+
Über Commandline Optionen geht dies so:
|
473
|
+
|
474
|
+
ruby -e "STDOUT.sync = true"
|
475
|
+
|
476
|
+
Dies erstellt ein Objekt der Klasse UnboundMethod.
|
477
|
+
|
478
|
+
x = Array.instance_method("pop") # => #<UnboundMethod: Array#pop>
|
479
|
+
string = String.instance_method(:size) # => #<UnboundMethod: String#size>
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
## Was sind die grundlegenden Typen (Types) in Ruby?
|
484
|
+
Numbers, strings, arrays, hashes, ranges, symbols, regular
|
485
|
+
expressions.
|
486
|
+
|
487
|
+
# ===================================================================== #
|
488
|
+
# === Wie verwenden wir .instance_exec() in Ruby?
|
489
|
+
# ===================================================================== #
|
490
|
+
## Wie verwenden wir .instance_exec() in ruby?
|
491
|
+
Ruby 1.9 hat die Methode <b>instance_exec()</b> hinzugefügt.
|
492
|
+
|
493
|
+
Diese funktioniert ähnlich wie instance_eval(), aber sie
|
494
|
+
erlaubt einem auch, Argumente an einen Block zu übergeben:
|
495
|
+
|
496
|
+
class C
|
497
|
+
cmd2(' def initialize
|
498
|
+
cmd3(' @x, @y = 1, 2
|
499
|
+
cmd2(' end
|
500
|
+
end
|
501
|
+
|
502
|
+
C.new.instance_exec(3) {|arg| (@x + @y) * arg }
|
503
|
+
# => 9
|
504
|
+
|
505
|
+
anm('An dieser Stelle sei noch ein Unterschied zwischen
|
506
|
+
<b>instance_eval</b> und <b>class_eval</b> bemerkt:
|
507
|
+
|
508
|
+
lem('class_eval definiert instance_methods da man sich im
|
509
|
+
Körper einer Klasse befindet.
|
510
|
+
|
511
|
+
lem('instance_eval agiert als ob man innerhalb von self
|
512
|
+
Methoden definieren würde, also erhält man damit class
|
513
|
+
methods.
|
514
|
+
|
515
|
+
Beispiel für .instance_eval:
|
516
|
+
|
517
|
+
class Foo; end
|
518
|
+
|
519
|
+
Foo.instance_eval {
|
520
|
+
def test
|
521
|
+
puts "this is a test"
|
522
|
+
end
|
523
|
+
}
|
524
|
+
Foo.test
|
525
|
+
|
526
|
+
anm('Man kann mittels .instance_eval auch Konstanten definieren:
|
527
|
+
|
528
|
+
module Foo; end; Foo.instance_eval { self::BAR = :b }
|
529
|
+
|
530
|
+
Es gibt seit Ruby 1.9 eine weitere Methode wie man das ganze
|
531
|
+
machen kann:
|
532
|
+
|
533
|
+
Mittels .instance_exec.
|
534
|
+
|
535
|
+
animal = "cats"
|
536
|
+
"dogs".instance_exec(animal) {|other|
|
537
|
+
puts "#{other} and #{self}"
|
538
|
+
}
|
539
|
+
pp object.instance_methods
|
540
|
+
|
541
|
+
.instance_methods akzeptiert ein (optionales) Argument, true
|
542
|
+
oder false. Default ist true. Wenn das Argument false ist, dann
|
543
|
+
geben wir nur all jene instance_methods wieder die wir selbst
|
544
|
+
definiert hatten - also nicht jene, die wir von der Mutterklasse
|
545
|
+
erhalten haben.
|
546
|
+
|
547
|
+
object.class.instance_methods(false)
|
548
|
+
|
549
|
+
Noch ein Beispiel, unter Verwendung von
|
550
|
+
.public_methods:
|
551
|
+
|
552
|
+
class Foo; def test1; end; def test2; end; end;
|
553
|
+
Foo.new.public_methods(false) # => [:test1, :test2]
|
554
|
+
|
555
|
+
Ist alias wunderbar?
|
556
|
+
|
557
|
+
Nun - es hat eine Einschränkung. Es funktioniert nur zu
|
558
|
+
instance_methods. Das heisst das man class << self
|
559
|
+
verwenden muss um ein Alias auf eine class Method
|
560
|
+
zu erreichen.
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
## Wie erhalte ich den Class Name einer Klasse?
|
565
|
+
Dies geht entweder so:
|
566
|
+
|
567
|
+
foo.class.name.split('::').last
|
568
|
+
|
569
|
+
Oder mittels Yard über .class_name.
|
570
|
+
|
571
|
+
module Hello; class Baby; end; end Hello::Baby.class_name # => "Baby"
|
572
|
+
|
573
|
+
## Wie setze ich Default Werte?
|
574
|
+
Am elegantesten geht dies wohl wie folgt:
|
575
|
+
|
576
|
+
def name; @name ||= "This is the default value for the
|
577
|
+
variable @name"; end
|
578
|
+
|
579
|
+
# ===================================================================== #
|
580
|
+
# === Wie pingen wir in ruby?
|
581
|
+
# ===================================================================== #
|
582
|
+
## Wie pingen wir in Ruby?
|
583
|
+
Ping.pingecho "google.com", <timeout>, <port>
|
584
|
+
Ping.pingecho "google.com", 1 # => false
|
585
|
+
|
586
|
+
Wobei <b>timeout</b> die Anzahl an Sekunden ist die man für
|
587
|
+
eine Antwort warten soll (defaults to 5) and port is the port
|
588
|
+
to use (defaults to the <i>echo</i> port)
|
589
|
+
|
590
|
+
frage("Wie schalte ich das Buffern von Strings aus? (disable String
|
591
|
+
Buffering, disable buffering)",'stdout
|
592
|
+
$stdout.sync = true','buffering # rf rubydocu buffering
|
593
|
+
$stderr.sync = true
|
594
|
+
|
595
|
+
Dies stellt sicher das die Ausgabe auf den Bildschirm
|
596
|
+
sofort erscheint, ohne Verzögerung.
|
597
|
+
anm('Man darf nicht zu $stdout assignen. Will man dies dennoch
|
598
|
+
tun, so muss man <b>$stdout.reopen</b> verwenden.
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
## Was meinen wir mit den Attributen eines Objekts, in ruby?
|
603
|
+
Dies sind die <b>external sichtbaren Facetten</b> eines Objekts.
|
604
|
+
|
605
|
+
## Wie finde ich möglichst viel über die <b>Plattform</b> raus,
|
606
|
+
auf der Ruby rennt?
|
607
|
+
require 'mkmf'
|
608
|
+
pp CONFIG
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
## Wie finden wir den Namen eines Anwenders heraus wenn ich
|
613
|
+
seine UID habe?
|
614
|
+
Etc.getpwuid(0)
|
615
|
+
|
616
|
+
## Was sind <b>Hooks</b> in ruby?
|
617
|
+
Hooks sind bestimmte Methoden die Ruby automatisch aufruft.
|
618
|
+
|
619
|
+
Wenn eine Klasse eine Class Method namens <b>.inherited</b>
|
620
|
+
definiert so ruft Ruby diese auf wann immer die Klasse subclassed
|
621
|
+
wird.
|
622
|
+
|
623
|
+
def self.inherited(i)
|
624
|
+
cmd2(' @array << i
|
625
|
+
end
|
626
|
+
|
627
|
+
## Wie verwenden wir quantity, in ruby?
|
628
|
+
require 'quantity/all'
|
629
|
+
|
630
|
+
1.meter # => 1 meter
|
631
|
+
1.meter.to_feet # => 3.28083... foot
|
632
|
+
c = 299792458.meters / 1.second # => 299792458 meter/second
|
633
|
+
newton = 1.meter * 1.kilogram / 1.second ** 2 # => 1 meter*kilogram/second^2
|
634
|
+
newton.to_feet # => 3.28083989501312 foot*kilogram/second^2
|
635
|
+
newton.convert(:feet) # => 3.28083989501312 foot*kilogram/second^2
|
636
|
+
jerk_newton = newton / 1.second # => 1 meter*kilogram/second^3
|
637
|
+
jerk_newton * 1.second == newton # => true
|
638
|
+
mmcubed = 1.mm.cubed # => 1 millimeter^3
|
639
|
+
mmcubed * 1000 == 1.milliliter # => true
|
640
|
+
[1.meter, 1.foot, 1.inch].sort # => [1 inch, 1 foot, 1 meter]
|
641
|
+
m_to_f = Quantity::Unit.for(:meter).convert_proc(:feet)
|
642
|
+
m_to_f.call(1) # => 3.28083... (or a Rational)
|
643
|
+
|
644
|
+
## Wie verwenden wir <b>defined?</b>, in ruby?
|
645
|
+
defined? ist ein merkwürdiges Keyword das einem nil zurückgibt
|
646
|
+
wenn das Argument unbekannt ist. Ansonsten gibt es einem den
|
647
|
+
Wert wieder.
|
648
|
+
|
649
|
+
Beispiele zu <b>defined?</b>:
|
650
|
+
|
651
|
+
defined? some_method # => nil
|
652
|
+
def test; end; defined? test # => "method"
|
653
|
+
super if defined? super
|
654
|
+
|
655
|
+
## Wie erhalten wir eine bestimmte instance variable in ruby?',
|
656
|
+
'get_instance_variable # get ivar tag.
|
657
|
+
Mittels instance_variable_get.
|
658
|
+
|
659
|
+
Beispiel:
|
660
|
+
|
661
|
+
object.instance_variable_get '@foo'
|
662
|
+
self.instance_variable_get '@foo'
|
663
|
+
|
664
|
+
Mittels instance_variable_set setzt man eine Variable
|
665
|
+
(set ivar, ivar set):
|
666
|
+
|
667
|
+
object.instance_variable_set
|
668
|
+
|
669
|
+
object.instance_variable_set(symbol, object) => object
|
670
|
+
object.instance_variable_set(:@a, 'dog') # => 'dog'
|
671
|
+
object.instance_variable_set(:@c, 'cat') # => @c is now = 'cat'
|
672
|
+
|
673
|
+
e("Mittels <b>.instance_variable_set()</b> setzen wir die Instance
|
674
|
+
Variable in Form eines Symbols zu einem Objekt. Dies umgeht aber
|
675
|
+
Encapsulation und mag nicht im Sinne des Entwicklers, der den Code
|
676
|
+
schrieb, sein.
|
677
|
+
|
678
|
+
- Ein Block kann selbst ein block argument übernehmen in Ruby 1.9:
|
679
|
+
|
680
|
+
l2em('|arg1,arg2,&block|
|
681
|
+
|
682
|
+
.chr akzeptiert seit 1.9 auch Encoding:
|
683
|
+
|
684
|
+
322.chr("UTF-8") # => "kann man nicht darstellen hier aber es is
|
685
|
+
so eine Art I mit schrägem Strich durch"
|
686
|
+
|
687
|
+
# ===================================================================== #
|
688
|
+
# === Können wir mehrere BEGIN und END Blöcke in einer .rb Datei
|
689
|
+
# verwenden?
|
690
|
+
# ===================================================================== #
|
691
|
+
## Können wir mehrere BEGIN und END Blöcke in einer .rb Datei
|
692
|
+
verwenden?
|
693
|
+
Ja. BEGIN wird sequenziell abgearbeitet, END wird
|
694
|
+
umgekehrt-sequenziell abgearbeitet.
|
695
|
+
|
696
|
+
Ruby definiert die globals <b>false</b> und <b>nil</b>.
|
697
|
+
Das sind die einzigen beiden Werte die als "false"
|
698
|
+
interpretiert werden.
|
699
|
+
|
700
|
+
|
701
|
+
## Wie kann ich den Namen der aktuellen Methode herausfinden?
|
702
|
+
Wie finde ich den Namen einer Methode heraus?
|
703
|
+
Dies geht mittels <b>Kernel.__method__</b>
|
704
|
+
|
705
|
+
Beispiel:
|
706
|
+
|
707
|
+
def foo
|
708
|
+
cmd2(' puts __method__
|
709
|
+
end
|
710
|
+
|
711
|
+
anm('__method__ gibt ein <b>Symbol</b> zurück.
|
712
|
+
|
713
|
+
## Wie lese ich den MBR?','mbr # mbr tag
|
714
|
+
File.open("/dev/sda") {|f| f.read(512) }
|
715
|
+
|
716
|
+
## Wie finde ich heraus wo eine Methode definiert ist?
|
717
|
+
Mittels <b>.source_location</b>
|
718
|
+
|
719
|
+
Man kann <b>.source_location</b> auf jede Methode in Ruby 1.9
|
720
|
+
anwenden.
|
721
|
+
|
722
|
+
Beispiele:
|
723
|
+
|
724
|
+
internal_method = "cat".method(:upcase)
|
725
|
+
internal_method.source_location # => nil
|
726
|
+
class A; def foo; end; end; file, line = A.instance_method(:foo).source_location
|
727
|
+
|
728
|
+
## Wie generiere ich ein zufälliges Passwort - der beantworte
|
729
|
+
eine Frage zufällig mit yes oder no?
|
730
|
+
password = (1..8).map { chars[rand(chars.size)] }.pack("C*")
|
731
|
+
|
732
|
+
The answer is
|
733
|
+
|
734
|
+
%w(no yes).rand
|
735
|
+
|
736
|
+
## Wie lesen wir einzelne Chars in ruby ein?
|
737
|
+
Verwende hierzu io-console von http://www.rubyist.net/~nobu/ruby/
|
738
|
+
|
739
|
+
a('http://www.rubyist.net/~nobu/ruby/io-console.tar.bz2',
|
740
|
+
content:'Io Console
|
741
|
+
|
742
|
+
require 'io/console.so'
|
743
|
+
|
744
|
+
print STDIN.getch
|
745
|
+
|
746
|
+
## Wie bekomme ich die Zeile des Fehlers?
|
747
|
+
puts "Failed to load in #{__FILE__}:#{__LINE__}"
|
748
|
+
|
749
|
+
## Wie prüfe ich ob eine Methode definiert ist? Wie überprüfe ich
|
750
|
+
konditional ob sie existiert? (defined method, has method,
|
751
|
+
has method?)','method_defined
|
752
|
+
|
753
|
+
Dies geht entweder mittels <b>method_defined?</b> oder mittels
|
754
|
+
<b>respond_to?</b>.
|
755
|
+
|
756
|
+
method_defined?
|
757
|
+
unless method_defined? :your_method
|
758
|
+
Array.method_defined?("size") # => true
|
759
|
+
Array.method_defined?(:bsearch)
|
760
|
+
if !method_defined? :to_time
|
761
|
+
|
762
|
+
Der Vorteil ist das man hier Methoden konditional hinzufügen
|
763
|
+
kann.
|
764
|
+
|
765
|
+
Noch ein Beispiel hierzu:
|
766
|
+
|
767
|
+
class Foo;def test;end;end
|
768
|
+
Foo.method_defined? :test # => true
|
769
|
+
|
770
|
+
## Wie verwenden wir Symbol#to_proc?
|
771
|
+
Nun... & ist ein Alias zu to_proc. & calls #to_proc
|
772
|
+
|
773
|
+
|
774
|
+
## Wie erhalte ich alle Argumente, die eine Methode in
|
775
|
+
Ruby benötigt?
|
776
|
+
A.instance_method(:method1).parameters # => [[:req, :tuti], [:req, :fruity]]
|
777
|
+
module Foo; def method1(tuti, frutti); end; end
|
778
|
+
|
779
|
+
Foo.instance_method(:method1).parameters.map(&:last).map(&:to_s)
|
780
|
+
# => ["tuti", "frutti"]
|
781
|
+
|
782
|
+
## Wie wird der <b>stack trace</b> normalerweise produziert?
|
783
|
+
Mittels der <b>Kernel.caller</b> Methode.
|
784
|
+
br +
|
785
|
+
## Wie konvertiere ich einen <b>HEXSTRING</b>?
|
786
|
+
"FF00FF".scan(/../).map(&:hex).map(&:chr).join
|
787
|
+
|
788
|
+
## Wie laden wir Dateien die relativ zu anderen
|
789
|
+
Dateien sind, in ruby?','expand_path # relative requires.
|
790
|
+
require File.join(File.dirname(__FILE__), "foo", "bar")
|
791
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "foo", "bar"))
|
792
|
+
anm('File.expand_path berücksichtigt Input von ~ der korrekt
|
793
|
+
zum HOME Verzeichnis konvertiert wird.
|
794
|
+
|
795
|
+
File.expand_path gibt den absoluten Pfad wieder.
|
796
|
+
|
797
|
+
__FILE__ ist der Pfad zu der Datei.
|
798
|
+
|
799
|
+
## Wie können wir in Ruby einen Datensatz gruppieren?
|
800
|
+
(group by first letter)
|
801
|
+
birds = ["Golden Eagle", "Gyrfalcon", "American Robin",
|
802
|
+
"Mountain BlueBird", "Mountain-Hawk Eagle"]
|
803
|
+
grouped_by_first_letter = birds.group_by { |s| s[0] }
|
804
|
+
|
805
|
+
Wie finden wir heraus ob eine Instance Variable definiert
|
806
|
+
wurde? # is instance variable defined.
|
807
|
+
if self.instance_variable_defined? "@foo"
|
808
|
+
object.instance_variable_defined?("@foo") # => true
|
809
|
+
object.instance_variable_defined? "@var" # => true
|
810
|
+
|
811
|
+
## Und wie entferne ich eine instance variable wieder?
|
812
|
+
Mittels remove_instance_variable. Beispiel:
|
813
|
+
|
814
|
+
remove_instance_variable(:@foo)
|
815
|
+
|
816
|
+
anm('Man kann auch konditional überprüfen ob eine Methode
|
817
|
+
in dem übergeordnetem Objekt existiert:
|
818
|
+
|
819
|
+
if defined?(super)
|
820
|
+
super if defined?(super)
|
821
|
+
anm('super ist übrigens das selbe wie super(*args, &block)
|
822
|
+
anm('super(&nil) # Hier wird kein Block übergeben. (only way to
|
823
|
+
suppress passing on a block)
|
824
|
+
|
825
|
+
## Was ist SCRIPT_LINES__?
|
826
|
+
SCRIPT_LINES__ (Hash)
|
827
|
+
|
828
|
+
If a constant SCRIPT_LINES__ is defined and references a Hash
|
829
|
+
at the time Ruby is compiling code, Ruby will store an entry
|
830
|
+
containing the contents of each file it parses, with the
|
831
|
+
filename as the key and an array of strings as the value.
|
832
|
+
|
833
|
+
See Kernel.require for an example, and then over
|
834
|
+
in Kernel.require:
|
835
|
+
|
836
|
+
The SCRIPT_LINES__ constant can be used to capture the
|
837
|
+
source of code read using require.
|
838
|
+
|
839
|
+
## Verwendet Ruby heredoc? (heredoc tag)
|
840
|
+
Ja. Alles das zwischen TOKEN ist wird gedruckt.
|
841
|
+
|
842
|
+
Beispiel:
|
843
|
+
|
844
|
+
print << X
|
845
|
+
cmd2(' kl
|
846
|
+
cmd2(' gegekl
|
847
|
+
cmd2(' kl
|
848
|
+
cmd2(' kl
|
849
|
+
|
850
|
+
X','indianred
|
851
|
+
|
852
|
+
Übrigens - wenn man ein Minuszeichen nach den beiden < setzt
|
853
|
+
dann kann man den folgenden Text schön indenten.
|
854
|
+
|
855
|
+
## Wie finden wir den <b>exit status</b> in ruby heraus?
|
856
|
+
Mittels der Variable $?
|
857
|
+
puts $?
|
858
|
+
|
859
|
+
Auch kann man den existatus herausfinden:
|
860
|
+
|
861
|
+
$?.exitstatus == 0
|
862
|
+
|
863
|
+
#cmd ' ruby -e "puts RUBY_VERSION.sub(/\.\d$/, \'\')"'
|
864
|
+
anm('$? ist rb_last_status(), und somit eine globale
|
865
|
+
Variable. Sie fungiert aber per-thread.
|
866
|
+
|
867
|
+
## Wie loggen wir ein bei einem MUD, über telnet?
|
868
|
+
Zum Beispiel so:
|
869
|
+
|
870
|
+
tn = Net::Telnet.new({})
|
871
|
+
tn.login "naghrazel", "xyz"
|
872
|
+
tn.cmd("l"
|
873
|
+
tn.cmd("who"
|
874
|
+
|
875
|
+
# ===================================================================== #
|
876
|
+
# === Dynamic Dispatch
|
877
|
+
# ===================================================================== #
|
878
|
+
## Was ist mit dem Begriff <b>Dynamic Dispatch</b> gemeint?
|
879
|
+
Dies ist wenn man wartet bevor man eine Methode aufruft
|
880
|
+
solange der Code läuft. Dies geschieht oft über die <b>.send</b>
|
881
|
+
Methode.
|
882
|
+
|
883
|
+
## Ich möchte OS Kommandos und Shell Kommandos verwenden.
|
884
|
+
Wie kann ich dies in Ruby machen?
|
885
|
+
Verwende system() oder backticks `` oder exec()
|
886
|
+
|
887
|
+
system("./configure")
|
888
|
+
system "echo *"
|
889
|
+
system "ls"
|
890
|
+
|
891
|
+
und
|
892
|
+
|
893
|
+
`./configure\`
|
894
|
+
|
895
|
+
are quite the same, whereas exec is if you want the current
|
896
|
+
process to become what you are/will be launching.
|
897
|
+
|
898
|
+
anm('Man bemerke das system() entweder true oder false
|
899
|
+
zurückgibt.
|
900
|
+
|
901
|
+
anm('Statt `` kann man übrigens auch dies hier verwenden:
|
902
|
+
|
903
|
+
result = %x{ uname }
|
904
|
+
|
905
|
+
Man kann zudem <i>redirection</i> verwenden um die
|
906
|
+
Ausgabe am Bildschirm zu unterdrücken, wie zum Beispiel
|
907
|
+
so:
|
908
|
+
|
909
|
+
lame > /dev/null
|
910
|
+
|
911
|
+
anm('Man sollte auch bedenken, das Kernel `` backticks eine
|
912
|
+
Operation ist die blockiert. Die Hauptaufgabe muss somit
|
913
|
+
warten, bis das Ergebnis aus der backtick operation da ist.
|
914
|
+
|
915
|
+
## Wie finde ich das Encoding heraus?
|
916
|
+
p __ENCODING__
|
917
|
+
|
918
|
+
## Wie übergebe ich Argumente an eine Methode in ruby?
|
919
|
+
object.method(arg1, arg2)
|
920
|
+
|
921
|
+
oder ohne Klammern
|
922
|
+
|
923
|
+
object.method arg1, arg2
|
924
|
+
|
925
|
+
## Wie finde ich den Besitzer (Owner) einer Methode
|
926
|
+
heraus?
|
927
|
+
1.method(:to_d).owner # => Integer
|
928
|
+
"cat".method(:upcase).owner # => String
|
929
|
+
|
930
|
+
## Wie finde ich heraus in welchem Objekt eine Methode
|
931
|
+
definiert ist?
|
932
|
+
method = "cat".method :upcase
|
933
|
+
method.receiver # => "cat"
|
934
|
+
|
935
|
+
## Wie kann ich ein <b>class Alias</b> definieren, in ruby?
|
936
|
+
class Foo; def self.bar; puts 'ok'; end; end;
|
937
|
+
Foo.singleton_class.send(:alias_method, :foo, :bar); Foo.foo
|
938
|
+
|
939
|
+
## Wie erhalten wir den vollen Ruby-Version String?
|
940
|
+
RUBY_VERSION ist zu kurz.
|
941
|
+
e RUBY_DESCRIPTION # => "ruby 2.6.3p62
|
942
|
+
(2019-04-16 revision 67580) [x86_64-linux]"
|
943
|
+
|
944
|
+
## Wie erhalten wir die aktuelle Methode in ruby?
|
945
|
+
def foo
|
946
|
+
cmd2(' puts "I am in #{__method__}"
|
947
|
+
end
|
948
|
+
|
949
|
+
require "net/ftp"; Net::FTP.method(:open).parameters
|
950
|
+
# => [[:req, :host], [:opt, :user], [:opt, :passwd],
|
951
|
+
[:opt, :acct]] (https://eval.in/180014)
|
952
|
+
|
953
|
+
## Wie erhalten wir alle Konstanten im Encoding
|
954
|
+
namespace, in ruby?
|
955
|
+
|
956
|
+
Encoding.list
|
957
|
+
|
958
|
+
# ===================================================================== #
|
959
|
+
# === tap in ruby
|
960
|
+
# ===================================================================== #
|
961
|
+
## Wie verwenden wir <b>.tap</b> in Ruby?
|
962
|
+
## Wie überprüfen wir auf UTF8 Strings?
|
963
|
+
require "kconv"
|
964
|
+
"test".isutf8
|
965
|
+
|
966
|
+
## Wie requiren wir <b>relativ zum aktuellen Verzeichnis</b>?
|
967
|
+
require_relative "../bla/eeeks.rb"
|
968
|
+
require_relative "../../../home/x/DATA/PC/PROGRAMMING_LANGUAGES/RUBY/src/tools/tasks.rb"
|
969
|
+
|
970
|
+
anm('Das ist erst seit Ruby 1.9 verfügbar.
|
971
|
+
|
972
|
+
## Wie kann wir das <b>Encoding</b> zu BINARY setzen?
|
973
|
+
Encoding.default_external = 'BINARY'
|
974
|
+
Encoding.default_external = 'ASCII 8bit
|
975
|
+
|
976
|
+
# ===================================================================== #
|
977
|
+
# === Wie lese ich eine Datei ein, in ruby
|
978
|
+
# ===================================================================== #
|
979
|
+
## Wie lese ich eine Datei ein, in ruby? (read self)
|
980
|
+
puts File.read(__FILE__)
|
981
|
+
|
982
|
+
## Wie erhalten wir alle Methoden in ruby?
|
983
|
+
Dies geht über <b>.instance_methods</b>
|
984
|
+
|
985
|
+
# ===================================================================== #
|
986
|
+
# === Wie erhalten wir alle class methods und instance methods einer
|
987
|
+
# Klasse
|
988
|
+
# ===================================================================== #
|
989
|
+
## Wie erhalten wir alle <b>class methods</b> und alle <b>instance
|
990
|
+
methods</b> einer Klasse?
|
991
|
+
Integer.methods # gives class methods
|
992
|
+
Integer.instance_methods # gives instance methods
|
993
|
+
|
994
|
+
# ===================================================================== #
|
995
|
+
# === How to use Autoload
|
996
|
+
# ===================================================================== #
|
997
|
+
## Was ist Autoload und wie verwenden wir es?
|
998
|
+
autoload funktioniert ähnlich wie require, aber es lädt nur
|
999
|
+
Dateien wenn auf eine Konstante deiner Wahl zugegriffen wird.
|
1000
|
+
|
1001
|
+
Beispiel:
|
1002
|
+
|
1003
|
+
autoload :Daemonizable, 'thin/daemonizing'
|
1004
|
+
autoload :Logging, 'thin/logging'
|
1005
|
+
|
1006
|
+
Methoden in diesem Teil werden erst ausgeführt wenn die Klasse
|
1007
|
+
aufgerufen wird.
|
1008
|
+
|
1009
|
+
Man kann detektieren ob eine Klasse auf ein <b>autoload</b> wartet:
|
1010
|
+
|
1011
|
+
autoload :X, 'x'
|
1012
|
+
puts 'X is awaiting loading.' if autoload?(:X)
|
1013
|
+
|
1014
|
+
## Wie finde ich den Namen einer Methode heraus?
|
1015
|
+
method = "cat".method(:upcase)
|
1016
|
+
method.name # => :upcase
|
1017
|
+
|
1018
|
+
## Was ist <b>self</b> in Ruby?
|
1019
|
+
self ist eine read-only Variable die auf das aktuelle
|
1020
|
+
Objekt (current object) zeigt.
|
1021
|
+
|
1022
|
+
Ruby braucht self um seine instance variables zu finden.
|
1023
|
+
|
1024
|
+
## Wie lassen wir ein externes Programm in ruby laufen?',
|
1025
|
+
'externes_programm # rf ruby externes_programm
|
1026
|
+
def run(command, input = "")
|
1027
|
+
cmd3(" IO.popen(command, 'r+') { |io|
|
1028
|
+
cmd3(' io.puts input
|
1029
|
+
cmd3(" io.close_write
|
1030
|
+
cmd3(" return io.read
|
1031
|
+
}
|
1032
|
+
run 'wc -w','How many words are in this string, hmm?' # => 8\n
|
1033
|
+
|
1034
|
+
## Wie kann ich lokale Variablen in einer Datei erstellen
|
1035
|
+
und in einer anderen Dateien wiederverwenden?
|
1036
|
+
Mittels:
|
1037
|
+
|
1038
|
+
TOPLEVEL_BINDING.eval File.read(file), 1
|
1039
|
+
|
1040
|
+
## Wie vertausche ich 2 Variablen in Ruby? (How do i swap
|
1041
|
+
two variables?)
|
1042
|
+
a, b = 2, 3
|
1043
|
+
a, b = b, a # swap here.
|
1044
|
+
|
1045
|
+
## Was ist <b>==</b> in ruby?
|
1046
|
+
== ist der "equality operator".
|
1047
|
+
|
1048
|
+
Er hat auch eine Negationsform, und zwar !=
|
1049
|
+
|
1050
|
+
a('http://ruby-doc.org/core/Object.html#method-i-instance_variable_defined-3F',
|
1051
|
+
content: 'SELF
|
1052
|
+
|
1053
|
+
## Wie finden wir heraus, ob eine instance variable definiert ist?
|
1054
|
+
Mittels <b>.instance_variable_defined?</b>.
|
1055
|
+
|
1056
|
+
class Test; @foo = "hi"; end # => "hi"
|
1057
|
+
Test.instance_variable_defined? :@foo # => true
|
1058
|
+
|
1059
|
+
## Gibt es einen Vorteil wenn wir <b>load</b> anstelle
|
1060
|
+
von <b>require</b> verwenden?
|
1061
|
+
Ja. load() erlaubt es uns eine Datei neu zu laden,
|
1062
|
+
require nicht.
|
1063
|
+
|
1064
|
+
## Wie erhalten wir floats als Ergebnisse in ruby?
|
1065
|
+
s2('Verwende
|
1066
|
+
8300.0/5324
|
1067
|
+
|
1068
|
+
# ===================================================================== #
|
1069
|
+
# Gets input. Mehrere Zeilen auf einmal.
|
1070
|
+
# ===================================================================== #
|
1071
|
+
## Wie kann ein User mehrere Zeilen eintippen als input
|
1072
|
+
zu gets? Was ist der Record Separator? (Multiline input)',
|
1073
|
+
'user_input
|
1074
|
+
Der Record Separator ist - $/
|
1075
|
+
|
1076
|
+
Es handelt sich um eine <b>predefinierte Variable</b>.
|
1077
|
+
|
1078
|
+
Mit seiner Hilfe kann man das Verhalten von Methoden wie
|
1079
|
+
gets und chomp beeinflussen. gets() ruft einen String ein
|
1080
|
+
und inkludiert auch den Record Separator.
|
1081
|
+
|
1082
|
+
Die .chomp Methode hingegen gibt einen String wieder der
|
1083
|
+
den Record Separator entfernt hat, ansonsten gibt es den
|
1084
|
+
originalen String unmodifiziert zurück.
|
1085
|
+
|
1086
|
+
Das eintippen von mehreren Zeilen über gets() geht indem
|
1087
|
+
man zu $/ assigned (redefinition), bevor man gets aufruft:
|
1088
|
+
|
1089
|
+
$/ = "END"
|
1090
|
+
|
1091
|
+
Das keyword ist dann hier <b>END</b>.
|
1092
|
+
|
1093
|
+
Noch ein Beispiel hierzu:
|
1094
|
+
|
1095
|
+
"$/ = "*" # the "*" character is now the record separator
|
1096
|
+
|
1097
|
+
When you redefine the record separator, this new character
|
1098
|
+
(or string ) will now be used by methods such as gets and chomp.
|
1099
|
+
|
1100
|
+
For example:
|
1101
|
+
|
1102
|
+
$/= "world"
|
1103
|
+
s = gets() # user enters Had we but world enough and time
|
1104
|
+
puts s # displays Had we but world
|
1105
|
+
|
1106
|
+
## Was ist eine <b>class method</b> in ruby?
|
1107
|
+
Eine <b>class method</b> ist eine Methode, die unabhängig
|
1108
|
+
von einem bestimmten Objekt aufgerufen werden kann.
|
1109
|
+
|
1110
|
+
## Wie verhalten sich mixins?
|
1111
|
+
mixed-in modules verhalten sich wie Superklassen.
|
1112
|
+
|
1113
|
+
## Kann ich programmatisch eine lokale Variable erstellen?
|
1114
|
+
Ja.
|
1115
|
+
|
1116
|
+
eval "t=2;t", IRB.conf[:MAIN_CONTEXT].workspace.binding
|
1117
|
+
|
1118
|
+
## Wie bekomme ich alle Instance Variables? (get all ivars,
|
1119
|
+
all instance variables)
|
1120
|
+
foo = Foo.new
|
1121
|
+
pp foo.instance_variables
|
1122
|
+
|
1123
|
+
## Wie öffnen wir eine Datei in ruby und geben ihren Inhalt
|
1124
|
+
auf <b>STDOUT</b> wieder? Wie können wir eine derart geöffnete
|
1125
|
+
Datei wieder schliessen, automatisch?','read_file
|
1126
|
+
File.open("text.txt") { |file|
|
1127
|
+
cmd2(' file.each_line { |line| puts line }
|
1128
|
+
} # automatically close the file here.
|
1129
|
+
|
1130
|
+
Wir könnten auch folgendes verwenden:
|
1131
|
+
|
1132
|
+
File.open(ENV["RUBY"]+"/ruby.cgi").each { |line|
|
1133
|
+
puts line if line =~ /blue/ }
|
1134
|
+
|
1135
|
+
(Entferne einfach die if-clause wenn man alles
|
1136
|
+
ausgeben möchte.)
|
1137
|
+
## Wozu dient .send?
|
1138
|
+
Mittels .send kann man eine beliebige Methode in einem
|
1139
|
+
Objekt aufrufen (sofern diese Methode auch <b>vorhanden</b>
|
1140
|
+
ist. Beispiel:
|
1141
|
+
|
1142
|
+
e(" 'your_string'.send :length # => 11'
|
1143
|
+
|
1144
|
+
anm('.send ist übrigens ein alias zu __send__
|
1145
|
+
|
1146
|
+
Man kann auch Bestimmte Attribute setzen wenn es die
|
1147
|
+
Klasse erlaubt. Beispiel:
|
1148
|
+
|
1149
|
+
d.attr=(99)
|
1150
|
+
|
1151
|
+
d.send(:attr=, 99) # macht das selbe wie oben, nur verboser.
|
1152
|
+
|
1153
|
+
## Wie lese ich Daten von einer .rb Datei ohne das Ruby
|
1154
|
+
diese Daten interpretiert?','__END__
|
1155
|
+
p DATA.read
|
1156
|
+
__END__
|
1157
|
+
|
1158
|
+
DATA.read liest die Information ein, die nach __END__ geschrieben
|
1159
|
+
ist. Man kann dies sogar verwenden um Configurations-Dateien in
|
1160
|
+
einer .rb Datei zu speichern.
|
1161
|
+
|
1162
|
+
anm('Die Konstante <b>DATA</b> ist verfügbar sobald die __END__
|
1163
|
+
Direktive in einer .rb Datei drinnen steht. Alles was dieser
|
1164
|
+
__END__ Direktive folgt ist dann Inhalt von DATA.
|
1165
|
+
anm('DATA ist leider nur für $0 verfügbar.
|
1166
|
+
|
1167
|
+
anm('DATA ist ein File Objekt. Man kann daher auch <b>DATA.pos</b>
|
1168
|
+
verwenden.
|
1169
|
+
|
1170
|
+
Man kann mittels <b>__END__</b> auch direkt YAML Code in
|
1171
|
+
ein .rb <b>Skript</b> einfügen.
|
1172
|
+
|
1173
|
+
## Wie erhalte ich das Default External Ruby Encoding via
|
1174
|
+
Commandline?
|
1175
|
+
ruby -e 'p Encoding.default_external'
|
1176
|
+
|
1177
|
+
## Wie verwende ich ein Objekt ohne Throwaway Variable?
|
1178
|
+
2.times.with_object([]) { |v, o| o << v }
|
1179
|
+
|
1180
|
+
## Wie liste ich alle Dateien im Verzeichnis?
|
1181
|
+
pp Dir['./*']",'ls # ls tag
|
1182
|
+
|
1183
|
+
## Was ist der $LOAD_PATH und wie erweitere ich den $LOAD_PATH
|
1184
|
+
um neue Pfade? (Std Path)','load_path
|
1185
|
+
Um den LOAD_PATH zu erweitern, macht man einfach dies.
|
1186
|
+
|
1187
|
+
$LOAD_PATH << '/home/x/DATA/PC/PROGRAMMING_LANGUAGES/'
|
1188
|
+
|
1189
|
+
Nun ein paar erklärende Worte hierzu.
|
1190
|
+
|
1191
|
+
Der LOAD_PATH hat all jene Pfade, die Ruby durchsucht,
|
1192
|
+
um die Ruby Standard Library zu finden. Er ist also sehr
|
1193
|
+
wichtig.
|
1194
|
+
|
1195
|
+
Es gibt hier 3 konkrete Aliases die auf diesen LOAD_PATH
|
1196
|
+
Zeigen:
|
1197
|
+
|
1198
|
+
$:
|
1199
|
+
$LOAD_PATH
|
1200
|
+
$-I
|
1201
|
+
|
1202
|
+
An diesen Wert kann man seine eigene Library anhängen.
|
1203
|
+
|
1204
|
+
Dies geht auch über die command line, und zwar mittels
|
1205
|
+
der <b>-I flag</b>.
|
1206
|
+
|
1207
|
+
## Wie übergebe ich einen Hash an eine Methode? Wie sammel
|
1208
|
+
ich Argumente die ich an eine Methode übergeben möchte?
|
1209
|
+
def foo(arg1, *rest)
|
1210
|
+
cmd2(' puts "Got #{arg1} and #{rest.join}"
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
foo("one") # => Got one and
|
1214
|
+
foo("one", "two") # => Got one and two
|
1215
|
+
foo("one", "two", "three") # => Got one and twothree
|
1216
|
+
|
1217
|
+
Will man nun einen Hash an eine Methode übergeben so macht
|
1218
|
+
man dies einfach so:
|
1219
|
+
|
1220
|
+
def foo(v)
|
1221
|
+
cmd2(' pp v' )+
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
foo :name => 'checkbox', :job => 'hello hello..'
|
1225
|
+
|
1226
|
+
## Wie können wir die <b>Extension</b> einer Datei entfernen?
|
1227
|
+
File.basename('stuff.rb', '.*')
|
1228
|
+
|
1229
|
+
anm('Es ginge auch mit .gsub aber das ist nicht so elegant.
|
1230
|
+
|
1231
|
+
## Wieso verwenden wir die superclass() Methode?
|
1232
|
+
Die superclass() Methode gibt einem die Eltern-Methode
|
1233
|
+
wieder ("parent method").
|
1234
|
+
|
1235
|
+
Beispiel
|
1236
|
+
|
1237
|
+
puts "The superclass of Array is: #{Array.superclass}."
|
1238
|
+
|
1239
|
+
anm('Die Superklasse von Array ist Object.
|
1240
|
+
|
1241
|
+
## Wie kann ich die Warnungen von Ruby ausschalten?
|
1242
|
+
$VERBOSE = nil
|
1243
|
+
|
1244
|
+
$VERBOSE kann 3 Zustände haben:
|
1245
|
+
|
1246
|
+
lem('nil - dies entspricht dem Wert 0, also "be silent".
|
1247
|
+
lem('false - dies ist level 1, und ist der default.
|
1248
|
+
lem('true - dies ist level 2, für verbose.
|
1249
|
+
|
1250
|
+
anm('Eine weitere Möglichkeit wäre es $stderr zu verwenden.
|
1251
|
+
|
1252
|
+
## Wie können wir eine Variable definieren sofern sie noch
|
1253
|
+
nicht definiert worden ist?', 'define_var_unless_already_defined # rf ruby define_var_unless_already_defined
|
1254
|
+
Verwende hierzu <b>||=</b>
|
1255
|
+
|
1256
|
+
hash = { :test => "foo"}
|
1257
|
+
your_var ||= hash[:test]
|
1258
|
+
your_var ||= 1
|
1259
|
+
pp your_var
|
1260
|
+
|
1261
|
+
## Wie erhalte ich die ASCII Nummer eines Zeichens (letter)?
|
1262
|
+
Und wie konvertiere ich diese Nummer in ein Zeichen?
|
1263
|
+
(char to letter/number to letter/number to char)
|
1264
|
+
?a
|
1265
|
+
|
1266
|
+
dies würde den ASCII Code des Charakters a ausgeben.
|
1267
|
+
|
1268
|
+
Es gibt noch einen anderen Weg den ASCII Code zu erhalten:
|
1269
|
+
|
1270
|
+
"a"[0] # => 97
|
1271
|
+
|
1272
|
+
Specifying multiple ASCII code for several chars raises an error:
|
1273
|
+
|
1274
|
+
?a
|
1275
|
+
|
1276
|
+
Von Nummer zu Zeichen kann man folgenden code verwenden:
|
1277
|
+
|
1278
|
+
"97".map { |c| c.to_i.chr }
|
1279
|
+
|
1280
|
+
Mittels der Methode <b>.chr</b> erhält man die Nummer.
|
1281
|
+
|
1282
|
+
## Wie finden wir heraus ob eine Datei existiert, in ruby? (file
|
1283
|
+
exists, file exist, dir exists, directory exists?)
|
1284
|
+
File.exist? filename
|
1285
|
+
File.exist? to_be_created
|
1286
|
+
|
1287
|
+
oder
|
1288
|
+
|
1289
|
+
FileTest.exists?
|
1290
|
+
anm('Dies kann auch verwendet werden um herauszufinden ob ein
|
1291
|
+
Verzeichnis existiert.
|
1292
|
+
|
1293
|
+
## Wie löschen wir eine Datei in ruby (file delete, del
|
1294
|
+
file, delete file)?
|
1295
|
+
File.delete "testrm"
|
1296
|
+
|
1297
|
+
## Wie erhalte ich Informationen über die Ruby Version?
|
1298
|
+
Dies geht über die <b>RUBY_PLATFORM Konstante</b>.
|
1299
|
+
|
1300
|
+
Dies mag zu Problemen bei <b>Virtual Machines</b> führen.
|
1301
|
+
|
1302
|
+
Die Version kann man zum Beispiel wie folgt abfragen:
|
1303
|
+
|
1304
|
+
RUBY_VERSION == '1.8.7'
|
1305
|
+
|
1306
|
+
## Wie kann ich verhindern das ein Objekt verändert wird
|
1307
|
+
nachdem es erstellt wurde?
|
1308
|
+
Verwende .freeze, wie in
|
1309
|
+
<span class="s1">object.freeze</span>
|
1310
|
+
|
1311
|
+
Versucht man ein frozen Objekt zu verändern so
|
1312
|
+
kommt es zu folgendem Fehler:
|
1313
|
+
|
1314
|
+
TypeError: cant modify frozen object.
|
1315
|
+
|
1316
|
+
Ist ein Objekt in diesem Sinne "tainted", so kann man die
|
1317
|
+
Methode .untaint verwenden um dieses Objekt wieder "untaint"
|
1318
|
+
zu setzen.
|
1319
|
+
|
1320
|
+
Ein frozen Objekt kann jedoch <b>niemals</b> wieder
|
1321
|
+
unfreezed werden - die Methode sollte daher nur dann
|
1322
|
+
verwendet werden, wenn man ein frozen Objekt wirklich
|
1323
|
+
benötigt.
|
1324
|
+
# ===================================================================== #
|
1325
|
+
# === /dev/null
|
1326
|
+
# ===================================================================== #
|
1327
|
+
## Wie erhalte ich eine Referenz zu /dev/null, die möglichst
|
1328
|
+
Plattform-unspezifisch ist?
|
1329
|
+
Mittels <b>IO::NULL</b>
|
1330
|
+
## Wie zähle ich von 0 bis 10?
|
1331
|
+
p(*('0'..'F'))
|
1332
|
+
|
1333
|
+
## Wie verwende ich <b>Resolv</b>?
|
1334
|
+
require 'resolv'
|
1335
|
+
|
1336
|
+
Resolv.getaddress "google.com"
|
1337
|
+
Resolv.getaddress "google.com" # => "64.233.167.99"
|
1338
|
+
|
1339
|
+
## What are the highest numbers for Ruby?
|
1340
|
+
You can easily use a googol which is
|
1341
|
+
|
1342
|
+
googol = 10**100
|
1343
|
+
|
1344
|
+
You will have an error mesage if you try to output a googolplex, like
|
1345
|
+
|
1346
|
+
googolplex = 10**googol
|
1347
|
+
|
1348
|
+
frage("Wie erhalte ich die Version von Ruby
|
1349
|
+
puts RUBY_VERSION
|
1350
|
+
|
1351
|
+
If you want to get the major number without
|
1352
|
+
the minor number, use:
|
1353
|
+
|
1354
|
+
## Wie schreibe ich direkt zu STDOUT und STDERR?
|
1355
|
+
$stdout.puts "stdout"
|
1356
|
+
$stderr.puts "stderr"
|
1357
|
+
|
1358
|
+
anm('Damit kann man dann direkt in eine Datei schreiben:
|
1359
|
+
|
1360
|
+
ruby stdout_stderr_test.rb > stdout 2> stderr
|
1361
|
+
|
1362
|
+
## Wie verwende ich eine instance variable in Ruby?
|
1363
|
+
Use
|
1364
|
+
|
1365
|
+
@
|
1366
|
+
|
1367
|
+
just before the variable, like this way
|
1368
|
+
|
1369
|
+
@foo
|
1370
|
+
|
1371
|
+
# ===================================================================== #
|
1372
|
+
# === Wie finden wir den prefix von Ruby heraus?
|
1373
|
+
# ===================================================================== #
|
1374
|
+
## Wie finden wir den prefix von Ruby heraus?
|
1375
|
+
RbConfig::CONFIG['rubylibprefix'] # => \"/Programs/Ruby/2.6.3/lib/ruby\"
|
1376
|
+
|
1377
|
+
# ===================================================================== #
|
1378
|
+
# === Handling permissions in Ruby
|
1379
|
+
# ===================================================================== #
|
1380
|
+
## Wie handhaben wir <b>permissions</b> in ruby (zum
|
1381
|
+
Beispiel überprüfen ob wir in eine Datei hineinschreiben
|
1382
|
+
können)?
|
1383
|
+
if File.writeable(this_file)
|
1384
|
+
|
1385
|
+
# ===================================================================== #
|
1386
|
+
# === How to use "p foo".
|
1387
|
+
# ===================================================================== #
|
1388
|
+
## Wozu verwende wir <b>p</b>, wie zum Beispiel in
|
1389
|
+
<b>p object</b>?
|
1390
|
+
p gibt die interne Repräsentation eines Objekts wieder
|
1391
|
+
(<i>internal representation of an object</i>), und das ganze
|
1392
|
+
recht detailliert.
|
1393
|
+
|
1394
|
+
class Foo; def initialize;@test = 5;end;end;
|
1395
|
+
foo = Foo.new; p foo # => #<Foo:0x988c9a4 @test=5>'
|
1396
|
+
)+
|
1397
|
+
|
1398
|
+
# ===================================================================== #
|
1399
|
+
# === Wie lesen wir jedes Byte einer Datei ein?
|
1400
|
+
# ===================================================================== #
|
1401
|
+
## Wie lesen wir jedes Byte einer Datei ein?
|
1402
|
+
Mittels <b>.each_byte</b>:
|
1403
|
+
|
1404
|
+
File.open("/etc/passwd").each_byte { |byte| puts byte }
|
1405
|
+
|
1406
|
+
Dies kann man mit .chr übersetzen.
|
1407
|
+
|
1408
|
+
109.chr # => "m"
|
1409
|
+
|
1410
|
+
# ===================================================================== #
|
1411
|
+
# === How to find out the name of a file in ruby
|
1412
|
+
# ===================================================================== #
|
1413
|
+
## Wie finden wir den Namen einer Datei heraus, in
|
1414
|
+
Ruby?
|
1415
|
+
Mittels:
|
1416
|
+
|
1417
|
+
__FILE__
|
1418
|
+
|
1419
|
+
__FILE__ ist übrigens ein <b>Keyword</b>.
|
1420
|
+
|
1421
|
+
## Wie erhalten wir den absoluten Pfad der aktuellen
|
1422
|
+
Dateien?
|
1423
|
+
Dir[Dir.pwd+'/*']
|
1424
|
+
|
1425
|
+
## Was bedeutet ein @ vor einem Namen?
|
1426
|
+
Dies erstellt eine instance variable.
|
1427
|
+
|
1428
|
+
Eine instance variable ist standardmässig nur innerhalb der Instanz
|
1429
|
+
der Klasse greifbar.
|
1430
|
+
|
1431
|
+
## Wie erhalte ich eine Liste mit Prozessen von Ruby?
|
1432
|
+
require 'sys/proctable'
|
1433
|
+
include Sys
|
1434
|
+
|
1435
|
+
ProcTable.ps{ |proc_struct| p proc_struct }
|
1436
|
+
|
1437
|
+
## Wie verwenden wir die <b>bz2 library</b> mittels ruby?
|
1438
|
+
require 'bz2'
|
1439
|
+
include BZ2
|
1440
|
+
|
1441
|
+
# ===================================================================== #
|
1442
|
+
# === Ruby's Namespace Operator.
|
1443
|
+
# ===================================================================== #
|
1444
|
+
## Was bedeutet <b>::Foo</b> in ruby?',':: # rfruby ::
|
1445
|
+
Dies erstellt eine Top Namespace. Der :: ist
|
1446
|
+
der "Namespace Resolution Operator" in Ruby.
|
1447
|
+
|
1448
|
+
Beispiel für die Verwendung von <b>::Foo</b>:
|
1449
|
+
|
1450
|
+
class Foo
|
1451
|
+
end
|
1452
|
+
module Bar
|
1453
|
+
cmd2(' class A
|
1454
|
+
cmd2(' end
|
1455
|
+
cmd2(' p ::Foo # the top level one, not the normally scoped one
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
## Wie beende ich ein ruby script? (ruby quit, exit program, quit
|
1459
|
+
program)
|
1460
|
+
Verwende "exit".
|
1461
|
+
|
1462
|
+
Man kann auch <b>abort</b>, mit einer Nachricht, verwenden.
|
1463
|
+
|
1464
|
+
Eine weitere Möglichkeit ist der at_exit handler
|
1465
|
+
(at exit, register exit): <b>at_exit {}</b>
|
1466
|
+
|
1467
|
+
anm('at_exit kann oft auch verwendet werden wenn <b>END {}</b>
|
1468
|
+
verwendet wird. Allerdings ist at_exit auch etwas mühsam.
|
1469
|
+
|
1470
|
+
## Was bedeutet das Zeichen <b>^</b>?
|
1471
|
+
Dies meint this-or, auch als <b>xor</b> bekannt. Man kann
|
1472
|
+
damit conditionals testen, also ob eine Variable true oder
|
1473
|
+
false ist.
|
1474
|
+
|
1475
|
+
## Wie überprüfe ich die Klasse eines Objektes?','type_checking
|
1476
|
+
a.is_a? String
|
1477
|
+
5.is_a? Integer # => true
|
1478
|
+
|
1479
|
+
# ===================================================================== #
|
1480
|
+
# === Target platform of the OS
|
1481
|
+
# ===================================================================== #
|
1482
|
+
## Wie finde ich die Target Platform des OS heraus, unter ruby?
|
1483
|
+
Verwende <b>RUBY_PLATFORM</b>
|
1484
|
+
|
1485
|
+
Beispiel:
|
1486
|
+
|
1487
|
+
puts RUBY_PLATFORM
|
1488
|
+
|
1489
|
+
## How can I make Ruby Objects persisting/surviving?
|
1490
|
+
There are some solutions like storing in a yaml file, using
|
1491
|
+
madeleine, Object Graph or hibernate, or marshalling.
|
1492
|
+
|
1493
|
+
<a href="http://www.rubygarden.com/index.cgi/Libraries/og_tutorial.rdoc">
|
1494
|
+
Object Graph </a>
|
1495
|
+
|
1496
|
+
## Gibt es etwas zu require zu sagen?','require # require tag
|
1497
|
+
Die Dateien die bei <b>require</b> verwendet werden im
|
1498
|
+
Array <b>$"</b> gespeichert - also noch besser gleich
|
1499
|
+
<b>$LOADED_FEATURES</b> verwenden.
|
1500
|
+
|
1501
|
+
Man kann - bequemerweise - global Variables und Methoden
|
1502
|
+
tracen. <b>Beispiel</b>:
|
1503
|
+
|
1504
|
+
trace_var :$x, proc {print "The global variable $x
|
1505
|
+
is now ", $x, "\n"}; $x = 8 # => The global variable $x is now 8
|
1506
|
+
$x=10
|
1507
|
+
anm('Dies würde sich doch hervorragend für Events eignen. Leider
|
1508
|
+
funktioniert trace_vor nur mit Globalen Variablen.
|
1509
|
+
|
1510
|
+
anm('Man kann eine getracedte Variable auch wieder untracen:
|
1511
|
+
|
1512
|
+
untrace_var :symbol
|
1513
|
+
|
1514
|
+
## Wie erhalte ich den PATH_SEPARATOR?
|
1515
|
+
File::PATH_SEPARATOR
|
1516
|
+
|
1517
|
+
## Wie verwenden wir echten Parallelismus in Ruby?
|
1518
|
+
Wir können <b>Process</b> verwenden.
|
1519
|
+
|
1520
|
+
## Wie erhalten wir programmatisch die Klasse einer Methode?
|
1521
|
+
method(:function_name).class
|
1522
|
+
method(:function_name).object_id
|
1523
|
+
|
1524
|
+
## Was meinen wir mit einem <b>Quine</b>?
|
1525
|
+
Ein quine ist hier eine Datei, die ihren eigenen Quellcode
|
1526
|
+
(== source code) ausgibt.
|
1527
|
+
|
1528
|
+
## Wie kann ich Methoden miteinander verknüpfen (chainen, method chaining)?
|
1529
|
+
Zum Beispiel via:
|
1530
|
+
|
1531
|
+
array.flatten.uniq
|
1532
|
+
|
1533
|
+
Hier ein einfaches, obgleich seltsames, Beispiel:
|
1534
|
+
def outhello
|
1535
|
+
cmd2(' (((0..12).to_a + (0..12).to_a.reverse) * 2).each { |val|
|
1536
|
+
cmd3(' print("****" * val + "* Hello, world! *" +
|
1537
|
+
cmd3(' "****" * (12-val) + "\n")
|
1538
|
+
cmd2(' } # each
|
1539
|
+
end # outhello
|
1540
|
+
outhello
|
1541
|
+
|
1542
|
+
## Was ist STDOUT und STDOUT.flush?
|
1543
|
+
STDOUT ist der standard output. Er besitzt eine assoziierte
|
1544
|
+
Nummer, die man mittels <b>STDOUT.fileno</b> herausfinden
|
1545
|
+
kann (der Wert 1 scheint hierbei auf).
|
1546
|
+
|
1547
|
+
STDOUT.flush wiederum stellt sicher, das das Terminal seinen
|
1548
|
+
Buffer entleert, also wieder auf "leer" zurückgesetzt wird.
|
1549
|
+
|
1550
|
+
Anders formuliert - was auch immer im buffer war, wird
|
1551
|
+
ausgegeben.
|
1552
|
+
|
1553
|
+
Normally, the input is buffered line by line until it finds
|
1554
|
+
a newline ( \n )
|
1555
|
+
|
1556
|
+
If a command does not produce a \n, it may be that the text will
|
1557
|
+
not be displayed at all. That is where STDOUT.flush comes in handy,
|
1558
|
+
as we force-flush it.
|
1559
|
+
|
1560
|
+
You can use puts instead of course.
|
1561
|
+
|
1562
|
+
An alternative to STDOUT.flush you could try this:
|
1563
|
+
|
1564
|
+
STDOUT.sync = true
|
1565
|
+
print "Processing... "
|
1566
|
+
|
1567
|
+
frage("Wo ist die Online Version von IRB?
|
1568
|
+
a('http://tryruby.hobix.com/', content: 'http://tryruby.hobix.com/
|
1569
|
+
## Wer ist der Ruby Held?','hero
|
1570
|
+
img('PROGRAMMING_LANGUAGES/RUBY/MATZ_IS_MY_HERO.png',
|
1571
|
+
'marl1em','ruby_held
|
1572
|
+
|
1573
|
+
|
1574
|
+
div {
|
1575
|
+
The error will be stored in <b>$?</b>.
|
1576
|
+
|
1577
|
+
Du kannst auch die PID davon erhalten, zbsp:
|
1578
|
+
|
1579
|
+
`ls`; puts $?.pid; puts $?.exitstatus
|
1580
|
+
|
1581
|
+
You can also use another syntax, for example:
|
1582
|
+
|
1583
|
+
%x{ echo "$CD"}.chomp
|
1584
|
+
|
1585
|
+
system() does not capture output, so you cant use variables
|
1586
|
+
within system which get calculated only the moment they exist,
|
1587
|
+
like ENV["home"].
|
1588
|
+
|
1589
|
+
To work with it, you must assign a variable to it.
|
1590
|
+
|
1591
|
+
Alternatively you can use something like instead:
|
1592
|
+
|
1593
|
+
`#{MAIN_COMMAND} 2>&1`
|
1594
|
+
`make 2>&1`
|
1595
|
+
$?.exitstatus
|
1596
|
+
$CHILD_STATUS.exitstatus'
|
1597
|
+
)+
|
1598
|
+
|
1599
|
+
Alternativ kann man <b>popen</b> verwenden, siehe hierzu
|
1600
|
+
mein <a href="#stdin">stdin Beispiel</a>.
|
1601
|
+
|
1602
|
+
Wie vermeiden wir bestimmte Warnings?
|
1603
|
+
|
1604
|
+
cmd("require 'warning'
|
1605
|
+
cmd("Warning.ignore(/`(els)?if' at the end of line without an expression/)")
|
1606
|
+
}+
|
1607
|
+
# ===================================================================== #
|
1608
|
+
# RUBY VARIABLES
|
1609
|
+
# ===================================================================== #
|
1610
|
+
div('pad12px bgreen1','RubyVariables'){
|
1611
|
+
h2('VariablesAndRuby','s1em pad5px mar5px',
|
1612
|
+
'','border-bottom:1px solid royalblue
|
1613
|
+
# Table.enable_padding
|
1614
|
+
table2('s2em mar2px bblack3 marl2em','_','TableRubyVariables',
|
1615
|
+
'$','global variable',
|
1616
|
+
'@','instance variable',
|
1617
|
+
'[a-z]','local variable',
|
1618
|
+
'[A-Z]','constant'
|
1619
|
+
)
|
1620
|
+
}+
|
1621
|
+
div {
|
1622
|
+
## Wie können wir vordefinierte Konstanten in den
|
1623
|
+
File Modes verwenden?
|
1624
|
+
h4('Open-mode constants','marl1em
|
1625
|
+
table2('s4em','','',
|
1626
|
+
'APPEND','Open the file in append mode; all writes will
|
1627
|
+
occur at end of file',
|
1628
|
+
'CREAT ','Create the file on open if it does not exist',
|
1629
|
+
'EXCL ','When used with CREAT, open will fail if the file exists.',
|
1630
|
+
'NOCTTY','When opening a terminal device, do not allow it to
|
1631
|
+
become the controlling terminal',
|
1632
|
+
'NONBLOCK','Open the file in nonblocking mode',
|
1633
|
+
'RDONLY','Open for reading only',
|
1634
|
+
'RDWR ', 'Open for reading and writing',
|
1635
|
+
'TRUNC ','Open the file and truncate it to zero length
|
1636
|
+
if the file exists',
|
1637
|
+
'WRONLY','Open for writing only'
|
1638
|
+
)+
|
1639
|
+
|
1640
|
+
Beispiel hierzu:
|
1641
|
+
|
1642
|
+
h4('<b class="marl2em">
|
1643
|
+
f = File.new("newfile", File::CREAT|File::TRUNC|File::RDWR, 0644)
|
1644
|
+
</b>')
|
1645
|
+
}+
|
1646
|
+
# ===================================================================== #
|
1647
|
+
# HeadlineRubyCommandlineOptions
|
1648
|
+
# ===================================================================== #
|
1649
|
+
div('pad8px bgreen1','CommandlineOptions'){
|
1650
|
+
h2(
|
1651
|
+
sg(:yellow_dot,'marr4px
|
1652
|
+
"Ruby's commandline options",
|
1653
|
+
's1em FI pad5px mar5px',
|
1654
|
+
'HeadlineRubyCommandlineOptions',
|
1655
|
+
'border-bottom:1px solid royalblue'
|
1656
|
+
)+
|
1657
|
+
table2('marl2em s1em','CommandlineOptionsTable','',
|
1658
|
+
'0[DIGIT]','paragraph mode',
|
1659
|
+
'a','auto split mode','c','syntax checking only',
|
1660
|
+
'e SCRIPT','specifies the SCRIPT on command line',
|
1661
|
+
'F\'DELIMITOR\'','specifies delimitor',
|
1662
|
+
'i[extention]','in-place editing mode',
|
1663
|
+
'I DIRECTORY','specities load path',
|
1664
|
+
'l','remove NEWLINE from input and put NEWLINE to output',
|
1665
|
+
'n','automatic loop',
|
1666
|
+
'p','automatic loop with output',
|
1667
|
+
'v','prints version, verbose mode'
|
1668
|
+
)+
|
1669
|
+
h4(' require "English"
|
1670
|
+
table2(
|
1671
|
+
'marl2em s1em mar2px bblack1','anhang','EnglishlibraryTable',
|
1672
|
+
'$*', '<b>$ARGV</b>',
|
1673
|
+
'$?', '<b>$CHILD_STATUS</b>',
|
1674
|
+
'$<', '<b>$DEFAULT_INPUT (Equivalent to ARGF)</b>',
|
1675
|
+
'$>', '<b>$DEFAULT_OUTPUT</b>',
|
1676
|
+
'$!', '<b>$ERROR_INFO</b>',
|
1677
|
+
'$@', '<b>$ERROR_POSITION</b>',
|
1678
|
+
'$/', '<b>$INPUT_RECORD_SEPARATOR</b>',
|
1679
|
+
'$;', '<b>$FIELD_SEPARATOR or $FS</b>',
|
1680
|
+
'$=', '<b>$IGNORECASE</b>',
|
1681
|
+
'$.', '<b>$INPUT_LINE_NUMBER</b>',
|
1682
|
+
'$~', '<b>$LAST_MATCH_INFO</b>',
|
1683
|
+
'$+', '<b>$LAST_PAREN_MATCH</b>',
|
1684
|
+
'$_', '<b>$LAST_READ_LINE</b>',
|
1685
|
+
'$"', '<b>$LOADED_FEATURES</b>',
|
1686
|
+
'$&', '<b>$MATCH</b>',
|
1687
|
+
# '$.', '<b>$NR</b>', # hmmm 2x das selbe?
|
1688
|
+
'$,', '<b>$OFS</b>',
|
1689
|
+
'$\\','<b>$ORS</b>',
|
1690
|
+
'$,',' <b>$OUTPUT_FIELD_SEPARATOR</b>',
|
1691
|
+
'$\\','<b>$OUTPUT_RECORD_SEPARATOR</b>',
|
1692
|
+
'$$',' <b>$PID aka $PROCESS_ID</b>',
|
1693
|
+
'$\'','<b>$POSTMATCH</b>', # $\'
|
1694
|
+
'$`',' <b>$PREMATCH</b>',
|
1695
|
+
'$0',' <b>$PROGRAM_NAME</b>',
|
1696
|
+
'$/',' <b>$RS</b>'
|
1697
|
+
)
|
1698
|
+
}
|
1699
|
+
}
|
1700
|
+
}
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
|
1706
|
+
|
1707
|
+
## Wie verwenden wir english/roman?
|
1708
|
+
|
1709
|
+
require 'english/roman'")+
|
1710
|
+
100.to_roman # => "C"
|
1711
|
+
9.to_roman # => "IX"
|
1712
|
+
Dokumentation sehen wir auf:
|
1713
|
+
a('https://rubygems.org/gems/english/versions/0.6.3')
|
1714
|
+
|
1715
|
+
|
1716
|
+
|
1717
|
+
|
1718
|
+
|
1719
|
+
|
1720
|
+
|
1721
|
+
|
1722
|
+
|
1723
|
+
|
1724
|
+
|
1725
|
+
|
1726
|
+
|
1727
|
+
|
1728
|
+
|
1729
|
+
|
1730
|
+
|
1731
|
+
|
1732
|
+
|
1733
|
+
|
1734
|
+
|
1735
|
+
|
1736
|
+
|
1737
|
+
|
1738
|
+
|
1739
|
+
|
1740
|
+
|
1741
|
+
|
1742
|
+
|
1743
|
+
|
1744
|
+
|
1745
|
+
|
1746
|
+
|
1747
|
+
|
1748
|
+
|
1749
|
+
|
1750
|
+
|
1751
|
+
|
1752
|
+
## Wie verwende ich den ternären : operator um zu bestimmen
|
1753
|
+
was ich verwenden sollte?','ternary
|
1754
|
+
See below for the ternary operator
|
1755
|
+
|
1756
|
+
x = 5 < 4 ? 'hi' : 'bye'
|
1757
|
+
|
1758
|
+
|
1759
|
+
|
1760
|
+
## Wie mache ich Conditionals in Ruby?
|
1761
|
+
if city == "Toronto"
|
1762
|
+
drinking_age = 19
|
1763
|
+
else
|
1764
|
+
drinking_age = 21
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
h2('Conditionals in Ruby','s1em pad5px mar5px','',
|
1768
|
+
'border-bottom:1px solid royalblue
|
1769
|
+
table2('s1em mar2px bblack1 marl2em','_',
|
1770
|
+
'TableRubyModeStrings',
|
1771
|
+
'==','equal',
|
1772
|
+
'!=','not equal to',
|
1773
|
+
'>','greater than',
|
1774
|
+
'<','less than',
|
1775
|
+
'>=','greater than or equal to',
|
1776
|
+
'<=','less than or equal to'
|
1777
|
+
)
|
1778
|
+
}
|
1779
|
+
|