Category Archives: Uncategorized
Python :: Using Python Generators
Generator functions allow you to declare a function that behaves like an iterator. They allow programmers to make an iterator in a fast, easy, and clean way. Let’s take an example to explain this concept. Suppose you’ve been given to Continue reading Python :: Using Python Generators
CSS :: Overflow scroll gradient

Adds a fading gradient to an overflowing element to better indicate there is more content to be scrolled. HTML CSS Explanation position: relative on the parent establishes a Cartesian positioning context for pseudo-elements. ::after defines a pseudo element. background-image: linear-gradient(…) adds a linear Continue reading CSS :: Overflow scroll gradient
React :: DataList

Renders a list of elements from an array of primitives. Use the value of the isOrdered prop to conditionally render a <ol> or <ul> list. Use Array.prototype.map to render every item in data as a <li> element, give it a key produced from the concatenation of the its index and value. Omit the isOrdered prop to Continue reading React :: DataList
Python :: Using Python Collections

Python collections are container data types, namely lists, sets, tuples, dictionary. The collections module provides high-performance datatypes that can enhance your code, making things much cleaner and easier. There are a lot of functions provided by the collections module. For Continue reading Python :: Using Python Collections