A collection of links to the "Master the JavaScript Interview" series of medium stories by Eric Elliott.
This file contains hidden or 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
| #!/bin/bash | |
| for D in `find . -type d` | |
| do | |
| # cd $D | |
| echo "Entered directory $D" | |
| cd $D | |
| # Define the image types to search for | |
| image_types=("*.jpeg" "*.jpg" "*.tiff" "*.tif" "*.png" "*.webp") |
This file contains hidden or 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 { type ChangeEventHandler, useState } from 'react' | |
| import { useDebouncedCallback } from './useDebouncedCallback' | |
| type SearchInputProps = { | |
| onChange: (query: string) => void | |
| } | |
| const SearchInput = ({ onChange }: SearchInputProps) => { | |
| const [searchTerm, setSearchTerm] = useState<string>('') |
This file contains hidden or 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
| # cd /path/to/images/directory | |
| # check https://developers.google.com/speed/webp/docs/cwebp for cwebp options | |
| `for file in *; do cwebp -lossless 50 "$file" -o "${file%.*}.webp"; done` |
This file contains hidden or 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
| function cssToSvgGradient(cssGradientValue) { | |
| // Parse the CSS gradient value. | |
| const gradientMatch = cssGradientValue.match(/(?:linear-gradient|radial-gradient|conic-gradient)\((.*?)\)/); | |
| if (!gradientMatch) { | |
| throw new Error('Invalid CSS gradient value: ' + cssGradientValue); | |
| } | |
| const gradientParams = gradientMatch[1].split(','); | |
| const gradientType = gradientMatch[0]; |
This file contains hidden or 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
| [ | |
| { | |
| "shippingDimensions": " 32.26 cm length x 22.81 cm width x 6.71 cm height" | |
| }, | |
| { | |
| "shippingDimensions": " 32.99 cm length x 22.00 cm width x 7.21 cm height" | |
| }, | |
| { | |
| "shippingDimensions": " 53.34 cm length x 13.34 cm width x 31.75 cm height" | |
| }, |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| [ | |
| { | |
| "url":"https://www.target.com/p/barbie-travel-doll-puppy-playset/-/A-75569033", | |
| "name":"Barbie Travel Doll & Puppy Playset", | |
| "description":"<h4>Description</h4>Barbie doll can take her puppy, and young dreamers, around the world with this travel-themed set. Inspired by Barbie Dreamhouse Adventures, it comes with so many pieces to help imaginations take off - peek into the everyday life of Barbie as she embarks on exciting adventures with her family and friends! Barbie doll has her puppy as a traveling companion and a pink suitcase that opens and closes - it even has a collapsing handle, just like real luggage! Plus, the travel set includes a sheet of stickers that can be used to decorate the suitcase and document her travels. Fill her suitcase and her pink backpack (already decorated) with travel necessities like a cell phone, eye mask, neck pillow and headphones. Freshen Barbie doll up at arrival with a toothbrush and toothpaste that fit into her makeup bag. Then put on her sunglasse |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.