Permalink
Browse files

creator is now required. renamed twitter and github

  • Loading branch information...
1 parent 40a1420 commit 4794cc132b19b26a623ee8f62026cd9d02ba0be8 @koos koos committed Mar 4, 2012
Showing with 178 additions and 192 deletions.
  1. +1 −1 creator
  2. +2 −3 questions/2_seconds.json
  3. +1 −1 questions/HTCPCP.json
  4. +3 −3 questions/about_ruby.json
  5. +1 −1 questions/absolute_superclass_1.8.json
  6. +1 −1 questions/absolute_superclass_1.9.json
  7. +1 −1 questions/active_record_base.json
  8. +1 −1 questions/all_ur_base.json
  9. +1 −1 questions/answer_to_everything.json
  10. +2 −3 questions/array_all_but_the_first.json
  11. +2 −3 questions/array_all_but_the_first_and_last .json
  12. +2 −3 questions/array_all_but_the_last.json
  13. +1 −1 questions/array_ampersand.json
  14. +2 −3 questions/array_get_and remove_first_element.json
  15. +2 −3 questions/array_get_and remove_last_element.json
  16. +1 −1 questions/array_pipe.json
  17. +1 −1 questions/array_splat.json
  18. +2 −3 questions/array_to_csv_string.json
  19. +1 −1 questions/attribute_selectors.json
  20. +1 −1 questions/background_image.json
  21. +1 −1 questions/backticks_in_ruby.json
  22. +1 −1 questions/base_object.json
  23. +1 −1 questions/best_language.json
  24. +1 −1 questions/bitwise_and.json
  25. +1 −1 questions/bitwise_or.json
  26. +1 −1 questions/chrome_v8.json
  27. +1 −1 questions/class_inheritance.json
  28. +1 −1 questions/club_mate_caffeine.json
  29. +1 −1 questions/collect_alternative.json
  30. +3 −3 questions/comparsion.json
  31. +1 −1 questions/constants.json
  32. +1 −1 questions/controller_action.json
  33. +1 −1 questions/date_format_month.json
  34. +3 −3 questions/divmod.json
  35. +1 −1 questions/emails.json
  36. +1 −1 questions/enumerable.json
  37. +1 −1 questions/equality.json
  38. +1 −1 questions/falsy.json
  39. +1 −1 questions/fastes_sorting_algorithm.json
  40. +2 −3 questions/fizzbuzz.json
  41. +1 −1 questions/float_left.json
  42. +1 −1 questions/folders.json
  43. +1 −1 questions/fps.json
  44. +1 −1 questions/fun_with_brackets.json
  45. +1 −1 questions/garbarge_collector_in_19.json
  46. +1 −1 questions/global_variable_character.json
  47. +1 −1 questions/half_a_byte.json
  48. +1 −1 questions/hash_with_indifferent_access.json
  49. +1 −1 questions/hexadecimal_code.json
  50. +2 −3 questions/how_can_you_access_the_data_pas.json
  51. +1 −1 questions/how_do_you_specify_html5_doctyp.json
  52. +1 −1 questions/how_do_you_use_multiple_box_sha.json
  53. +1 −1 questions/how_is_ruby_licensed.json
  54. +1 −1 questions/how_many_gems.json
  55. +1 −1 questions/img_tag.json
  56. +1 −1 questions/instance_exec.json
  57. +3 −3 questions/invited-php.json
  58. +1 −1 questions/jquery_sizzle.json
  59. +1 −1 questions/json.json
  60. +1 −1 questions/jsonp.json
  61. +1 −1 questions/kanji_converter.json
  62. +3 −3 questions/kernel-sprintf-2.json
  63. +3 −3 questions/kernel-sprintf.json
  64. +1 −1 questions/kernel.json
  65. +1 −1 questions/last_cmd_sub.json
  66. +1 −1 questions/last_directory.json
  67. +1 −1 questions/lazy.json
  68. +1 −1 questions/map_parseInt.json
  69. +3 −3 questions/matz.json
  70. +1 −1 questions/media.json
  71. +1 −1 questions/method_used_for_comparisions.json
  72. +1 −1 questions/min_max_quantifier.json
  73. +1 −1 questions/mixins_are_what.json
  74. +1 −1 questions/mutable_data_type.json
  75. +1 −1 questions/negative_look_ahead.json
  76. +1 −1 questions/new_database.json
  77. +1 −1 questions/new_lambda_calling_syntax.json
  78. +1 −1 questions/new_lambda_constructing_syntax.json
  79. +1 −1 questions/nil.json
  80. +1 −1 questions/nil_id.json
  81. +1 −1 questions/nilclass.json
  82. +1 −1 questions/nodetype_of_text_node.json
  83. +1 −1 questions/numeric_types.json
  84. +1 −1 questions/ook_ook.json
  85. +1 −1 questions/optional_html_tags.json
  86. +1 −1 questions/pluralize_person.json
  87. +1 −1 questions/png.json
  88. +1 −1 questions/position_fixed_support.json
  89. +1 −1 questions/position_property.json
  90. +1 −1 questions/prediction_gates.json
  91. +1 −1 questions/prefix_last_command.json
  92. +1 −1 questions/prime.json
  93. +1 −1 questions/private_method_in_ruby.json
  94. +1 −1 questions/protected_method_in_ruby.json
  95. +1 −1 questions/ps_save_for_web.json
  96. +1 −1 questions/quo.json
  97. +1 −1 questions/rails_first_shown.json
  98. +1 −1 questions/rails_inventor.json
  99. +1 −1 questions/rake_about.json
  100. +1 −1 questions/ranges_three_dots.json
  101. +1 −1 questions/release_date.json
  102. +1 −1 questions/return_value_or.json
  103. +1 −1 questions/roses.json
  104. +1 −1 questions/rspec_controller_render_views.json
  105. +1 −1 questions/run_time_of_bst.json
  106. +1 −1 questions/same_origin_policy.json
  107. +1 −1 questions/screen_image_resolution.json
  108. +1 −1 questions/simple_format.json
  109. +1 −1 questions/spaceship_operator.json
  110. +1 −1 questions/square_numbers_in_list.json
  111. +1 −1 questions/strict_doctype.json
  112. +2 −3 questions/string_clean_whitespace.json
  113. +1 −1 questions/string_object_coercion_internals.json
  114. +1 −1 questions/sum_things_up.json
  115. +1 −1 questions/symbol_identity_01.json
  116. +1 −1 questions/symbol_identity_02.json
  117. +1 −1 questions/symbol_identity_03.json
  118. +1 −1 questions/symbol_string_ids.json
  119. +1 −1 questions/symbols.json
  120. +2 −3 questions/the_cake.json
  121. +1 −1 questions/the_difference_between_and_operators.json
  122. +1 −1 questions/to_which_year_marty_mcfly_wants.json
  123. +1 −1 questions/trace_something_in_as3.json
  124. +1 −1 questions/typeof_arguments.json
  125. +1 −1 questions/unless_wtf.json
  126. +1 −1 questions/valid_function_expression.json
  127. +1 −1 questions/weakref.json
  128. +1 −1 questions/what_did_matz_say_about_ruby.json
  129. +1 −1 questions/what_do_array.json
  130. +1 −1 questions/what_do_string.json
  131. +1 −1 questions/what_does_gil_stands_for.json
  132. +1 −1 questions/what_does_negate_regexp_operator_do.json
  133. +1 −1 questions/what_is_a_mixin.json
  134. +2 −3 questions/what_is_a_traditional_vulcan_sa.json
  135. +1 −1 questions/what_s_4_2.json
  136. +1 −1 questions/what_s_typeof_null.json
  137. +2 −3 questions/when_life_gives_you_lemons.json
  138. +2 −3 questions/where_are_the_characters_of_daw.json
  139. +2 −3 questions/which_character_in_star_trek_se.json
  140. +1 −1 questions/who_created_jquery.json
  141. +1 −1 questions/who_is_the_first_character_to_b.json
  142. +1 −1 questions/yo_dawg.json
  143. +1 −1 questions/z-index_property.json
  144. +5 −4 schema/question.json
  145. +1 −1 validate_all.rb
