nerd_quiz 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
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,14 @@
1
+ { "question" : {
2
+ "sub_category": "css",
3
+ "category": "frontend",
4
+ "nerd_level": 4,
5
+ "text":"How to remove the gaps between <li> elements that have been set to display: inline-block?",
6
+ "a1": "width: 100%",
7
+ "a2": "float: left",
8
+ "a3": "float: right",
9
+ "a4": "display: inline",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "rails",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"How many top-level folders are created in a new Ruby on Rails 3.0 app e.g.: rails new blog ?",
6
+ "a1": "10",
7
+ "a2": "11",
8
+ "a3": "12",
9
+ "a4": "13",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Jost"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "flash",
3
+ "category": "frontend",
4
+ "nerd_level": 1,
5
+ "text":"The default setting for frames per second in flash is?",
6
+ "a1": "8 fps",
7
+ "a2": "12 fps",
8
+ "a3": "24 fps",
9
+ "a4": "36 fps",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-08",
12
+ "creator": "StephanP"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "C",
4
+ "category": "programming",
5
+ "created_at": "2012-03-18",
6
+ "right_answer": "a1",
7
+ "creator": "a2800276",
8
+ "nerd_level": 1,
9
+ "text": "Which of the following is a pointer to a function that returns an int and may be passed functions like `strlen` as an argument ?",
10
+ "a1": "int (*bla)(size_t(*blub)(const char *s));",
11
+ "a2": "fptr bl = __fptr__(int, strlen);",
12
+ "a3": "int (fptr)(*strlen f);",
13
+ "a4": "int *ftpr = &strlen"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 5,
5
+ "text": "Which of this expressions has value 11?",
6
+ "a1": "+[++[+[]][+[]]+[]+[++[+[]][+[]]]]",
7
+ "a2": "+[++[+[]][+[]]+[]+[]+[]]",
8
+ "a3": "[[]+[]+[][+[]]][+[]][++[+[]][+[]]]",
9
+ "a4": "+[++[+[]][+[]]+[]+[++[+[]][[]]]]",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-06-19",
12
+ "creator": "Christoph Werner @gonsfx"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 3,
4
+ "text": "Which garbage collecting technique is used by Ruby1.9/YARV?",
5
+ "a1": "Reference counting",
6
+ "a2": "Generational GC",
7
+ "a3": "Mark and sweep",
8
+ "a4": "Memory is managed by a programmer",
9
+ "right_answer": "a3",
10
+ "sub_category": "ruby",
11
+ "category": "backend",
12
+ "creator": "Michał Łomnicki",
13
+ "created_at": "2011-09-08"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"What character is used to denote a Global Variable?",
6
+ "a1": "VAR",
7
+ "a2": "$var",
8
+ "a3": "@@var",
9
+ "a4": "@var",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "data",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "What is the name for half a byte?",
6
+ "a1": "a Nibble",
7
+ "a2": "0x04",
8
+ "a3": "a habyte",
9
+ "a4": "a word",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-09-15",
12
+ "creator": "kragniz"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "Which hash can be accessed by string and symbolized keys",
6
+ "a1": "Any ruby hash",
7
+ "a2": "Hash with symbolized strings",
8
+ "a3": "Hash with indifferent access",
9
+ "a4": "Hash with stringified symbols",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-04-03",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "css",
3
+ "category": "frontend",
4
+ "nerd_level": 2,
5
+ "text":"What is the hexadecimal code for red?",
6
+ "a1": "ff0000",
7
+ "a2": "00ff00",
8
+ "a3": "0000ff",
9
+ "a4": "f0000f",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Jost"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 5,
4
+ "text": "How can you access the data passed in with window.history.pushState(data, \"Title\", \"/new-url\") via window.onpopstate event?",
5
+ "creator": "Mike Połtyn",
6
+ "a1": "function () { this }",
7
+ "a2": "function () { this.state }",
8
+ "a3": "function (data) { data.state }",
9
+ "a4": "function (data) { data }",
10
+ "created_at": "2011-06-14",
11
+ "sub_category": "javascript",
12
+ "category": "backend",
13
+ "right_answer": "a3"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "category": "frontend",
4
+ "sub_category": "html",
5
+ "nerd_level": 2,
6
+ "text": "How do you specify HTML5 doctype?",
7
+ "creator": "Philipp Brumm",
8
+ "created_at": "2011-06-14",
9
+ "right_answer": "a1",
10
+ "a1": "<!DOCTYPE HTML>",
11
+ "a2": "<!DOCTYPE HTML5>",
12
+ "a3": "<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 5//EN\\>",
13
+ "a4": "<!DOCTYPE NEW HTML 5>"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "category": "frontend",
4
+ "sub_category": "css",
5
+ "nerd_level": 1,
6
+ "text": "How do you use multiple box-shadows?",
7
+ "creator": "Philipp Brumm",
8
+ "created_at": "2011-06-14",
9
+ "right_answer": "a3",
10
+ "a1": "Specify multiple box-shadow declarations with a space",
11
+ "a2": "Seperate multiple shadow values with a space",
12
+ "a3": "Seperate multiple shadow values with a comma",
13
+ "a4": "Specify multiple box-shadow declarations"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 1,
4
+ "sub_category": "ruby",
5
+ "category": "culture",
6
+ "text": "How is Ruby licensed?",
7
+ "a1": "Microsoft EULA",
8
+ "a2": "PHP License",
9
+ "a3": "Ruby/GPL License",
10
+ "a4": "MIT",
11
+ "right_answer": "a3",
12
+ "created_at": "2011-09-08",
13
+ "creator": "Michał Łomnicki"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "culture",
4
+ "nerd_level": 2,
5
+ "text":"How many gems can you download at Rubygems.org on June 2011?",
6
+ "a1": "ca 15000",
7
+ "a2": "ca 20000",
8
+ "a3": "ca 25000",
9
+ "a4": "ca 30000",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Jost"
13
+ }
14
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "python",
5
+ "right_answer": "a4",
6
+ "nerd_level": 2,
7
+ "text": "How many packages are there in the PyPI repository?",
8
+ "a1": "About 5K",
9
+ "a2": "About 8K",
10
+ "a3": "About 14K",
11
+ "a4": "About 20K",
12
+ "creator": "Marian Steinbach",
13
+ "creator_github": "marians",
14
+ "creator_twitter": "MarianSteinbach",
15
+ "created_at": "2012-03-09"
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "python",
5
+ "right_answer": "a1",
6
+ "nerd_level": 2,
7
+ "text": "How can a comma-seperated string be created from the list [a,b]?",
8
+ "a1": "\",\".join([a, b])",
9
+ "a2": "[a, b].join(\",\")",
10
+ "a3": "implode([a, b], \",\")",
11
+ "a4": "[a, b].concat(\",\")",
12
+ "creator": "Marian Steinbach",
13
+ "creator_github": "marians",
14
+ "creator_twitter": "MarianSteinbach",
15
+ "created_at": "2012-03-09"
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "python",
5
+ "right_answer": "a3",
6
+ "nerd_level": 1,
7
+ "text": "How to remove variable a from memory?",
8
+ "a1": "a = None",
9
+ "a2": "unset a",
10
+ "a3": "del a",
11
+ "a4": "a.unset()",
12
+ "creator": "Marian Steinbach",
13
+ "creator_github": "marians",
14
+ "creator_twitter": "MarianSteinbach",
15
+ "created_at": "2012-03-09"
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "python",
5
+ "right_answer": "a3",
6
+ "nerd_level": 2,
7
+ "text": "How should code be indented according to PEP 8?",
8
+ "a1": "One tab",
9
+ "a2": "Two spaces",
10
+ "a3": "Four spaces",
11
+ "a4": "Either one tab or four spaces",
12
+ "creator": "Marian Steinbach",
13
+ "creator_github": "marians",
14
+ "creator_twitter": "MarianSteinbach",
15
+ "created_at": "2012-03-09"
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "python",
5
+ "right_answer": "a4",
6
+ "nerd_level": 2,
7
+ "text": "How is the `main` routine idiomatically defined in Python?",
8
+ "a1": "if name == main:",
9
+ "a2": "if _name_ == _main_",
10
+ "a3": "if _name_ == \"_main_\":",
11
+ "a4": "if __name__ == \"__main__\":",
12
+ "creator": "Marian Steinbach",
13
+ "creator_github": "marians",
14
+ "creator_twitter": "MarianSteinbach",
15
+ "created_at": "2012-03-09"
16
+ }
17
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "html",
3
+ "category": "frontend",
4
+ "nerd_level": 1,
5
+ "text":"Which attribute can not be forgotten for the <img ../> tag?",
6
+ "a1": "title",
7
+ "a2": "border",
8
+ "a3": "alt",
9
+ "a4": "width & height",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-14",
12
+ "creator": "Barto"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text":"What's the name of the method, which has the same behaviour as instance_eval but allows passing arguments?",
6
+ "a1": "instance_exec",
7
+ "a2": "exec_instance",
8
+ "a3": "exe_win_32.dll",
9
+ "a4": "send",
10
+ "right_answer":"a1",
11
+ "created_at": "2011-06-06",
12
+ "creator": "mkorfmann"
13
+ }
14
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "php",
3
+ "category": "culture",
4
+ "nerd_level": 1,
5
+ "text":"When php was invented?",
6
+ "a1": "2001",
7
+ "a2": "2003",
8
+ "a3": "1995",
9
+ "a4": "1999",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-07-16",
12
+ "creator": "Jan Kus",
13
+ "creator_github": "koos",
14
+ "creator_twitter": "koos"
15
+ }
16
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What is the name of the css selector engine in jQuery.",
6
+ "a1": "hot-css",
7
+ "a2": "sizzle",
8
+ "a3": "css-find",
9
+ "a4": "drizzle",
10
+ "right_answer": "a2",
11
+ "created_at": "2011-05-16",
12
+ "creator": "Schorsch"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text":"Which one is correct JSON?",
6
+ "a1": "\"name\" : 'Answer'",
7
+ "a2": "\"name\" : \"Answer\"",
8
+ "a3": "'name' : 'Answer'",
9
+ "a4": "'name' : \"Answer\"",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "javascript",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text":"What does \"jsonp=?\" or similar statements do?",
6
+ "a1": "Treat the incoming JSON data as JSONP",
7
+ "a2": "Tell the server to return JSONP data",
8
+ "a3": "Tell the server to return JSONP data and wrap it in a dynamic callback",
9
+ "a4": "Tell the server to return JSONP data and wrap it in a '?' callback",
10
+ "right_answer":"a2",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 5,
5
+ "text": "Which Ruby module can be used to convert Kanji into UTF-8",
6
+ "a1": "NKF",
7
+ "a2": "KFT",
8
+ "a3": "PHP",
9
+ "a4": "ROR",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-06-06",
12
+ "creator": "juliancheal"
13
+ }
14
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "What's the output of '%-020s' % 'dude is here'?",
6
+ "a1": "dude is here",
7
+ "a2": "dude is here ",
8
+ "a3": " dude is here",
9
+ "a4": "dude is",
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,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "What's the output of '%02i' % 0?",
6
+ "a1": "00",
7
+ "a2": " ",
8
+ "a3": "0",
9
+ "a4": "an error",
10
+ "right_answer": "a1",
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": "What is Kernel?",
6
+ "a1": "The thing holding your OS together, sometimes a bit panicky.",
7
+ "a2": "The parent class of Base-Object, as of Ruby 1.9.",
8
+ "a3": "A module mixed into Object.",
9
+ "a4": "A module mixed into BasicObject.",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Paul"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "bash",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"How to call the last command after substituting some text?",
6
+ "a1": "^old_substring^new_substring^",
7
+ "a2": "/old_substring/new_substring/",
8
+ "a3": "sbl 'old_substring/new_substring'",
9
+ "a4": "subl 'old_substring/new_substring'",
10
+ "right_answer": "a1",
11
+ "created_at": "2011-06-06",
12
+ "creator": "mkorfmann"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "bash",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "How to switch back to the previous directory?",
6
+ "a1": "cd ...",
7
+ "a2": "cd -P",
8
+ "a3": "cd -last",
9
+ "a4": "cd -",
10
+ "right_answer": "a4",
11
+ "created_at": "2011-06-25",
12
+ "creator": "swilke"
13
+ }
14
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "regex",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "Which regex will capture everything between the first pair of square brackets: '[a,b,c][1]'",
6
+ "a1": "/\\[(.*)\\]/",
7
+ "a2": "/\\[(.+)\\]/",
8
+ "a3": "/\\[(.*?)\\]/",
9
+ "a4": "/\\{.*?\\}/",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "mkorfmann"
13
+ }
14
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "question": {
3
+ "category": "backend",
4
+ "sub_category": "python",
5
+ "right_answer": "a3",
6
+ "nerd_level": 1,
7
+ "text": "Which one is valid list comprehension?",
8
+ "a1": "[while n in foo: foo[n]]",
9
+ "a2": "[n while n in foo]",
10
+ "a3": "[n for n in foo]",
11
+ "a4": "[n for foo]",
12
+ "creator": "Marian Steinbach",
13
+ "creator_github": "marians",
14
+ "creator_twitter": "MarianSteinbach",
15
+ "created_at": "2012-03-09"
16
+ }
17
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "sub_category": "javascript",
4
+ "category": "programming",
5
+ "nerd_level": 2,
6
+ "text": "What does `['3','2','1','0'].map(parseInt)` evaluate to?",
7
+ "creator": "a2800276",
8
+ "created_at": "2011-10-09",
9
+ "right_answer": "a2",
10
+ "a1": "['3', '2', '1', '0']",
11
+ "a2": "[3, NaN, 1, 0]",
12
+ "a3": "[3,2,1,0]",
13
+ "a4": "[3, NaN, 1, NaN]"
14
+ }
15
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "culture",
4
+ "nerd_level": 1,
5
+ "text":"When Matz joined Heruku?",
6
+ "a1": "12th June 2008",
7
+ "a2": "12th July 2011",
8
+ "a3": "12th June 2011",
9
+ "a4": "12th June 2010",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-07-16",
12
+ "creator": "Jan Kus",
13
+ "creator_github": "koos",
14
+ "creator_twitter": "koos"
15
+ }
16
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "css",
3
+ "category": "frontend",
4
+ "nerd_level": 3,
5
+ "text":"What would you use to write device- or screen-size specific css?",
6
+ "a1": "Javascript",
7
+ "a2": "black magic",
8
+ "a3": "@media queries",
9
+ "a4": "Application Scaling",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "Philipp"
13
+ }
14
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 2,
4
+ "sub_category": "ruby",
5
+ "category": "backend",
6
+ "text": "Which method is used for comparisions in case ... when statement?",
7
+ "a1": "==",
8
+ "a2": "===",
9
+ "a3": "equal?",
10
+ "a4": "=~",
11
+ "right_answer": "a2",
12
+ "created_at": "2011-09-08",
13
+ "creator": "Michał Łomnicki"
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ { "question" : {
2
+ "sub_category": "regex",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "Which regex will match 'blaaa' with the number of 'a' ' s at the end ranging from 2 to 5",
6
+ "a1": "bla{2..5}",
7
+ "a2": "bla{2-5}",
8
+ "a3": "bla{2,5}",
9
+ "a4": "bla[2-5]",
10
+ "right_answer": "a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "mkorfmann"
13
+ }
14
+ }