Skip to content
Permalink
Browse files

fix(guide) Replace invalid prism code block names (#35961)

* fix: replace sh with shell

fix replace terminal with shell

fix replace node with js

fix replace output with shell

fix replace cs with csharp

fix replace c++ with cpp

fix replace c# with csharp

fix replace javasctipt with js

fix replace syntax  with js

fix replace unix with shell

fix replace linux with shell

fix replace java 8 with java

fix replace swift4 with swift

fix replace react.js with jsx

fix replace javascriot with js

fix replace javacsript with js

fix replace c++ -  with cpp

fix: corrected various typos

fix: replace Algorithm with nothing

fix: replace xaml with xml

fix: replace solidity with nothing

fix: replace c++ with cpp

fix: replace txt with shell

fix: replace code with json and css

fix: replace console with shell
  • Loading branch information...
RandellDawson authored and ojeytonwilliams committed May 15, 2019
1 parent 4b47627 commit 0a1eeea424e49c25c08a5b65ec66ac0ebec5e699
Showing with 655 additions and 653 deletions.
  1. +2 −2 guide/chinese/algorithms/flood-fill/index.md
  2. +1 −1 guide/chinese/algorithms/lee-algorithm/index.md
  3. +3 −3 guide/chinese/algorithms/search-algorithms/binary-search/index.md
  4. +1 −1 guide/chinese/algorithms/search-algorithms/linear-search/index.md
  5. +1 −1 guide/chinese/algorithms/sorting-algorithms/bubble-sort/index.md
  6. +1 −1 guide/chinese/algorithms/sorting-algorithms/heap-sort/index.md
  7. +1 −1 guide/chinese/algorithms/sorting-algorithms/insertion-sort/index.md
  8. +1 −1 guide/chinese/algorithms/sorting-algorithms/merge-sort/index.md
  9. +2 −1 guide/chinese/c/math/index.md
  10. +1 −1 ...ons/apis-and-microservices/basic-node-and-express/use-body-parser-to-parse-post-requests/index.md
  11. +1 −1 ...tions/front-end-libraries/react/change-inline-css-conditionally-based-on-component-state/index.md
  12. +2 −2 guide/chinese/certifications/front-end-libraries/react/create-a-controlled-form/index.md
  13. +1 −1 ...se/certifications/front-end-libraries/react/give-sibling-elements-a-unique-key-attribute/index.md
  14. +3 −3 guide/chinese/certifications/front-end-libraries/react/introducing-inline-styles/index.md
  15. +3 −3 guide/chinese/certifications/front-end-libraries/react/override-default-props/index.md
  16. +3 −3 guide/chinese/certifications/front-end-libraries/react/render-conditionally-from-props/index.md
  17. +1 −1 guide/chinese/certifications/front-end-libraries/react/render-state-in-the-user-interface/index.md
  18. +2 −2 guide/chinese/certifications/front-end-libraries/react/render-with-an-ifelse-condition/index.md
  19. +2 −2 ...tifications/front-end-libraries/react/use-a-ternary-expression-for-conditional-rendering/index.md
  20. +3 −3 ...se/certifications/front-end-libraries/react/use-proptypes-to-define-the-props-you-expect/index.md
  21. +2 −2 guide/chinese/certifications/front-end-libraries/redux/define-a-redux-action/index.md
  22. +2 −2 guide/chinese/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md
  23. +2 −2 guide/chinese/certifications/front-end-libraries/redux/get-state-from-the-redux-store/index.md
  24. +1 −1 ...-data-structures/regular-expressions/match-a-literal-string-with-different-possibilities/index.md
  25. +1 −1 ...algorithms-and-data-structures/regular-expressions/match-single-characters-not-specified/index.md
  26. +1 −1 guide/chinese/computer-science/data-structures/stacks/index.md
  27. +1 −1 guide/chinese/containers/docker/creating-a-new-container/index.md
  28. +3 −3 guide/chinese/cplusplus/arrays/index.md
  29. +1 −1 guide/chinese/cplusplus/for-loop/index.md
  30. +10 −10 guide/chinese/cplusplus/input-and-output/index.md
  31. +3 −3 guide/chinese/cplusplus/map/index.md
  32. +7 −7 guide/chinese/cplusplus/terms-to-know-for-beginners/index.md
  33. +1 −1 guide/chinese/cplusplus/while-loop/index.md
  34. +2 −2 guide/chinese/csharp/for/index.md
  35. +1 −1 guide/chinese/csharp/foreach/index.md
  36. +7 −7 guide/chinese/csharp/hello-world/index.md
  37. +8 −8 guide/chinese/csharp/null-coalescing-operator/index.md
  38. +1 −1 guide/chinese/csharp/xaml/index.md
  39. +1 −1 guide/chinese/css/breakpoints/index.md
  40. +2 −2 guide/chinese/go/installing-go/arch-linux/index.md
  41. +1 −1 guide/chinese/go/installing-go/mac-package-installer/index.md
  42. +1 −1 guide/chinese/go/installing-go/mac-tarball/index.md
  43. +2 −2 guide/chinese/go/installing-go/ubuntu-apt-get/index.md
  44. +2 −2 guide/chinese/go/installing-go/ubuntu-tarball/index.md
  45. +1 −1 guide/chinese/javascript/with/index.md
  46. +1 −1 guide/chinese/linux/basic-linux-commands/index.md
  47. +2 −2 guide/chinese/linux/getting-started/index.md
  48. +8 −8 guide/chinese/linux/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server/index.md
  49. +5 −5 guide/chinese/linux/setting-up-yum-repositories-in-redhat-linux/index.md
  50. +1 −1 guide/chinese/linux/the-anatomy-of-the-linux-command-line/index.md
  51. +1 −1 guide/chinese/nodejs/index.md
  52. +1 −1 guide/chinese/php/loops/for-loop/index.md
  53. +1 −1 guide/chinese/python/python-coding-standards/index.md
  54. +1 −1 guide/chinese/react/what-are-react-props/index.md
  55. +7 −7 guide/chinese/redux/tutorial/index.md
  56. +8 −9 guide/chinese/rust/installing-rust/index.md
  57. +1 −1 guide/chinese/software-engineering/design-patterns/singleton/index.md
  58. +2 −2 guide/english/algorithms/flood-fill/index.md
  59. +1 −1 guide/english/algorithms/lee-algorithm/index.md
  60. +2 −2 guide/english/algorithms/search-algorithms/binary-search/index.md
  61. +2 −2 guide/english/algorithms/search-algorithms/linear-search/index.md
  62. +1 −1 guide/english/algorithms/sorting-algorithms/insertion-sort/index.md
  63. +1 −1 guide/english/algorithms/string-matching-algorithms/boyermoore/index.md
  64. +4 −4 guide/english/apache/index.md
  65. +1 −1 guide/english/bulma/get-started/index.md
  66. +1 −1 guide/english/c/pointers/index.md
  67. +1 −1 ...ons/apis-and-microservices/managing-packages-with-npm/add-a-license-to-your-package.json/index.md
  68. +1 −1 ...ons/apis-and-microservices/managing-packages-with-npm/add-a-version-to-your-package.json/index.md
  69. +1 −1 ...oservices/managing-packages-with-npm/expand-your-project-with-external-packages-from-npm/index.md
  70. +1 −1 .../managing-packages-with-npm/manage-npm-dependencies-by-understanding-semantic-versioning/index.md
  71. +2 −2 ...pis-and-microservices/managing-packages-with-npm/remove-a-package-from-your-dependencies/index.md
  72. +4 −4 guide/english/certifications/coding-interview-prep/data-structures/create-a-circular-queue/index.md
  73. +1 −1 ...tions/front-end-libraries/react/change-inline-css-conditionally-based-on-component-state/index.md
  74. +2 −2 guide/english/certifications/front-end-libraries/react/create-a-controlled-form/index.md
  75. +1 −1 ...sh/certifications/front-end-libraries/react/give-sibling-elements-a-unique-key-attribute/index.md
  76. +3 −3 guide/english/certifications/front-end-libraries/react/introducing-inline-styles/index.md
  77. +3 −3 guide/english/certifications/front-end-libraries/react/override-default-props/index.md
  78. +3 −3 guide/english/certifications/front-end-libraries/react/render-conditionally-from-props/index.md
  79. +1 −1 guide/english/certifications/front-end-libraries/react/render-state-in-the-user-interface/index.md
  80. +2 −2 guide/english/certifications/front-end-libraries/react/render-with-an-ifelse-condition/index.md
  81. +2 −2 ...tifications/front-end-libraries/react/use-a-ternary-expression-for-conditional-rendering/index.md
  82. +3 −3 ...sh/certifications/front-end-libraries/react/use-proptypes-to-define-the-props-you-expect/index.md
  83. +1 −1 guide/english/certifications/front-end-libraries/redux/define-a-redux-action/index.md
  84. +1 −1 guide/english/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md
  85. +1 −1 guide/english/certifications/front-end-libraries/redux/get-state-from-the-redux-store/index.md
  86. +1 −1 ...-data-structures/regular-expressions/match-a-literal-string-with-different-possibilities/index.md
  87. +2 −1 ...ascript-algorithms-and-data-structures/regular-expressions/match-all-letters-and-numbers/index.md
  88. +1 −1 ...algorithms-and-data-structures/regular-expressions/match-single-characters-not-specified/index.md
  89. +2 −2 guide/english/computer-science/data-structures/trees/index.md
  90. +1 −1 guide/english/computer-science/error-handling/index.md
  91. +1 −1 guide/english/containers/docker/creating-a-new-container/index.md
  92. +12 −12 guide/english/cplusplus/for-loop/index.md
  93. +1 −1 guide/english/cplusplus/lists/index.md
  94. +8 −8 guide/english/cplusplus/loops/index.md
  95. +2 −1 guide/english/cplusplus/queue/index.md
  96. +1 −1 guide/english/cplusplus/switch-statements/index.md
  97. +3 −3 guide/english/cplusplus/while-loop/index.md
  98. +1 −1 guide/english/csharp/class/index.md
  99. +1 −1 guide/english/csharp/foreach/index.md
  100. +1 −1 guide/english/csharp/hello-world/index.md
  101. +8 −8 guide/english/csharp/null-coalescing-operator/index.md
  102. +1 −1 guide/english/csharp/unit-testing/index.md
  103. +1 −1 guide/english/csharp/xaml/index.md
  104. +1 −1 guide/english/css/breakpoints/index.md
  105. +2 −2 guide/english/data-science-tools/pandas/index.md
  106. +2 −2 guide/english/go/installing-go/arch-linux/index.md
  107. +1 −1 guide/english/go/installing-go/mac-package-installer/index.md
  108. +1 −1 guide/english/go/installing-go/mac-tarball/index.md
  109. +2 −2 guide/english/go/installing-go/ubuntu-apt-get/index.md
  110. +2 −2 guide/english/go/installing-go/ubuntu-tarball/index.md
  111. +1 −1 guide/english/graphql/index.md
  112. +1 −1 guide/english/javascript/semicolons/index.md
  113. +1 −1 guide/english/javascript/with/index.md
  114. +4 −4 guide/english/laravel/index.md
  115. +3 −3 guide/english/linux/getting-started/index.md
  116. +5 −5 guide/english/linux/setting-up-yum-repositories-in-redhat-linux/index.md
  117. +1 −1 guide/english/linux/the-anatomy-of-the-linux-command-line/index.md
  118. +6 −6 guide/english/miscellaneous/the-c-programming-language/index.md
  119. +4 −4 guide/english/nginx/index.md
  120. +1 −1 guide/english/nodejs/express/index.md
  121. +1 −1 guide/english/nodejs/index.md
  122. +2 −1 guide/english/php/basic-syntax/index.md
  123. +1 −1 guide/english/php/loops/for-loop/index.md
  124. +2 −2 guide/english/python/python-2-vs-python-3/index.md
  125. +1 −1 guide/english/react/what-are-react-props/index.md
  126. +2 −2 guide/english/rest-api/index.md
  127. +3 −3 guide/english/rust/installing-rust/index.md
  128. +14 −14 guide/english/sql/sql-interview-questions/index.md
  129. +1 −1 guide/english/sql/sql-select-statement/index.md
  130. +2 −2 guide/english/wordpress/index.md
  131. +2 −2 guide/portuguese/algorithms/flood-fill/index.md
  132. +2 −2 guide/portuguese/algorithms/graph-algorithms/depth-first-search/index.md
  133. +1 −1 guide/portuguese/algorithms/lee-algorithm/index.md
  134. +3 −3 guide/portuguese/algorithms/search-algorithms/binary-search/index.md
  135. +1 −1 guide/portuguese/algorithms/search-algorithms/linear-search/index.md
  136. +1 −1 guide/portuguese/algorithms/sorting-algorithms/bubble-sort/index.md
  137. +1 −1 guide/portuguese/algorithms/sorting-algorithms/heap-sort/index.md
  138. +1 −1 guide/portuguese/algorithms/sorting-algorithms/insertion-sort/index.md
  139. +1 −1 guide/portuguese/algorithms/sorting-algorithms/merge-sort/index.md
  140. +1 −1 ...ons/apis-and-microservices/basic-node-and-express/use-body-parser-to-parse-post-requests/index.md
  141. +1 −1 ...tions/front-end-libraries/react/change-inline-css-conditionally-based-on-component-state/index.md
  142. +2 −2 guide/portuguese/certifications/front-end-libraries/react/create-a-controlled-form/index.md
  143. +1 −1 ...se/certifications/front-end-libraries/react/give-sibling-elements-a-unique-key-attribute/index.md
  144. +3 −3 guide/portuguese/certifications/front-end-libraries/react/introducing-inline-styles/index.md
  145. +3 −3 guide/portuguese/certifications/front-end-libraries/react/override-default-props/index.md
  146. +3 −3 guide/portuguese/certifications/front-end-libraries/react/render-conditionally-from-props/index.md
  147. +1 −1 ...e/portuguese/certifications/front-end-libraries/react/render-state-in-the-user-interface/index.md
  148. +2 −2 guide/portuguese/certifications/front-end-libraries/react/render-with-an-ifelse-condition/index.md
  149. +2 −2 ...tifications/front-end-libraries/react/use-a-ternary-expression-for-conditional-rendering/index.md
  150. +3 −3 ...se/certifications/front-end-libraries/react/use-proptypes-to-define-the-props-you-expect/index.md
  151. +1 −1 guide/portuguese/certifications/front-end-libraries/redux/define-a-redux-action/index.md
  152. +1 −1 guide/portuguese/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md
  153. +1 −1 guide/portuguese/certifications/front-end-libraries/redux/get-state-from-the-redux-store/index.md
  154. +1 −1 ...-data-structures/regular-expressions/match-a-literal-string-with-different-possibilities/index.md
  155. +1 −1 ...algorithms-and-data-structures/regular-expressions/match-single-characters-not-specified/index.md
  156. +1 −1 guide/portuguese/containers/docker/creating-a-new-container/index.md
  157. +3 −3 guide/portuguese/cplusplus/arrays/index.md
  158. +10 −10 guide/portuguese/cplusplus/input-and-output/index.md
  159. +3 −3 guide/portuguese/cplusplus/map/index.md
  160. +7 −7 guide/portuguese/cplusplus/terms-to-know-for-beginners/index.md
  161. +1 −1 guide/portuguese/cplusplus/while-loop/index.md
  162. +2 −2 guide/portuguese/csharp/for/index.md
  163. +8 −8 guide/portuguese/csharp/null-coalescing-operator/index.md
  164. +1 −1 guide/portuguese/csharp/xaml/index.md
  165. +1 −1 guide/portuguese/css/breakpoints/index.md
  166. +2 −2 guide/portuguese/go/installing-go/arch-linux/index.md
  167. +1 −1 guide/portuguese/go/installing-go/mac-package-installer/index.md
  168. +1 −1 guide/portuguese/go/installing-go/mac-tarball/index.md
  169. +2 −2 guide/portuguese/go/installing-go/ubuntu-apt-get/index.md
  170. +2 −2 guide/portuguese/go/installing-go/ubuntu-tarball/index.md
  171. +1 −1 guide/portuguese/javascript/with/index.md
  172. +2 −2 guide/portuguese/linux/getting-started/index.md
  173. +8 −8 guide/portuguese/linux/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server/index.md
  174. +5 −5 guide/portuguese/linux/setting-up-yum-repositories-in-redhat-linux/index.md
  175. +1 −1 guide/portuguese/linux/the-anatomy-of-the-linux-command-line/index.md
  176. +1 −1 guide/portuguese/nodejs/index.md
  177. +1 −1 guide/portuguese/php/loops/for-loop/index.md
  178. +1 −1 guide/portuguese/python/python-coding-standards/index.md
  179. +1 −1 guide/portuguese/react/what-are-react-props/index.md
  180. +7 −7 guide/portuguese/redux/tutorial/index.md
  181. +8 −9 guide/portuguese/rust/installing-rust/index.md
  182. +1 −1 guide/portuguese/software-engineering/design-patterns/singleton/index.md
  183. +2 −2 guide/russian/algorithms/flood-fill/index.md
  184. +1 −1 guide/russian/algorithms/lee-algorithm/index.md
  185. +3 −3 guide/russian/algorithms/search-algorithms/binary-search/index.md
  186. +1 −1 guide/russian/algorithms/search-algorithms/linear-search/index.md
  187. +1 −1 guide/russian/algorithms/sorting-algorithms/bubble-sort/index.md
  188. +1 −1 guide/russian/algorithms/sorting-algorithms/heap-sort/index.md
  189. +1 −1 guide/russian/algorithms/sorting-algorithms/insertion-sort/index.md
  190. +1 −1 guide/russian/algorithms/sorting-algorithms/merge-sort/index.md
  191. +2 −1 guide/russian/c/math/index.md
  192. +1 −1 ...ons/apis-and-microservices/basic-node-and-express/use-body-parser-to-parse-post-requests/index.md
  193. +1 −1 ...tions/front-end-libraries/react/change-inline-css-conditionally-based-on-component-state/index.md
  194. +2 −2 guide/russian/certifications/front-end-libraries/react/create-a-controlled-form/index.md
  195. +1 −1 ...an/certifications/front-end-libraries/react/give-sibling-elements-a-unique-key-attribute/index.md
  196. +3 −3 guide/russian/certifications/front-end-libraries/react/introducing-inline-styles/index.md
  197. +3 −3 guide/russian/certifications/front-end-libraries/react/override-default-props/index.md
  198. +3 −3 guide/russian/certifications/front-end-libraries/react/render-conditionally-from-props/index.md
  199. +1 −1 guide/russian/certifications/front-end-libraries/react/render-state-in-the-user-interface/index.md
  200. +2 −2 guide/russian/certifications/front-end-libraries/react/render-with-an-ifelse-condition/index.md
  201. +2 −2 ...tifications/front-end-libraries/react/use-a-ternary-expression-for-conditional-rendering/index.md
  202. +3 −3 ...an/certifications/front-end-libraries/react/use-proptypes-to-define-the-props-you-expect/index.md
  203. +1 −1 guide/russian/certifications/front-end-libraries/redux/define-a-redux-action/index.md
  204. +1 −1 guide/russian/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md
  205. +1 −1 guide/russian/certifications/front-end-libraries/redux/get-state-from-the-redux-store/index.md
  206. +1 −1 ...-data-structures/regular-expressions/match-a-literal-string-with-different-possibilities/index.md
  207. +1 −1 ...algorithms-and-data-structures/regular-expressions/match-single-characters-not-specified/index.md
  208. +1 −1 guide/russian/computer-science/data-structures/stacks/index.md
  209. +1 −1 guide/russian/containers/docker/creating-a-new-container/index.md
  210. +1 −1 guide/russian/cplusplus/for-loop/index.md
  211. +10 −10 guide/russian/cplusplus/input-and-output/index.md
  212. +3 −3 guide/russian/cplusplus/map/index.md
  213. +7 −7 guide/russian/cplusplus/terms-to-know-for-beginners/index.md
  214. +1 −1 guide/russian/cplusplus/while-loop/index.md
  215. +2 −2 guide/russian/csharp/for/index.md
  216. +1 −1 guide/russian/csharp/foreach/index.md
  217. +7 −7 guide/russian/csharp/hello-world/index.md
  218. +8 −8 guide/russian/csharp/null-coalescing-operator/index.md
  219. +1 −1 guide/russian/csharp/xaml/index.md
  220. +1 −1 guide/russian/css/breakpoints/index.md
  221. +2 −2 guide/russian/go/installing-go/arch-linux/index.md
  222. +1 −1 guide/russian/go/installing-go/mac-package-installer/index.md
  223. +1 −1 guide/russian/go/installing-go/mac-tarball/index.md
  224. +2 −2 guide/russian/go/installing-go/ubuntu-apt-get/index.md
  225. +2 −2 guide/russian/go/installing-go/ubuntu-tarball/index.md
  226. +1 −1 guide/russian/javascript/with/index.md
  227. +2 −2 guide/russian/linux/getting-started/index.md
  228. +8 −8 guide/russian/linux/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server/index.md
  229. +5 −5 guide/russian/linux/setting-up-yum-repositories-in-redhat-linux/index.md
  230. +1 −1 guide/russian/linux/the-anatomy-of-the-linux-command-line/index.md
  231. +1 −1 guide/russian/nodejs/index.md
  232. +1 −1 guide/russian/php/loops/for-loop/index.md
  233. +1 −1 guide/russian/python/python-coding-standards/index.md
  234. +1 −1 guide/russian/react/what-are-react-props/index.md
  235. +7 −7 guide/russian/redux/tutorial/index.md
  236. +8 −9 guide/russian/rust/installing-rust/index.md
  237. +1 −1 guide/russian/software-engineering/design-patterns/singleton/index.md
  238. +2 −2 guide/spanish/algorithms/flood-fill/index.md
  239. +1 −1 guide/spanish/algorithms/lee-algorithm/index.md
  240. +1 −1 guide/spanish/algorithms/search-algorithms/linear-search/index.md
  241. +1 −1 guide/spanish/algorithms/sorting-algorithms/bubble-sort/index.md
  242. +1 −1 guide/spanish/algorithms/sorting-algorithms/heap-sort/index.md
  243. +1 −1 guide/spanish/algorithms/sorting-algorithms/insertion-sort/index.md
  244. +1 −1 guide/spanish/algorithms/sorting-algorithms/merge-sort/index.md
  245. +1 −1 ...ons/apis-and-microservices/basic-node-and-express/use-body-parser-to-parse-post-requests/index.md
  246. +1 −1 ...tions/front-end-libraries/react/change-inline-css-conditionally-based-on-component-state/index.md
  247. +2 −2 guide/spanish/certifications/front-end-libraries/react/create-a-controlled-form/index.md
  248. +1 −1 ...sh/certifications/front-end-libraries/react/give-sibling-elements-a-unique-key-attribute/index.md
  249. +3 −3 guide/spanish/certifications/front-end-libraries/react/introducing-inline-styles/index.md
  250. +3 −3 guide/spanish/certifications/front-end-libraries/react/override-default-props/index.md
  251. +3 −3 guide/spanish/certifications/front-end-libraries/react/render-conditionally-from-props/index.md
  252. +1 −1 guide/spanish/certifications/front-end-libraries/react/render-state-in-the-user-interface/index.md
  253. +2 −2 guide/spanish/certifications/front-end-libraries/react/render-with-an-ifelse-condition/index.md
  254. +2 −2 ...tifications/front-end-libraries/react/use-a-ternary-expression-for-conditional-rendering/index.md
  255. +3 −3 ...sh/certifications/front-end-libraries/react/use-proptypes-to-define-the-props-you-expect/index.md
  256. +1 −1 guide/spanish/certifications/front-end-libraries/redux/define-a-redux-action/index.md
  257. +1 −1 guide/spanish/certifications/front-end-libraries/redux/dispatch-an-action-event/index.md
  258. +1 −1 guide/spanish/certifications/front-end-libraries/redux/get-state-from-the-redux-store/index.md
  259. +1 −1 ...-data-structures/regular-expressions/match-a-literal-string-with-different-possibilities/index.md
  260. +1 −1 ...algorithms-and-data-structures/regular-expressions/match-single-characters-not-specified/index.md
  261. +1 −1 guide/spanish/computer-science/data-structures/stacks/index.md
  262. +1 −1 guide/spanish/containers/docker/creating-a-new-container/index.md
  263. +10 −10 guide/spanish/cplusplus/input-and-output/index.md
  264. +3 −3 guide/spanish/cplusplus/map/index.md
  265. +7 −7 guide/spanish/cplusplus/terms-to-know-for-beginners/index.md
  266. +1 −1 guide/spanish/cplusplus/while-loop/index.md
  267. +2 −2 guide/spanish/csharp/for/index.md
  268. +8 −8 guide/spanish/csharp/null-coalescing-operator/index.md
  269. +1 −1 guide/spanish/csharp/xaml/index.md
  270. +1 −1 guide/spanish/css/breakpoints/index.md
  271. +2 −2 guide/spanish/go/installing-go/arch-linux/index.md
  272. +1 −1 guide/spanish/go/installing-go/mac-package-installer/index.md
  273. +1 −1 guide/spanish/go/installing-go/mac-tarball/index.md
  274. +2 −2 guide/spanish/go/installing-go/ubuntu-apt-get/index.md
  275. +2 −2 guide/spanish/go/installing-go/ubuntu-tarball/index.md
  276. +2 −2 guide/spanish/linux/getting-started/index.md
  277. +8 −8 guide/spanish/linux/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server/index.md
  278. +5 −5 guide/spanish/linux/setting-up-yum-repositories-in-redhat-linux/index.md
  279. +1 −1 guide/spanish/php/loops/for-loop/index.md
  280. +1 −1 guide/spanish/python/python-coding-standards/index.md
  281. +1 −1 guide/spanish/react/what-are-react-props/index.md
  282. +7 −7 guide/spanish/redux/tutorial/index.md
  283. +1 −1 guide/spanish/software-engineering/design-patterns/singleton/index.md
@@ -27,7 +27,7 @@ localeTitle: 洪水填充算法

有关更多详细信息,请参阅此处描述该函数的代码:

```c++
```cpp
int wall = -1;
void flood_fill(int pos_x, int pos_y, int target_color, int color)
@@ -80,7 +80,7 @@ int wall = -1;

您有以下输入:

```c++
```cpp
2 4 4
0 0 0 1
0 0 1 1
@@ -21,7 +21,7 @@ C ++已经在`<queue>`库中实现了`<queue>` ,但如果您正在使用其他

C ++代码:

```c++
```cpp
int dl[] = {-1, 0, 1, 0}; // these arrays will help you travel in the 4 directions more easily
int dc[] = {0, 1, 0, -1};
@@ -174,7 +174,7 @@ int binarySearch(int a[], int l, int r, int x) {

### C / C ++实现

```C++
```cpp
int binary_search(int arr[], int l, int r, int target)
{
if (r >= l)
@@ -208,7 +208,7 @@ def binary_search(arr, l, r, target):

### C ++中的示例

```c++
```cpp
// Binary Search using iteration
int binary_search(int arr[], int beg, int end, int num)
{
@@ -225,7 +225,7 @@ def binary_search(arr, l, r, target):
}
```

```c++
```cpp
// Binary Search using recursion
int binary_search(int arr[], int beg, int end, int num)
{
@@ -75,7 +75,7 @@ def linear_search(target, array)

### C ++中的示例

```c++
```cpp
int linear_search(int arr[],int n,int num)
{
for(int i=0;i<n;i++){
@@ -123,7 +123,7 @@ public class bubble-sort {

### 冒泡排序的递归实现。

```c++
```cpp
void bubblesort(int arr[], int n)
{
if(n==1) //Initial Case
@@ -67,7 +67,7 @@ import java.util.Arrays;

在C ++中实现

```C++
```cpp
#include <iostream>
using namespace std;
void heapify(int arr[], int n, int i)
@@ -92,7 +92,7 @@ localeTitle: 插入排序

以下算法是略微优化的版本,以避免在每次迭代中交换`key`元素。这里, `key`元素将在迭代结束时交换(步骤)。

```Algorithm
```
InsertionSort(arr[])
for j = 1 to arr.length
key = arr[j]
@@ -23,7 +23,7 @@ T(n) = 2T(n/2) + n

计算结尾总和中n的重复次数,我们看到它们有lg n + 1。因此运行时间是n(lg n + 1)= n lg n + n。我们观察到,对于n> 0,n lg n + n <n lg n + n lg n = 2n lg n,因此运行时间为O(n lg n)。

```Algorithm
```
MergeSort(arr[], left, right):
If right > l:
1. Find the middle point to divide the array into two halves:
@@ -132,7 +132,8 @@ double result = 23.0 / 2;

C提供了一个数学库( `math.h` ),它提供了许多有用的数学函数。例如,数字的幂可以计算为:

```#include<math.h>
```c
#include<math.h>
int result = pow(2,3) // will result in 2*2*2 or 8
```

@@ -6,7 +6,7 @@ localeTitle: 使用body-parser来解析POST请求

如果您使用提供的样板,则应该已经将身体解析器添加到您的项目中,但如果不是,它应该在那里:

```code
```json
"dependencies": {
"body-parser": "^1.4.3",
...
@@ -58,7 +58,7 @@ class GateKeeper extends React.Component {

编写根据您的状态计算的条件语句,如质询描述中所述,检查输入的长度并将新对象分配给inputStyle变量。

```react.js
```jsx
if (this.state.input.length > 15) {
inputStyle = {
border: '3px solid red'
@@ -10,13 +10,13 @@ localeTitle: 创建受控表格

###

```react.js
```jsx
<input value={this.state.input} onChange={this.handleChange}/>
```

接下来,为组件创建handleSubmit方法。首先,因为您的表单正在提交,您必须阻止页面刷新。其次,调用`setState()`方法,传入要更改的不同键值对的对象。在这种情况下,您希望将“submit”设置为变量“input”的值,并将“input”设置为空字符串。

```react.js
```jsx
handleSubmit(event) {
event.preventDefault();
this.setState({
@@ -12,7 +12,7 @@ localeTitle: 为兄弟元素提供唯一的键属性

只需将`key`属性添加到`<li>`标记即可使其唯一

```react.js
```jsx
const renderFrameworks = frontEndFrameworks.map((item) =>
<li key={item+1}>{item}</li>
);
@@ -10,7 +10,7 @@ localeTitle: 介绍内联样式

让我们逐步了解这些步骤,以便您了解其中的差异。 首先将样式标记设置为**JavaScript对象**

```react.js
```jsx
class Colorful extends React.Component {
render() {
return (
@@ -26,7 +26,7 @@ class Colorful extends React.Component {

其次,让我们将颜色设置为红色。

```react.js
```jsx
class Colorful extends React.Component {
render() {
return (
@@ -42,7 +42,7 @@ class Colorful extends React.Component {

### 扰流板

```react.js
```jsx
class Colorful extends React.Component {
render() {
return (
@@ -6,7 +6,7 @@ localeTitle: 覆盖默认道具

此挑战使您可以覆盖Items组件的props `quantity`的默认值。其中, `quantity`默认值设置为`0`

```react.js
```jsx
const Items = (props) => {
return <h1>Current Quantity of Items in Cart: {props.quantity}</h1>
}
@@ -18,13 +18,13 @@ const Items = (props) => {

要覆盖默认的props值,要遵循的语法是

```react.js
```jsx
<Component propsName={Value}/>
```

在语法之后,应在给定代码下面声明以下代码

```react.js
```jsx
<Items quantity={50}/>
```

@@ -10,7 +10,7 @@ localeTitle: 从道具有条理地渲染

使用适当的增量声明更改`handleClick()`

```react.js
```jsx
handleClick() {
this.setState({
counter: this.state.counter + 1
@@ -20,15 +20,15 @@ handleClick() {

`render()`方法中,使用质询描述中提到的`Math.random()`并编写三元表达式以在**Results**组件中传递`props`

```react.js
```jsx
let expression = Math.random() > .5;
{(expression == 1)? <Results fiftyFifty="You win!"/> : <Results fiftyFifty="You lose!"/> }
```

然后在Results组件中渲染`fiftyFifty`道具。

```react.js
```jsx
<h1>
{
this.props.fiftyFifty
@@ -12,7 +12,7 @@ localeTitle: 在用户界面中渲染状态

##

```react.js
```jsx
class MyComponent extends React.Component {
constructor(props) {
super(props);
@@ -12,7 +12,7 @@ localeTitle: 使用If / Else条件渲染

###

```react.js
```jsx
if (this.state.display === true) {
return (
<div>
@@ -25,7 +25,7 @@ if (this.state.display === true) {

接下来,创建一个else语句,返回**不带** `h1`元素的相同JSX。

```react.js
```jsx
else {
return (
<div>
@@ -17,7 +17,7 @@ condition ? expressionIfTrue : expressionIfFalse

这是使用三元表达的示例解决方案。 首先,您需要在构造函数中声明状态,如下所示

```react.js
```jsx
constructor(props) {
super(props);
// change code below this line
@@ -33,7 +33,7 @@ constructor(props) {

然后是三元运算符

```react.js
```jsx
{
/* change code here */
(this.state.userAge >= 18) ? buttonTwo : (this.state.userAge== '')? buttonOne: buttonThree
@@ -6,23 +6,23 @@ localeTitle: 使用PropTypes定义您期望的道具

您可以通过此挑战为`Items`组件设置`propTypes`

```react.js
```jsx
const Items = (props) => {
return <h1>Current Quantity of Items in Cart: {props.quantity}</h1>
};
```

要设置propTypes,要遵循的语法是

```react.js
```jsx
itemName.propTypes = {
props: PropTypes.dataType.isRequired
};
```

在语法之后,应该在`Items`组件的`quantity`道具的给定代码下面设置以下代码

```react.js
```jsx
Items.propTypes = {
quantity: PropTypes.number.isRequired
};
@@ -6,9 +6,9 @@ localeTitle: 定义Redux动作

以下是如何声明Redux Action。

```react.js
```js
let action={
type: 'LOGIN'
}
```
```
@@ -6,7 +6,7 @@ localeTitle: 派遣行动事件

通过调用dispatch方法将LOGIN操作发送到Redux存储,并传入`loginAction()`创建的操作。

```react.js
```js
store.dispatch(loginAction());
```
```
@@ -6,7 +6,7 @@ localeTitle: 从Redux商店获取状态

使用`getState()`方法从存储中检索数据。

```react.js
```js
let currentState = store.getState();
```
```
@@ -14,7 +14,7 @@ localeTitle: 匹配具有不同可能性的文字字符串

## 解:

```javascriot
```js
let petString = "James has a pet cat.";
let petRegex = /dog|cat|bird|fish/;
let result = petRegex.test(petString);
@@ -24,7 +24,7 @@ let exampleRegExp = /[^az]/;

一定要检查你的号码范围是否正确 - 挑战要求我们否定0-99之间的所有数字。这可以使用在正则表达式的第一个开始括号后立即放置的否定插入符来完成。

```javacsript
```js
let numbersRegExp = /[^0-99]/ig;
```

@@ -17,7 +17,7 @@ localeTitle: 堆栈

使用数组或链表可以实现堆栈。以下是具有最常见操作的堆栈数据结构的简单数组实现。

```C++
```cpp
//Stack implementation using array in C++
//You can also include<stack> and then use the C++ STL Library stack class.
@@ -12,7 +12,7 @@ docker create [OPTIONS] IMAGE [COMMAND] [ARG...]

创建并启动容器

```sh
```shell
$ docker create -t -i fedora bash
```
@@ -8,13 +8,13 @@ localeTitle: C ++数组

例如,包含5个称为数字的整数值的数组声明如下:

```C++
```cpp
int numbers [5];
```

Initializiation:

```C++
```cpp
//Initialization with entries:
int numbers [5] = {1, 2, 3, 4, 5};
@@ -34,7 +34,7 @@ Initializiation:
可以通过引用它们在数组中的位置来访问数组中的元素。 (从0开始计数)。
例:

```C++
```cpp
x = numbers[0]; // = 1. [0] == first position
numbers[2] = 55; // Sets the third position (3) to the new number 55
//numbers[] is now: {1, 2, 55, 4, 5}
Oops, something went wrong.

0 comments on commit 0a1eeea

Please sign in to comment.
You can’t perform that action at this time.