Advertisement
amt

Resources

amt
Nov 25th, 2017 (edited)
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. Team 1
  2. https://docs.google.com/document/d/1O2bXdkAa5-qK7SwqeR6_dTU0ZQhpf7quPuCKbgnA-mM/edit?usp=sharing
  3.  
  4. Team 2
  5. https://docs.google.com/document/d/1xkYOqqQ9xbX6drb1gcfC28OpVQVwbKpf7QnO-s4cfJ4/edit?usp=sharing
  6.  
  7. Guess Movie
  8. https://www.youtube.com/watch?v=ptVHGF2q3HQ
  9. https://www.youtube.com/watch?v=hYmEa28o_TE
  10.  
  11. Guess The Animal
  12. https://www.youtube.com/watch?v=MZDyytD8__g
  13.  
  14. Guess restaurant
  15. https://www.youtube.com/watch?v=aKrSBz3ez5A
  16.  
  17. Guess Drink
  18. https://www.youtube.com/watch?v=N3M405GvbZI
  19.  
  20. https://baffinlee.com/leetcode-javascript/
  21. https://github.com/everthis/leetcode-js
  22. https://github.com/hijiangtao/LeetCode-with-JavaScript
  23. https://pastebin.com/LaoIb1aPN48HxRbuz-5tvcbprRRcnuFVJQLRYVZ
  24. ----------------
  25. https://devfreebooks.github.io/react/
  26. ----------------
  27. https://survivejs.com/react/introduction/
  28. ----------------
  29. https://roadtoreact.com/
  30. https://github.com/the-road-to-learn-react/the-road-to-learn-react
  31. 1mxiWAgvi_-5Tfs6STdo6muPRBUUREYVg
  32. ----------------
  33.  
  34.  
  35. import React from "react";
  36.  
  37. export default function Todo(props) {
  38. const [isEditing, setEditing] = React.useState(false);
  39. const [newName, setNewName] = React.useState("");
  40. const editFieldRef = useRef(null);
  41. const editButtonRef = useRef(null);
  42.  
  43. useEffect(() => {
  44. if (isEditing) {
  45. editFieldRef.current.focus();
  46. } else {
  47. editButtonRef.current.focus();
  48. }
  49. }, [isEditing]);
  50.  
  51. function handleChange(e) {
  52. setNewName(e.target.value);
  53. }
  54.  
  55. function handleSubmit(e) {
  56. e.preventDefault();
  57. props.editTask(props.id, newName);
  58. setNewName("");
  59. setEditing(false);
  60. }
  61.  
  62. const editingTemplate = (
  63. <form className="stack-small" onSubmit={handleSubmit}>
  64. <div className="form-group">
  65. <label className="todo-label" htmlFor={props.id}>
  66. New name for {props.name}
  67. </label>
  68. <input
  69. id={props.id}
  70. className="todo-text"
  71. type="text"
  72. value={newName}
  73. onChange={handleChange}
  74. ref={editFieldRef}
  75. />{" "}
  76. </div>
  77. <div className="btn-group">
  78. <button
  79. type="button"
  80. className="btn todo-cancel"
  81. onClick={() => setEditing(false)}
  82. >
  83. Cancel
  84. <span className="visually-hidden">renaming {props.name}</span>
  85. </button>
  86. <button type="submit" className="btn btn__primary todo-edit">
  87. Save
  88. <span className="visually-hidden">new name for {props.name}</span>
  89. </button>
  90. </div>
  91. </form>
  92. );
  93. const viewTemplate = (
  94. <div className="stack-small">
  95. <div className="c-cb">
  96. <input
  97. id={props.id}
  98. type="checkbox"
  99. defaultChecked={props.completed}
  100. onChange={() => props.toggleTaskCompleted(props.id)}
  101. />
  102. <label className="todo-label" htmlFor={props.id}>
  103. {props.name}
  104. </label>
  105. </div>
  106. <div className="btn-group">
  107. <button
  108. type="button"
  109. className="btn"
  110. onClick={() => setEditing(true)}
  111. ref={editButtonRef}
  112. >
  113. Edit <span className="visually-hidden">{props.name}</span>
  114. </button>
  115. <button
  116. type="button"
  117. className="btn btn__danger"
  118. onClick={() => props.deleteTask(props.id)}
  119. >
  120. Delete <span className="visually-hidden">{props.name}</span>
  121. </button>
  122. </div>
  123. </div>
  124. );
  125.  
  126. return <li className="todo">{isEditing ? editingTemplate : viewTemplate}</li>;
  127. }
  128.  
  129.  
  130. ==============
  131.  
  132. The death of Google and search is near.
  133.  
  134. OpenAI just released ChatGPT Plugins to everyone.
  135.  
  136. 10 ChatGPT Plugins to transform your productivity:
  137.  
  138. 1. AskYourPDF
  139.  
  140. Share a link to a PDF of your choice and ask ChatGPT any questions about that PDF.
  141.  
  142. It can do everything from summarizing the PDF to answering specific questions about dates, numbers, and facts.
  143. ________
  144.  
  145. 2. Wolfram Alpha
  146.  
  147. Make ChatGPT smarter by giving it access to powerful computation, accurate math, curated knowledge, real-time data and visualization.
  148. ________
  149.  
  150. 3. Ambition
  151.  
  152. Stop spending hours searching for jobs online.
  153.  
  154. Tell the Ambition plugin what kind of roles you're looking for, and it will sort through millions of job openings online and share the best ones with you instantly.
  155. ________
  156.  
  157. 4. Zapier
  158.  
  159. Save hours every week by delegating and automating tasks right within ChatGPT.
  160.  
  161. Do everything from email automation to updating databases with a few short lines of instruction.
  162. ________
  163.  
  164. 5. Prompt Perfect
  165.  
  166. Want to get something from ChatGPT but not sure what prompt to use?
  167.  
  168. The Prompt Perfect plugin crafts the perfect prompt to help you get the answer you're looking for.
  169. ________
  170.  
  171. 6. Link Reader
  172.  
  173. This plugin reads the content from all sorts of links - like websites, news articles, Word documents - and answers any questions you have about the content from that link.
  174. ________
  175.  
  176. 7. edX
  177.  
  178. Level up your knowledge by getting content and courses from top universities like Harvard and MIT instantly in ChatGPT.
  179. ________
  180.  
  181. 8. Video Insights
  182.  
  183. Share a link to online videos from websites like YouTube and get insights summarized and delivered in seconds.
  184. ________
  185.  
  186. 9. ScholarAI
  187.  
  188. Unlock powerful scientific knowledge with fast, reliable, and peer-reviewed data at your fingertips.
  189. ________
  190.  
  191. 10. Tutory
  192.  
  193. Access affordable, on-demand tutoring and education right at your fingertips.
  194.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement