nerd_quiz 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. data/NerdPursuit/questions/2_seconds.json +15 -0
  2. data/NerdPursuit/questions/HTCPCP.json +14 -0
  3. data/NerdPursuit/questions/about_ruby.json +16 -0
  4. data/NerdPursuit/questions/absolute_superclass_1.8.json +14 -0
  5. data/NerdPursuit/questions/absolute_superclass_1.9.json +14 -0
  6. data/NerdPursuit/questions/active_record_base.json +14 -0
  7. data/NerdPursuit/questions/all_ur_base.json +14 -0
  8. data/NerdPursuit/questions/answer_to_everything.json +14 -0
  9. data/NerdPursuit/questions/array_all_but_the_first.json +15 -0
  10. data/NerdPursuit/questions/array_all_but_the_first_and_last .json +15 -0
  11. data/NerdPursuit/questions/array_all_but_the_last.json +15 -0
  12. data/NerdPursuit/questions/array_ampersand.json +14 -0
  13. data/NerdPursuit/questions/array_get_and remove_first_element.json +15 -0
  14. data/NerdPursuit/questions/array_get_and remove_last_element.json +15 -0
  15. data/NerdPursuit/questions/array_pipe.json +14 -0
  16. data/NerdPursuit/questions/array_splat.json +14 -0
  17. data/NerdPursuit/questions/array_to_csv_string.json +15 -0
  18. data/NerdPursuit/questions/attribute_selectors.json +14 -0
  19. data/NerdPursuit/questions/background_image.json +15 -0
  20. data/NerdPursuit/questions/backticks_in_ruby.json +15 -0
  21. data/NerdPursuit/questions/base_object.json +14 -0
  22. data/NerdPursuit/questions/best_language.json +14 -0
  23. data/NerdPursuit/questions/bitwise_and.json +14 -0
  24. data/NerdPursuit/questions/bitwise_or.json +14 -0
  25. data/NerdPursuit/questions/chrome_v8.json +14 -0
  26. data/NerdPursuit/questions/class_inheritance.json +14 -0
  27. data/NerdPursuit/questions/club_mate_caffeine.json +14 -0
  28. data/NerdPursuit/questions/collect_alternative.json +14 -0
  29. data/NerdPursuit/questions/comparsion.json +16 -0
  30. data/NerdPursuit/questions/constants.json +14 -0
  31. data/NerdPursuit/questions/controller_action.json +14 -0
  32. data/NerdPursuit/questions/date_format_month.json +14 -0
  33. data/NerdPursuit/questions/divmod.json +16 -0
  34. data/NerdPursuit/questions/emails.json +14 -0
  35. data/NerdPursuit/questions/encoding.json +15 -0
  36. data/NerdPursuit/questions/enumerable.json +14 -0
  37. data/NerdPursuit/questions/equality.json +14 -0
  38. data/NerdPursuit/questions/falsy.json +14 -0
  39. data/NerdPursuit/questions/fastes_sorting_algorithm.json +14 -0
  40. data/NerdPursuit/questions/fizzbuzz.json +15 -0
  41. data/NerdPursuit/questions/float_left.json +14 -0
  42. data/NerdPursuit/questions/folders.json +14 -0
  43. data/NerdPursuit/questions/fps.json +14 -0
  44. data/NerdPursuit/questions/fptr.json +15 -0
  45. data/NerdPursuit/questions/fun_with_brackets.json +14 -0
  46. data/NerdPursuit/questions/garbarge_collector_in_19.json +15 -0
  47. data/NerdPursuit/questions/global_variable_character.json +14 -0
  48. data/NerdPursuit/questions/half_a_byte.json +14 -0
  49. data/NerdPursuit/questions/hash_with_indifferent_access.json +14 -0
  50. data/NerdPursuit/questions/hexadecimal_code.json +14 -0
  51. data/NerdPursuit/questions/how_can_you_access_the_data_pas.json +15 -0
  52. data/NerdPursuit/questions/how_do_you_specify_html5_doctyp.json +15 -0
  53. data/NerdPursuit/questions/how_do_you_use_multiple_box_sha.json +15 -0
  54. data/NerdPursuit/questions/how_is_ruby_licensed.json +15 -0
  55. data/NerdPursuit/questions/how_many_gems.json +14 -0
  56. data/NerdPursuit/questions/how_many_pypi_packages.json +17 -0
  57. data/NerdPursuit/questions/how_to_concatenate_list_python.json +17 -0
  58. data/NerdPursuit/questions/how_to_delete_variable_python.json +17 -0
  59. data/NerdPursuit/questions/how_to_indent_python.json +17 -0
  60. data/NerdPursuit/questions/how_to_open_python_main.json +17 -0
  61. data/NerdPursuit/questions/img_tag.json +14 -0
  62. data/NerdPursuit/questions/instance_exec.json +14 -0
  63. data/NerdPursuit/questions/invited-php.json +16 -0
  64. data/NerdPursuit/questions/jquery_sizzle.json +14 -0
  65. data/NerdPursuit/questions/json.json +14 -0
  66. data/NerdPursuit/questions/jsonp.json +14 -0
  67. data/NerdPursuit/questions/kanji_converter.json +14 -0
  68. data/NerdPursuit/questions/kernel-sprintf-2.json +16 -0
  69. data/NerdPursuit/questions/kernel-sprintf.json +16 -0
  70. data/NerdPursuit/questions/kernel.json +14 -0
  71. data/NerdPursuit/questions/last_cmd_sub.json +14 -0
  72. data/NerdPursuit/questions/last_directory.json +14 -0
  73. data/NerdPursuit/questions/lazy.json +14 -0
  74. data/NerdPursuit/questions/list_comprehension_python.json +17 -0
  75. data/NerdPursuit/questions/map_parseInt.json +15 -0
  76. data/NerdPursuit/questions/matz.json +16 -0
  77. data/NerdPursuit/questions/media.json +14 -0
  78. data/NerdPursuit/questions/method_used_for_comparisions.json +15 -0
  79. data/NerdPursuit/questions/min_max_quantifier.json +14 -0
  80. data/NerdPursuit/questions/mixins_are_what.json +15 -0
  81. data/NerdPursuit/questions/mutable_data_type.json +14 -0
  82. data/NerdPursuit/questions/name_of_python_module_rep.json +17 -0
  83. data/NerdPursuit/questions/negative_look_ahead.json +14 -0
  84. data/NerdPursuit/questions/new_database.json +14 -0
  85. data/NerdPursuit/questions/new_lambda_calling_syntax.json +14 -0
  86. data/NerdPursuit/questions/new_lambda_constructing_syntax.json +14 -0
  87. data/NerdPursuit/questions/nil.json +14 -0
  88. data/NerdPursuit/questions/nil_id.json +15 -0
  89. data/NerdPursuit/questions/nilclass.json +14 -0
  90. data/NerdPursuit/questions/nodetype_of_text_node.json +14 -0
  91. data/NerdPursuit/questions/numeric_types.json +14 -0
  92. data/NerdPursuit/questions/ook_ook.json +15 -0
  93. data/NerdPursuit/questions/optional_html_tags.json +14 -0
  94. data/NerdPursuit/questions/oreilly_Antelope.json +15 -0
  95. data/NerdPursuit/questions/oreilly_Camel.json +15 -0
  96. data/NerdPursuit/questions/oreilly_Cow.json +15 -0
  97. data/NerdPursuit/questions/oreilly_Insects.json +15 -0
  98. data/NerdPursuit/questions/oreilly_Octopus.json +15 -0
  99. data/NerdPursuit/questions/oreilly_Pidgeon.json +15 -0
  100. data/NerdPursuit/questions/oreilly_Rat.json +15 -0
  101. data/NerdPursuit/questions/oreilly_Rhinocerous.json +15 -0
  102. data/NerdPursuit/questions/oreilly_Salmon.json +15 -0
  103. data/NerdPursuit/questions/pluralize_person.json +14 -0
  104. data/NerdPursuit/questions/png.json +14 -0
  105. data/NerdPursuit/questions/position_fixed_support.json +14 -0
  106. data/NerdPursuit/questions/position_property.json +15 -0
  107. data/NerdPursuit/questions/prediction_gates.json +14 -0
  108. data/NerdPursuit/questions/prefix_last_command.json +14 -0
  109. data/NerdPursuit/questions/prime.json +14 -0
  110. data/NerdPursuit/questions/private_method_in_ruby.json +15 -0
  111. data/NerdPursuit/questions/protected_method_in_ruby.json +15 -0
  112. data/NerdPursuit/questions/ps_save_for_web.json +14 -0
  113. data/NerdPursuit/questions/quo.json +14 -0
  114. data/NerdPursuit/questions/rails_first_shown.json +14 -0
  115. data/NerdPursuit/questions/rails_inventor.json +14 -0
  116. data/NerdPursuit/questions/rake_about.json +14 -0
  117. data/NerdPursuit/questions/ranges_three_dots.json +14 -0
  118. data/NerdPursuit/questions/release_date.json +14 -0
  119. data/NerdPursuit/questions/return_value_or.json +14 -0
  120. data/NerdPursuit/questions/roses.json +14 -0
  121. data/NerdPursuit/questions/rspec_controller_render_views.json +14 -0
  122. data/NerdPursuit/questions/run_time_of_bst.json +14 -0
  123. data/NerdPursuit/questions/same_origin_policy.json +14 -0
  124. data/NerdPursuit/questions/screen_image_resolution.json +14 -0
  125. data/NerdPursuit/questions/simple_format.json +14 -0
  126. data/NerdPursuit/questions/size_t_header.json +15 -0
  127. data/NerdPursuit/questions/spaceship_operator.json +15 -0
  128. data/NerdPursuit/questions/square_numbers_in_list.json +14 -0
  129. data/NerdPursuit/questions/strict_doctype.json +14 -0
  130. data/NerdPursuit/questions/string_clean_whitespace.json +15 -0
  131. data/NerdPursuit/questions/string_object_coercion_internals.json +14 -0
  132. data/NerdPursuit/questions/string_v_strings.h +15 -0
  133. data/NerdPursuit/questions/sum_things_up.json +15 -0
  134. data/NerdPursuit/questions/symbol_identity_01.json +14 -0
  135. data/NerdPursuit/questions/symbol_identity_02.json +14 -0
  136. data/NerdPursuit/questions/symbol_identity_03.json +14 -0
  137. data/NerdPursuit/questions/symbol_string_ids.json +14 -0
  138. data/NerdPursuit/questions/symbols.json +14 -0
  139. data/NerdPursuit/questions/the_cake.json +15 -0
  140. data/NerdPursuit/questions/the_difference_between_and_operators.json +15 -0
  141. data/NerdPursuit/questions/to_which_year_marty_mcfly_wants.json +16 -0
  142. data/NerdPursuit/questions/trace_something_in_as3.json +14 -0
  143. data/NerdPursuit/questions/typeof_arguments.json +14 -0
  144. data/NerdPursuit/questions/unless_wtf.json +14 -0
  145. data/NerdPursuit/questions/valid_function_expression.json +14 -0
  146. data/NerdPursuit/questions/weakref.json +14 -0
  147. data/NerdPursuit/questions/what_did_matz_say_about_ruby.json +15 -0
  148. data/NerdPursuit/questions/what_do_array.json +14 -0
  149. data/NerdPursuit/questions/what_do_string.json +14 -0
  150. data/NerdPursuit/questions/what_does_gil_stands_for.json +15 -0
  151. data/NerdPursuit/questions/what_does_negate_regexp_operator_do.json +15 -0
  152. data/NerdPursuit/questions/what_is_a_mixin.json +15 -0
  153. data/NerdPursuit/questions/what_is_a_traditional_vulcan_sa.json +15 -0
  154. data/NerdPursuit/questions/what_is_node_js.json +17 -0
  155. data/NerdPursuit/questions/what_s_4_2.json +15 -0
  156. data/NerdPursuit/questions/what_s_typeof_null.json +16 -0
  157. data/NerdPursuit/questions/when_life_gives_you_lemons.json +15 -0
  158. data/NerdPursuit/questions/where_are_the_characters_of_daw.json +15 -0
  159. data/NerdPursuit/questions/which_character_in_star_trek_se.json +15 -0
  160. data/NerdPursuit/questions/which_is_not_a_python_framework.json +17 -0
  161. data/NerdPursuit/questions/which_version_of_ecmascript_doe.json +17 -0
  162. data/NerdPursuit/questions/who_created_jquery.json +15 -0
  163. data/NerdPursuit/questions/who_created_python.json +17 -0
  164. data/NerdPursuit/questions/who_invented_node_js.json +17 -0
  165. data/NerdPursuit/questions/who_is_the_first_character_to_b.json +16 -0
  166. data/NerdPursuit/questions/yo_dawg.json +14 -0
  167. data/NerdPursuit/questions/z-index_property.json +14 -0
  168. data/lib/nerd_quiz/version.rb +1 -1
  169. data/nerd_quiz.gemspec +195 -2
  170. metadata +175 -8
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "In Rails, what is the class of an object created with this statement: 2.seconds",
5
+ "a1": "Duration",
6
+ "creator": "Mike Poltyn",
7
+ "a2": "DateTime",
8
+ "a3": "Fixnum",
9
+ "created_at": "2011-06-15",
10
+ "a4": "Time",
11
+ "sub_category": "ruby",
12
+ "category": "backend",
13
+ "right_answer": "a3"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "http",
3
+ "category": "backend",
4
+ "nerd_level": 5,
5
+ "text":"What does the HTCPCP response 418 stand for?",
6
+ "a1": "Not acceptable",
7
+ "a2": "I'm a teapot",
8
+ "a3": "HTCPCP? Nice try.",
9
+ "a4": "Permanently moved.",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text":"Who invented Ruby?",
6
+ "a1": "Yukihiro Matsumoto",
7
+ "a2": "David Heinemeier Hansson",
8
+ "a3": "Rasmus Lerdorf",
9
+ "a4": "Ransom E. Olds",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-05-09",
12
+ "creator": "Jan Kus",
13
+ "creator_github": "koos",
14
+ "creator_twitter": "koos"
15
+ }
16
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What is the absolute superclass, the mother of all classes, in Ruby 1.8?",
6
+ "a1": "MotherClass",
7
+ "a2": "Object",
8
+ "a3": "Lilith",
9
+ "a4": "Base-Object",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What is the return value of nil || 'a'?",
6
+ "a1": "true",
7
+ "a2": "nil",
8
+ "a3": "'a'",
9
+ "a4": "false",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "From which class do all active record objects descend?",
6
+ "a1": "MySql",
7
+ "a2": "Object",
8
+ "a3": "SuperClass",
9
+ "a4": "Base",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-05-24",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "culture",
3
+ "category": "culture",
4
+ "nerd_level": 2,
5
+ "text":"Know your meme: Who said 'All your base are belong to us' originally?",
6
+ "a1": "Mechanic",
7
+ "a2": "Captain",
8
+ "a3": "Operator",
9
+ "a4": "Cats",
10
+ "right_answer":"a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "tmschndr"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "culture",
3
+ "category": "culture",
4
+ "nerd_level": 1,
5
+ "text":"What is the answer to the ultimate question of life, the universe, and everything?",
6
+ "a1": "0",
7
+ "a2": "23",
8
+ "a3": "42",
9
+ "a4": "1337",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "jhilden"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "text": "How to get all but the first element of an array.",
5
+ "a1": "ary.first",
6
+ "a2": "ary[1..-1]",
7
+ "a3": "ary.size-1",
8
+ "a4": "ary[1...-1]",
9
+ "sub_category": "ruby",
10
+ "category": "backend",
11
+ "right_answer": "a2",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-23"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 3,
4
+ "text": "How to get all but the first and last elements of an array.",
5
+ "a1": "ary[1..-1]",
6
+ "a2": "ary.pop",
7
+ "a3": "ary[1...-1]",
8
+ "a4": "ary.size-2",
9
+ "sub_category": "ruby",
10
+ "category": "backend",
11
+ "right_answer": "a1",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-23"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "text": "How to get all but the last element of an array.",
5
+ "a1": "ary[0..-1]",
6
+ "a2": "ary.pop",
7
+ "a3": "ary.size-1",
8
+ "a4": "ary[0...-1]",
9
+ "category": "backend",
10
+ "sub_category": "ruby",
11
+ "right_answer": "a4",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-20"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What's the output of [1, 2, 3] & [3, 4, 5]?",
6
+ "a1": "[1, 2, 4, 5]",
7
+ "a2": "[1, 2, 3, 3, 4, 5]",
8
+ "a3": "[3]",
9
+ "a4": "[1, 2, 3, 4, 5]",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "How to get and remove the first element of an array.",
5
+ "a1": "[1,2,3].pop",
6
+ "a2": "[1,2,3].shift",
7
+ "a3": "[1,2,3].first",
8
+ "a4": "[1,2,3].index(1)",
9
+ "sub_category": "ruby",
10
+ "category": "backend",
11
+ "right_answer": "a2",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-23"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "How to get and remove the last element of an array.",
5
+ "a1": "[1,2,3].pop",
6
+ "a2": "[1,2,3].last",
7
+ "a3": "[1,2,3].shift",
8
+ "a4": "[1,2,3].index(3)",
9
+ "sub_category": "ruby",
10
+ "category": "backend",
11
+ "right_answer": "a1",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-23"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What's the output of [1, 2, 3] | [3, 4, 5]?",
6
+ "a1": "[1, 2, 4, 5]",
7
+ "a2": "[1, 2, 3, 3, 4, 5]",
8
+ "a3": "[3]",
9
+ "a4": "[1, 2, 3, 4, 5]",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What is the correct way to pass [arg1, arg2] as an argument to User.send(:my_method)?",
6
+ "a1": "User.send(:my_method, a)",
7
+ "a2": "User.send(:my_method, &a)",
8
+ "a3": "User.send(:my_method, @a)",
9
+ "a4": "User.send(:my_method, *a)",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "text": "How to convert an array into a comma seperated string.",
5
+ "a1": "[1,2,3].csv_merge",
6
+ "a2": "[1,2,3].collapse(',')",
7
+ "a3": "[1,2,3].join(',')",
8
+ "a4": "[1,2,3].glue.with(',')",
9
+ "sub_category": "ruby",
10
+ "category": "backend",
11
+ "right_answer": "a3",
12
+ "creator": "Georg Leciejewski",
13
+ "created_at": "2011-06-20"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "css",
3
+ "category": "frontend",
4
+ "nerd_level": 4,
5
+ "text":"How would you style all links to PDF files via CSS?",
6
+ "a1": "[href*=.pdf]",
7
+ "a2": "[href?=.pdf]",
8
+ "a3": "[href$=.pdf]",
9
+ "a4": "[href^=.pdf]",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "css",
4
+ "category": "frontend",
5
+ "nerd_level": 3,
6
+ "text": "Why it's better to use <img.. /> tag instead of background whenever it's possible?",
7
+ "a1": "Easier to manage images in dev mode.",
8
+ "a2": "Actually it's not. Better to use bg images.",
9
+ "a3": "Background images are not printable.",
10
+ "a4": "<img> tag's are easier to style as a inline elements.",
11
+ "right_answer":"a3",
12
+ "created_at": "2011-06-08",
13
+ "creator": "Barto"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "ruby",
4
+ "category": "backend",
5
+ "right_answer": "a3",
6
+ "nerd_level": 4,
7
+ "text": "Backticks ` in ruby",
8
+ "a1": "are a shortcut to send method",
9
+ "a2": "do nothing",
10
+ "a3": "allow to execute a system command",
11
+ "a4": "raise SyntaxError",
12
+ "creator": "nbartlomiej",
13
+ "created_at": "2011-06-14"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What is the absolute superclass in Ruby 1.9?",
6
+ "a1": "Super",
7
+ "a2": "Object",
8
+ "a3": "Mother",
9
+ "a4": "Base-Object",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "culture",
4
+ "nerd_level": 1,
5
+ "text":"What is the best programing language ever?",
6
+ "a1": "C#",
7
+ "a2": "Ruby",
8
+ "a3": "Java",
9
+ "a4": "LOLCODE",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What's the output of 5 & 2?",
6
+ "a1": "0",
7
+ "a2": "1",
8
+ "a3": "2",
9
+ "a4": "4",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What's the output of 5 | 2?",
6
+ "a1": "0",
7
+ "a2": "1",
8
+ "a3": "5",
9
+ "a4": "7",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "frontend",
4
+ "nerd_level": 1,
5
+ "text": "What is the name of the javascript engine in google chrome.",
6
+ "a1": "V8",
7
+ "a2": "SquirrelFish",
8
+ "a3": "SpiderMonkey",
9
+ "a4": "Rhine",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-05-16",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "From how many classes can a ruby class directly descend/inherit.",
6
+ "a1": "three",
7
+ "a2": "none",
8
+ "a3": "two",
9
+ "a4": "one",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-05-24",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "culture",
3
+ "category": "culture",
4
+ "nerd_level": 2,
5
+ "text":"How much caffeine does Club Mate contain (per 100ml)?",
6
+ "a1": "15 mg",
7
+ "a2": "20 mg",
8
+ "a3": "25 mg",
9
+ "a4": "30 mg",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "jhilden"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text":"Which method can be used instead of 'collect' ",
6
+ "a1": "scan",
7
+ "a2": "chomp",
8
+ "a3": "map",
9
+ "a4": "select",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "kangguru"
13
+ }
14
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "What is the result of 'a' == ('b' || 'a')",
6
+ "a1": "a",
7
+ "a2": "b",
8
+ "a3": "true",
9
+ "a4": "false",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-08",
12
+ "creator": "Jan Kus",
13
+ "creator_github": "koos",
14
+ "creator_twitter": "koos"
15
+ }
16
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"Which of the following will call the constant Bar from class Foo ?",
6
+ "a1": "Foo.Bar()",
7
+ "a2": "Foo.Bar",
8
+ "a3": "Foo::Bar()",
9
+ "a4": "Foo::Bar",
10
+ "right_answer":"a4",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "rails",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text":"How many controller actions are created when scaffolding a model e.g. rails generate scaffold User name:string ?",
6
+ "a1": "6",
7
+ "a2": "7",
8
+ "a3": "8",
9
+ "a4": "9",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Jost"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "Which placeholder in date formatting renders the full month name",
6
+ "a1": "%B",
7
+ "a2": "%m",
8
+ "a3": "%M",
9
+ "a4": "%mm",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-05-14",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "What is the output of 13456.divmod(100)[0]?",
6
+ "a1": "1345",
7
+ "a2": "134",
8
+ "a3": "13",
9
+ "a4": "56",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-08",
12
+ "creator": "Jan Kus",
13
+ "creator_github": "koos",
14
+ "creator_twitter": "koos"
15
+ }
16
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "regex",
3
+ "category": "backend",
4
+ "nerd_level": 5,
5
+ "text": "Which one works as email validator?",
6
+ "a1": "/[\\w.!\\$%+-].@[\\w-]+(?\\.[\\w-]+)+/",
7
+ "a2": "/[\\w.!#\\$%+-]+@[\\w-]+(?:\\.[\\w-]+)+/",
8
+ "a3": "/[\\w.+!#\\$%+]+@[\\w-]+(?\\.[\\w-]+)+/",
9
+ "a4": "/[\\w.!\\$%+-]+@[\\w-].(?:\\.[\\w-]+)-/",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "tmschndr"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 3,
4
+ "text": "Which UTF-8 character is NOT a real, defined character?",
5
+ "a1": "Love Hotel",
6
+ "a2": "Roasted sweet potato",
7
+ "a3": "Chinese symbol for the internet",
8
+ "a4": "A steaming pile of poo",
9
+ "category": "design",
10
+ "sub_category": "encoding",
11
+ "right_answer": "a3",
12
+ "created_at": "2012-03-10",
13
+ "creator": "marcgreenstock"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "Which module is included in Hash and Array to faciliate traversal and searching.",
6
+ "a1": "Searchable",
7
+ "a2": "Enumerable",
8
+ "a3": "Traversable",
9
+ "a4": "Mapable",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-05-24",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text":"If val = 42 which of the following will produce false",
6
+ "a1": "val.eql?(42.0)",
7
+ "a2": "val.equal?(42)",
8
+ "a3": "val == 42.0",
9
+ "a4": "0 == 0",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "Which of these are the only falsy entities in Ruby?",
6
+ "a1": "0, false, and nil",
7
+ "a2": "empty and false",
8
+ "a3": "Only false",
9
+ "a4": "false and nil",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "algorithms",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text":"Which one is the fastest sorting algorithm?",
6
+ "a1": "Selection Sort",
7
+ "a2": "Quick Sort",
8
+ "a3": "Bubble Sort",
9
+ "a4": "All the same",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-20",
12
+ "creator": "eray"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 4,
4
+ "text": "Which code gives proper FizzBuzz solution?",
5
+ "a1": "(1..100).map {|i| ['fizzbuzz', nil, nil, 'fizz', nil, 'buzz'][i % 6] || i }",
6
+ "a2": "(1..100).map {|i| (i%5).zero? ? \"Fizz\" : (i%3).zero? ? \"Buzz\" : i }",
7
+ "a3": "(1..100).map {|i| ['fizzbuzz', 'fizz', 'buzz', i][[i%15,i%3,i%5,0].index(0)] }",
8
+ "a4": "All of the above",
9
+ "creator": "Mike Poltyn",
10
+ "created_at": "2011-06-15",
11
+ "sub_category": "ruby",
12
+ "category": "backend",
13
+ "right_answer": "a3"
14
+ }
15
+ }