@ -1,4 +1,4 @@
|
||||
slug: c/cheatsheets
|
||||
slug: cheatsheets
|
||||
name: Cheatsheets
|
||||
featured: true
|
||||
typeMatcher: cheatsheet
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: css/t/animation
|
||||
slug: css/animation
|
||||
name: CSS Animations
|
||||
featured: true
|
||||
miniName: Animation
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/css-background-patterns
|
||||
slug: css/background-patterns
|
||||
name: CSS Background Patterns
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/css-button-transitions
|
||||
slug: css/button-transitions
|
||||
name: CSS Button Transitions
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/css-centering
|
||||
slug: css/centering
|
||||
name: CSS Centering
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/css-hover-effects
|
||||
slug: css/hover-effects
|
||||
name: CSS Hover Effects
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: css/t/interactivity
|
||||
slug: css/interactivity
|
||||
name: CSS Interactivity Snippets
|
||||
shortName: CSS Interactivity
|
||||
miniName: Interactivity
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: css/t/layout
|
||||
slug: css/layout
|
||||
name: CSS Layouts
|
||||
miniName: Layout
|
||||
featured: true
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: css/t/visual
|
||||
slug: css/visual
|
||||
name: CSS Visual Snippets
|
||||
shortName: CSS Visual
|
||||
miniName: Visual
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: git/t/branch
|
||||
slug: git/branch
|
||||
name: Git Branch Snippets
|
||||
shortName: Git Branches
|
||||
miniName: Branch
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: git/t/commit
|
||||
slug: git/commit
|
||||
name: Git Commit Snippets
|
||||
shortName: Git Commits
|
||||
miniName: Commit
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: git/t/configuration
|
||||
slug: git/configuration
|
||||
name: Git Configuration Snippets
|
||||
shortName: Git Configuration
|
||||
miniName: Configuration
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: git/t/repository
|
||||
slug: git/repository
|
||||
name: Git Repository Snippets
|
||||
shortName: Git Repositories
|
||||
miniName: Repository
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/html-head-basics
|
||||
slug: html/head-basics
|
||||
name: HTML Head Basics
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/algorithm
|
||||
slug: js/algorithm
|
||||
name: JavaScript Algorithms
|
||||
miniName: Algorithms
|
||||
featured: true
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-array-initialization
|
||||
slug: js/array-initialization
|
||||
name: JavaScript Array Initialization
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-array-methods
|
||||
slug: js/array-methods
|
||||
name: JavaScript Array Methods
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-array-set-operations
|
||||
slug: js/array-set-operations
|
||||
name: JavaScript Array Set Operations
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-array-tricks
|
||||
slug: js/array-tricks
|
||||
name: JavaScript Array Tricks
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/array
|
||||
slug: js/array
|
||||
name: JavaScript Array Snippets
|
||||
shortName: JavaScript Arrays
|
||||
miniName: Array
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-arrow-functions
|
||||
slug: js/arrow-functions
|
||||
name: JavaScript Arrow Functions
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-browser-capabilities
|
||||
slug: js/browser-capabilities
|
||||
name: Browser Capability Detection
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/browser
|
||||
slug: js/browser
|
||||
name: JavaScript Browser Snippets
|
||||
shortName: JavaScript Browser
|
||||
miniName: Browser
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-colors
|
||||
slug: js/colors
|
||||
name: Colors in JavaScript
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-comparison
|
||||
slug: js/comparison
|
||||
name: JavaScript Comparison
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-css-manipulation
|
||||
slug: js/css-manipulation
|
||||
name: CSS Manipulation with JavaScript
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-data-structures
|
||||
slug: js/data-structures
|
||||
name: JavaScript Data Structures
|
||||
miniName: Data Structures
|
||||
parent: js
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/date
|
||||
slug: js/date
|
||||
name: JavaScript Date Snippets
|
||||
shortName: JavaScript Dates
|
||||
miniName: Date
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-dom-manipulation
|
||||
slug: js/dom-manipulation
|
||||
name: JavaScript DOM Manipulation
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-dom-querying
|
||||
slug: js/dom-querying
|
||||
name: JavaScript DOM Querying
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-event-handling
|
||||
slug: js/event-handling
|
||||
name: JavaScript Event Handling
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/function
|
||||
slug: js/function
|
||||
name: JavaScript Function Snippets
|
||||
miniName: Function
|
||||
featured: true
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-generators
|
||||
slug: js/generators
|
||||
name: JavaScript Generator Functions
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-geometry
|
||||
slug: js/geometry
|
||||
name: JavaScript Geometric Operations
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-http-requests
|
||||
slug: js/http-requests
|
||||
name: HTTP Requests in JavaScript
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-interviews
|
||||
slug: js/interviews
|
||||
name: JavaScript Interview Questions
|
||||
miniName: Interview Questions
|
||||
featured: true
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-logical-operations
|
||||
slug: js/logical-operations
|
||||
name: JavaScript Logical Operations
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/math
|
||||
slug: js/math
|
||||
name: JavaScript Math Snippets
|
||||
shortName: JavaScript Math
|
||||
miniName: Math
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/node
|
||||
slug: js/node
|
||||
name: Node.js Snippets
|
||||
shortName: Node.js
|
||||
miniName: Node
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-object-cloning
|
||||
slug: js/object-cloning
|
||||
name: JavaScript Object Cloning
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-object-key-selection
|
||||
slug: js/object-key-selection
|
||||
name: JavaScript Object Key Selection
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-object-key-transformations
|
||||
slug: js/object-key-transformations
|
||||
name: JavaScript Object Key Transformations
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/object
|
||||
slug: js/object
|
||||
name: JavaScript Object Snippets
|
||||
shortName: JavaScript Objects
|
||||
miniName: Object
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-performance
|
||||
slug: js/performance
|
||||
name: JavaScript Performance Optimization
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-promises
|
||||
slug: js/promises
|
||||
name: JavaScript Promises
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-proxy
|
||||
slug: js/proxy
|
||||
name: JavaScript Proxy
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-random-value-generators
|
||||
slug: js/random-value-generators
|
||||
name: JavaScript Random Value Generators
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-scroll
|
||||
slug: js/scroll
|
||||
name: Browser Scrolling with JavaScript
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-string-casing
|
||||
slug: js/string-casing
|
||||
name: JavaScript String Casing
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/string
|
||||
slug: js/string
|
||||
name: JavaScript String Snippets
|
||||
miniName: String
|
||||
featured: true
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: js/t/type
|
||||
slug: js/type
|
||||
name: JavaScript Type Snippets
|
||||
shortName: JavaScript Types
|
||||
miniName: Type
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-unit-conversions
|
||||
slug: js/unit-conversions
|
||||
name: JavaScript Unit Conversions
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-url
|
||||
slug: js/url
|
||||
name: URLs in JavaScript
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/js-web-storage-essentials
|
||||
slug: js/web-storage-essentials
|
||||
name: Web Storage Essentials
|
||||
featured: true
|
||||
snippetIds:
|
||||
@ -1,4 +1,4 @@
|
||||
slug: python/t/date
|
||||
slug: python/date
|
||||
name: Python Date Snippets
|
||||
shortName: Python Dates
|
||||
miniName: Date
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: python/t/dictionary
|
||||
slug: python/dictionary
|
||||
name: Python Dictionary Snippets
|
||||
shortName: Python Dictionaries
|
||||
miniName: Dictionary
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: python/t/function
|
||||
slug: python/function
|
||||
name: Python Function Snippets
|
||||
shortName: Python Functions
|
||||
miniName: Function
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: python/t/list
|
||||
slug: python/list
|
||||
name: Python List Snippets
|
||||
shortName: Python Lists
|
||||
miniName: List
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: python/t/math
|
||||
slug: python/math
|
||||
name: Python Math Snippets
|
||||
shortName: Python Math
|
||||
miniName: Math
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: python/t/string
|
||||
slug: python/string
|
||||
name: Python String Snippets
|
||||
shortName: Python Strings
|
||||
miniName: String
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: react/t/components
|
||||
slug: react/components
|
||||
name: React Components
|
||||
miniName: Components
|
||||
featured: true
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: react/t/hooks
|
||||
slug: react/hooks
|
||||
name: React Hooks
|
||||
miniName: Hooks
|
||||
featured: true
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/react-rendering
|
||||
slug: react/rendering
|
||||
name: React Rendering
|
||||
miniName: Rendering
|
||||
parent: react
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/react-testing
|
||||
slug: react/testing
|
||||
name: React Testing
|
||||
shortName: Testing
|
||||
parent: react
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/tips
|
||||
slug: tips
|
||||
name: Tips & Tricks
|
||||
featured: true
|
||||
typeMatcher: tip
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
slug: c/web-development
|
||||
slug: web-development
|
||||
name: Web development Snippets
|
||||
shortName: Web development
|
||||
typeMatcher: article
|
||||
|
||||
82
hub.yaml
82
hub.yaml
@ -11,46 +11,46 @@ shortDescription: >-
|
||||
featuredListings:
|
||||
- js
|
||||
- css
|
||||
- react/t/hooks
|
||||
- js/t/algorithm
|
||||
- react/hooks
|
||||
- js/algorithm
|
||||
- git
|
||||
- c/js-interviews
|
||||
- js/interviews
|
||||
- python
|
||||
- js/t/node
|
||||
- c/js-data-structures
|
||||
- c/js-promises
|
||||
- c/js-comparison
|
||||
- c/html-head-basics
|
||||
- c/css-centering
|
||||
- c/js-css-manipulation
|
||||
- c/js-url
|
||||
- c/js-proxy
|
||||
- c/js-dom-querying
|
||||
- c/js-dom-manipulation
|
||||
- c/js-event-handling
|
||||
- c/js-arrow-functions
|
||||
- c/js-performance
|
||||
- c/tips
|
||||
- c/react-rendering
|
||||
- c/js-colors
|
||||
- c/js-browser-capabilities
|
||||
- c/js-array-methods
|
||||
- c/js-array-tricks
|
||||
- c/js-object-key-transformations
|
||||
- c/react-testing
|
||||
- c/css-hover-effects
|
||||
- c/js-string-casing
|
||||
- c/js-generators
|
||||
- c/js-array-set-operations
|
||||
- c/css-button-transitions
|
||||
- c/js-random-value-generators
|
||||
- c/js-web-storage-essentials
|
||||
- c/js-scroll
|
||||
- c/js-array-initialization
|
||||
- c/css-background-patterns
|
||||
- c/js-object-cloning
|
||||
- react/t/components
|
||||
- c/js-http-requests
|
||||
- c/web-development
|
||||
- c/js-object-key-selection
|
||||
- c/cheatsheets
|
||||
- js/node
|
||||
- js/data-structures
|
||||
- js/promises
|
||||
- js/comparison
|
||||
- html/head-basics
|
||||
- css/centering
|
||||
- js/css-manipulation
|
||||
- js/url
|
||||
- js/proxy
|
||||
- js/dom-querying
|
||||
- js/dom-manipulation
|
||||
- js/event-handling
|
||||
- js/arrow-functions
|
||||
- js/performance
|
||||
- tips
|
||||
- react/rendering
|
||||
- js/colors
|
||||
- js/browser-capabilities
|
||||
- js/array-methods
|
||||
- js/array-tricks
|
||||
- js/object-key-transformations
|
||||
- react/testing
|
||||
- css/hover-effects
|
||||
- js/string-casing
|
||||
- js/generators
|
||||
- js/array-set-operations
|
||||
- css/button-transitions
|
||||
- js/random-value-generators
|
||||
- js/web-storage-essentials
|
||||
- js/scroll
|
||||
- js/array-initialization
|
||||
- css/background-patterns
|
||||
- js/object-cloning
|
||||
- react/components
|
||||
- js/http-requests
|
||||
- web-development
|
||||
- js/object-key-selection
|
||||
- cheatsheets
|
||||
|
||||
@ -72,4 +72,4 @@ initializeArrayWithValues(4, 2); // [2, 2, 2, 2]
|
||||
initializeMappedArray(4, (_, i) => i * 2); // [0, 2, 4, 6]
|
||||
```
|
||||
|
||||
You can learn more tips and tricks related to JavaScript array initialization in [this collection](/c/js-array-initialization/p/1).
|
||||
You can learn more tips and tricks related to JavaScript array initialization in [this collection](//js/array-initialization/p/1).
|
||||
|
||||
Reference in New Issue
Block a user