View
@@ -54,7 +54,7 @@
# :category => category,
# :nerd_level => level,
# :text => question,
-# :created_by => creator,
+# :creator => creator,
# :created_at => Time.now.strftime('%Y-%m-%d'),
# :right_answer => "a#{correct_index + 1}"
# }
@@ -3,14 +3,13 @@
"nerd_level": 1,
"text": "In Rails, what is the class of an object created with this statement: 2.seconds",
"a1": "Duration",
- "created_by": "Mike Poltyn",
+ "creator": "Mike Poltyn",
"a2": "DateTime",
"a3": "Fixnum",
"created_at": "2011-06-15",
"a4": "Time",
"sub_category": "ruby",
"category": "backend",
- "right_answer": "a3",
- "id": ""
+ "right_answer": "a3"
}
}
@@ -9,6 +9,6 @@
"a4": "Permanently moved.",
"right_answer":"a2",
"created_at": "2011-06-07",
- "created_by": "Philipp"
+ "creator": "Philipp"
}
}
@@ -9,8 +9,8 @@
"a4": "Ransom E. Olds",
"right_answer":"a1",
"created_at": "2011-05-09",
- "created_by": "Koos",
- "created_by_github_name": "koos",
- "created_by_twitter_name": "koos"
+ "creator": "Jan Kus",
+ "creator_github": "koos",
+ "creator_twitter": "koos"
}
}
@@ -9,6 +9,6 @@
"a4": "Base-Object",
"right_answer": "a2",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "false",
"right_answer": "a3",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "Base",
"right_answer": "a4",
"created_at": "2011-05-24",
- "created_by": "Schorsch"
+ "creator": "Schorsch"
}
}
@@ -9,6 +9,6 @@
"a4": "Cats",
"right_answer":"a4",
"created_at": "2011-06-07",
- "created_by": "tmschndr"
+ "creator": "tmschndr"
}
}
@@ -9,6 +9,6 @@
"a4": "1337",
"right_answer":"a3",
"created_at": "2011-06-07",
- "created_by": "jhilden"
+ "creator": "jhilden"
}
}
@@ -9,8 +9,7 @@
"sub_category": "ruby",
"category": "backend",
"right_answer": "a2",
- "created_by": "Georg Leciejewski",
- "created_at": "2011-06-23",
- "id": ""
+ "creator": "Georg Leciejewski",
+ "created_at": "2011-06-23"
}
}
@@ -9,8 +9,7 @@
"sub_category": "ruby",
"category": "backend",
"right_answer": "a1",
- "created_by": "Georg Leciejewski",
- "created_at": "2011-06-23",
- "id": ""
+ "creator": "Georg Leciejewski",
+ "created_at": "2011-06-23"
}
}
@@ -9,8 +9,7 @@
"category": "backend",
"sub_category": "ruby",
"right_answer": "a4",
- "created_by": "Georg Leciejewski",
- "created_at": "2011-06-20",
- "id": ""
+ "creator": "Georg Leciejewski",
+ "created_at": "2011-06-20"
}
}
@@ -9,6 +9,6 @@
"a4": "[1, 2, 3, 4, 5]",
"right_answer": "a3",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,8 +9,7 @@
"sub_category": "ruby",
"category": "backend",
"right_answer": "a2",
- "created_by": "Georg Leciejewski",
- "created_at": "2011-06-23",
- "id": ""
+ "creator": "Georg Leciejewski",
+ "created_at": "2011-06-23"
}
}
@@ -9,8 +9,7 @@
"sub_category": "ruby",
"category": "backend",
"right_answer": "a1",
- "created_by": "Georg Leciejewski",
- "created_at": "2011-06-23",
- "id": ""
+ "creator": "Georg Leciejewski",
+ "created_at": "2011-06-23"
}
}
@@ -9,6 +9,6 @@
"a4": "[1, 2, 3, 4, 5]",
"right_answer": "a4",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "User.send(:my_method, *a)",
"right_answer": "a4",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,8 +9,7 @@
"sub_category": "ruby",
"category": "backend",
"right_answer": "a3",
- "created_by": "Georg Leciejewski",
- "created_at": "2011-06-20",
- "id": ""
+ "creator": "Georg Leciejewski",
+ "created_at": "2011-06-20"
}
}
@@ -9,6 +9,6 @@
"a4": "[href^=.pdf]",
"right_answer":"a3",
"created_at": "2011-06-07",
- "created_by": "Philipp"
+ "creator": "Philipp"
}
}
@@ -10,6 +10,6 @@
"a4": "<img> tag's are easier to style as a inline elements.",
"right_answer":"a3",
"created_at": "2011-06-08",
- "created_by": "Barto"
+ "creator": "Barto"
}
}
@@ -9,7 +9,7 @@
"a2": "do nothing",
"a3": "allow to execute a system command",
"a4": "raise SyntaxError",
- "created_by": "nbartlomiej",
+ "creator": "nbartlomiej",
"created_at": "2011-06-14"
}
}
@@ -9,6 +9,6 @@
"a4": "Base-Object",
"right_answer": "a4",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "LOLCODE",
"right_answer":"a2",
"created_at": "2011-06-06",
- "created_by": "juliancheal"
+ "creator": "juliancheal"
}
}
@@ -9,6 +9,6 @@
"a4": "4",
"right_answer": "a1",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "7",
"right_answer": "a4",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "Rhine",
"right_answer": "a1",
"created_at": "2011-05-16",
- "created_by": "Schorsch"
+ "creator": "Schorsch"
}
}
@@ -9,6 +9,6 @@
"a4": "one",
"right_answer": "a4",
"created_at": "2011-05-24",
- "created_by": "Schorsch"
+ "creator": "Schorsch"
}
}
@@ -9,6 +9,6 @@
"a4": "30 mg",
"right_answer":"a2",
"created_at": "2011-06-07",
- "created_by": "jhilden"
+ "creator": "jhilden"
}
}
@@ -9,6 +9,6 @@
"a4": "select",
"right_answer":"a3",
"created_at": "2011-06-07",
- "created_by": "kangguru"
+ "creator": "kangguru"
}
}
@@ -9,8 +9,8 @@
"a4": "false",
"right_answer": "a4",
"created_at": "2011-06-08",
- "created_by": "koos",
- "created_by_github_name": "koos",
- "created_by_twitter_name": "koos"
+ "creator": "Jan Kus",
+ "creator_github": "koos",
+ "creator_twitter": "koos"
}
}
@@ -9,6 +9,6 @@
"a4": "Foo::Bar",
"right_answer":"a4",
"created_at": "2011-06-06",
- "created_by": "juliancheal"
+ "creator": "juliancheal"
}
}
@@ -9,6 +9,6 @@
"a4": "9",
"right_answer":"a2",
"created_at": "2011-06-07",
- "created_by": "Jost"
+ "creator": "Jost"
}
}
@@ -9,6 +9,6 @@
"a4": "%mm",
"right_answer": "a1",
"created_at": "2011-05-14",
- "created_by": "Schorsch"
+ "creator": "Schorsch"
}
}
@@ -9,8 +9,8 @@
"a4": "56",
"right_answer": "a2",
"created_at": "2011-06-08",
- "created_by": "koos",
- "created_by_github_name": "koos",
- "created_by_twitter_name": "koos"
+ "creator": "Jan Kus",
+ "creator_github": "koos",
+ "creator_twitter": "koos"
}
}
@@ -9,6 +9,6 @@
"a4": "/[\w.!\$%+-]+@[\w-].(?:\.[\w-]+)-/",
"right_answer": "a2",
"created_at": "2011-06-07",
- "created_by": "tmschndr"
+ "creator": "tmschndr"
}
}
@@ -9,6 +9,6 @@
"a4": "Mapable",
"right_answer": "a2",
"created_at": "2011-05-24",
- "created_by": "Schorsch"
+ "creator": "Schorsch"
}
}
@@ -9,6 +9,6 @@
"a4": "0 == 0",
"right_answer":"a1",
"created_at": "2011-06-06",
- "created_by": "juliancheal"
+ "creator": "juliancheal"
}
}
@@ -9,6 +9,6 @@
"a4": "false and nil",
"right_answer": "a4",
"created_at": "2011-06-07",
- "created_by": "Paul"
+ "creator": "Paul"
}
}
@@ -9,6 +9,6 @@
"a4": "All the same",
"right_answer":"a2",
"created_at": "2011-06-20",
- "created_by": "eray"
+ "creator": "eray"
}
}
@@ -6,11 +6,10 @@
"a2": "(1..100).map {|i| (i%5).zero? ? \"Fizz\" : (i%3).zero? ? \"Buzz\" : i }",
"a3": "(1..100).map {|i| ['fizzbuzz', 'fizz', 'buzz', i][[i%15,i%3,i%5,0].index(0)] }",
"a4": "All of the above",
- "created_by": "Mike Poltyn",
+ "creator": "Mike Poltyn",
"created_at": "2011-06-15",
"sub_category": "ruby",
"category": "backend",
- "right_answer": "a3",
- "id": ""
+ "right_answer": "a3"
}
}
@@ -9,6 +9,6 @@
"a4": "display: inline",
"right_answer":"a2",
"created_at": "2011-06-07",
- "created_by": "Philipp"
+ "creator": "Philipp"
}
}
@@ -9,6 +9,6 @@
"a4": "13",
"right_answer":"a2",
"created_at": "2011-06-07",
- "created_by": "Jost"
+ "creator": "Jost"
}
}
View
@@ -9,6 +9,6 @@
"a4": "36 fps",
"right_answer":"a2",
"created_at": "2011-06-08",
- "created_by": "StephanP"
+ "creator": "StephanP"
}
}
Oops, something went wrong. Retry.

0 comments on commit 4794cc1

Please sign in to comment.