pip install faker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wrapper { | |
width: 200px; | |
height: 100px; | |
overflow-y: scroll; | |
} | |
.item { | |
border: 1px solid lightblue; | |
background: lightsalmon; | |
height: 18px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {useEffect, useMemo, useRef, useState} from "react" | |
import './App.css' | |
const NUM_OF_ITEMS = 10 | |
function App() { | |
const [selected, setSelected] = useState(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable your internet connection and go to your URL. | |
Browser will shouw you a connection error, but you will be able to specify | |
"Always open this site in...". |
- https://www.amazon.com/Quantum-Mechanics-Theoretical-Leonard-Susskind/dp/0465062903/ref=sr_1_1?dchild=1&keywords=quantum+mechanics&pd_rd_r=62e2013c-4d6e-4f91-a6f9-1dfdaa516a92&pd_rd_w=LjC8J&pd_rd_wg=LRPsW&pf_rd_p=0ec05f25-9534-48fe-9c3e-40b89957230e&pf_rd_r=RW4ZJJ3TE22ZCQFGYQ98&qid=1604646809&sr=8-1
- https://www.amazon.com/Topics-Non-Commutative-Geometry-Porter-Lectures/dp/0691635781/ref=sr_1_1?dchild=1&keywords=topics+in+non-commutative+geometry&qid=1605608330&sr=8-1
- https://www.amazon.com/Linear-Algebra-Geometry-Logic-Applications-ebook/dp/B07CSSLYGJ
- https://www.amazon.com/Continuous-Geometry-Princeton-Landmarks-Mathematics-ebook/dp/B088D5DZJD/ref=sr_1_1?dchild=1&keywords=9780691058931&qid=1608798032&sr=8-1
- https://www.youtube.com/watch?v=SpeDnV6pXsQ&list=PLhsb6tmzSpiwLds3DD62o1MvI2MS2bby7
- https://ncatlab.org/nlab/show/infinity-category
- https://www.math3ma.com/blog/resources-for-intro-level-graduate-courses
- https://qchu.wordpress.com/reading-recommendations/
- https://mathoverflow.net
- https://en.wikipedia.org/wiki/Immediate_constituent_analysis
- https://en.wikipedia.org/wiki/Grammatical_relation
- https://en.wikipedia.org/wiki/Discontinuity_(linguistics)
- https://en.wikipedia.org/wiki/Topicalization
- https://en.wikipedia.org/wiki/Optimality_Theory
- https://en.wikipedia.org/wiki/Lexical_functional_grammar
- https://en.wikipedia.org/wiki/Dependency_grammar
- https://en.wikipedia.org/wiki/Phrase_structure_grammar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import av | |
def extract_first_frame(): | |
it = iter(av.open('../video.mp4').decode(video=0)) | |
video_frame = next(it).reformat(width=640, height=480, format='rgb24') # av.video.frame.VideoFrame instance | |
# From VideoFrame you can obtain PIL.Image, numpy array etc. | |
rgb24_image = video_frame.to_image() # PIL.Image instance | |
rgb24_image.show() # show image |
NewerOlder