MCPcopy Create free account

hub / github.com/AleksandrHovhannisyan/aleksandrhovhannisyan.com / functions

Functions93 in github.com/AleksandrHovhannisyan/aleksandrhovhannisyan.com

↓ 8 callersMethodisKeyDown
(key: string)
packages/web/src/assets/scripts/components/gameLoop.ts:238
↓ 7 callersFunctionNON_EMPTY_ARRAY
(type)
packages/web/lib/schema.ts:10
↓ 4 callersMethodfrom
* Returns a copy of a vector.
packages/web/src/assets/scripts/components/gameLoop.ts:46
↓ 4 callersFunctiongetLatestCollectionItemDate
(collection: Partial<FrontMatter & { data: Partial<FrontMatter> }>[])
packages/web/lib/filters.ts:92
↓ 4 callersFunctionlimit
(array: unknown[], limit: number)
packages/web/lib/filters.ts:10
↓ 4 callersFunctionwithoutBaseDirectory
(pathString: string)
packages/web/lib/utils/file.ts:3
↓ 3 callersFunctionget
(object: Record<string, unknown>, keyPath: string)
packages/web/lib/utils/index.ts:8
↓ 3 callersFunctionmakeMarkdownParser
(options?: MakeMarkdownParserOptions)
packages/web/lib/plugins/markdown.ts:139
↓ 3 callersFunctionmemoize
(fn: (...args: unknown[]) => unknown)
packages/web/lib/utils/index.ts:18
↓ 3 callersMethodscaled
Returns a new vector that's the result of scaling this vector by the given scalar.
packages/web/src/assets/scripts/components/gameLoop.ts:26
↓ 3 callersFunctionsortByKey
( arrayOfObjects: Record<string, unknown>[], keyPath: string, order: 'ASC' | 'DESC' = 'ASC' )
packages/web/lib/filters.ts:18
↓ 2 callersFunctiongetAllPosts
(collection)
packages/web/lib/collections.ts:7
↓ 2 callersFunctiongetCategoryHref
Given a category name, returns the root-relative URL to that category's page.
packages/web/lib/collections.ts:14
↓ 2 callersFunctiongetDistanceToFocalPoint
* Returns the distance from the starting edge of the viewport to the given focal point on the element.
packages/web/src/assets/scripts/components/carousel.ts:17
↓ 2 callersFunctiongetLanguage
(lang?: string)
packages/web/lib/plugins/markdown.ts:54
↓ 2 callersFunctionmakeSchemaValidator
(schema: v.BaseSchema<unknown, unknown, v.BaseIssue<unknown>>)
packages/web/lib/schema.ts:180
↓ 2 callersMethodmove
Moves the player at its current speed in its current direction.
packages/web/src/assets/scripts/components/gameLoop.ts:166
↓ 2 callersFunctionsanitizeHtml
(html: string)
packages/web/lib/utils/string.ts:14
↓ 2 callersMethodsetMoveSpeed
(moveSpeed: number)
packages/web/src/assets/scripts/components/gameLoop.ts:156
↓ 2 callersFunctionsetTheme
* @param {HTMLFormElement} themePickerForm * @param {string} theme
packages/web/src/_includes/js/themePicker.js:24
↓ 2 callersMethodsetTurnSpeed
(turnSpeedRadians: number)
packages/web/src/assets/scripts/components/gameLoop.ts:160
↓ 2 callersFunctiontoAbsoluteImageUrl
({ src, outputDir = 'dist/assets/images', width = null })
packages/web/lib/filters.ts:50
↓ 2 callersFunctiontoRadians
(degrees: number)
packages/web/src/assets/scripts/components/gameLoop.ts:1
↓ 2 callersFunctiontoSmartQuotes
(text: string)
packages/web/lib/filters.ts:128
↓ 2 callersMethodturn
* Rotates this player at its .
packages/web/src/assets/scripts/components/gameLoop.ts:175
↓ 2 callersMethodupdate
()
packages/web/src/assets/scripts/components/gameLoop.ts:276
↓ 2 callersFunctionwhere
(arrayOfObjects: Record<string, unknown>[], keyPath: string, value: unknown)
packages/web/lib/filters.ts:40
↓ 1 callersFunctionbuildAssets
()
packages/web/build.ts:12
↓ 1 callersMethodcircle
Draws a circle on the canvas at the specified coordinates.
packages/web/src/assets/scripts/components/gameLoop.ts:94
↓ 1 callersMethodclear
Clears the canvas with a solid color.
packages/web/src/assets/scripts/components/gameLoop.ts:87
↓ 1 callersFunctioncloseDialog
()
packages/web/src/assets/scripts/dialog.ts:19
↓ 1 callersMethoddraw
()
packages/web/src/assets/scripts/components/gameLoop.ts:257
↓ 1 callersFunctionfetch
Returns comments for a given post by ID. https://developers.cloudflare.com/workers/runtime-apis/handlers/ * @param request The incoming HTTP reques
packages/api/comments/comments.ts:65
↓ 1 callersFunctionfetchComments
* Generator that yields one comment at a time for the given repo issue.
packages/api/comments/comments.ts:14
↓ 1 callersFunctionfetchComments
* Generator that yields one parsed JSON object at a time. Each object represents a post comment on my blog. * @throws {CommentAPIError}
packages/web/src/assets/scripts/comments.ts:15
↓ 1 callersFunctiongetAllUniqueCategories
(collection)
packages/web/lib/collections.ts:25
↓ 1 callersFunctiongetFocalPoint
* Returns the focal point for the given element, as determined by its scroll-snap-align (falling back to the fallback if not specified). * @param ele
packages/web/src/assets/scripts/components/carousel.ts:10
↓ 1 callersFunctiongetImage
()
packages/web/src/_posts/_posts.11tydata.ts:93
↓ 1 callersFunctioniconShortcode
(props: Partial<IconProps>)
packages/web/lib/shortcodes/icon.ts:12
↓ 1 callersMethodline
Draws a line on the canvas from `(x1, y1)` to `(x2, y2)`.
packages/web/src/assets/scripts/components/gameLoop.ts:102
↓ 1 callersFunctionmakeDateFormatter
()
packages/web/lib/filters.ts:67
↓ 1 callersFunctionmakeFencedCodeRenderer
( markdownIt: markdownIt, isTrustedInput?: MakeMarkdownParserOptions['isTrustedInput'] )
packages/web/lib/plugins/markdown.ts:61
↓ 1 callersFunctionmakeRelativeTimeStringGetter
()
packages/web/lib/utils/date.ts:1
↓ 1 callersFunctionmakeStringEscaper
(keyMap: Map<string, string>)
packages/web/lib/utils/string.ts:35
↓ 1 callersFunctionmakeSyntaxHighlighter
(markdownIt: markdownIt, isTrustedInput?: MakeMarkdownParserOptions['isTrustedInput'])
packages/web/lib/plugins/markdown.ts:104
↓ 1 callersMethodnavigateToNextItem
(direction: 'start' | 'end')
packages/web/src/assets/scripts/components/carousel.ts:85
↓ 1 callersMethodnormalized
Returns a new vector that's the result of normalizing this vector (i.e., a unit vector of length `1` in the same direction).
packages/web/src/assets/scripts/components/gameLoop.ts:31
↓ 1 callersFunctionparseStream
(response: Response)
packages/web/src/assets/scripts/utils.ts:37
↓ 1 callersFunctionrenderComment
* @param template An HTML template element that defines the markup for a comment. * @param comment The user comment to render.
packages/web/src/assets/scripts/comments.ts:37
↓ 1 callersMethodrotated
Returns a new vector that's the result of rotating this vector by the given change in angle, in radians.
packages/web/src/assets/scripts/components/gameLoop.ts:36
↓ 1 callersFunctionslugifyString
(str: string)
packages/web/lib/utils/string.ts:5
↓ 1 callersFunctionthrottle
(callback: (...args: unknown[]) => void, rateMs: number)
packages/web/src/assets/scripts/utils.ts:6
↓ 1 callersFunctiontoAbsoluteUrl
(url: string, baseUrl: string = site.url)
packages/web/lib/filters.ts:47
↓ 1 callersFunctiontoISOString
(date: Date | string)
packages/web/lib/filters.ts:65
↓ 1 callersMethodupdatePhysics
()
packages/web/src/assets/scripts/components/gameLoop.ts:242
Method_render
(templateHtml: string)
packages/web/src/assets/scripts/components/codeDemo.ts:159
Methodangle
Returns this vector's angle, in radians.
packages/web/src/assets/scripts/components/gameLoop.ts:21
FunctionartworkShortcode
(content: string, id: string, description: string)
packages/web/lib/shortcodes/artwork.ts:1
Functionaside
(children: string)
packages/web/lib/shortcodes/aside.ts:3
MethodattributeChangedCallback
(name, _oldValue, newValue)
packages/web/src/assets/scripts/components/gameLoop.ts:222
MethodconnectedCallback
()
packages/web/src/assets/scripts/components/gameLoop.ts:215
MethodconnectedCallback
()
packages/web/src/assets/scripts/components/carousel.ts:44
Methodconstructor
(message: string)
packages/web/src/assets/scripts/comments.ts:6
Methodconstructor
(x = 0, y = 0)
packages/web/src/assets/scripts/components/gameLoop.ts:10
Methodconstructor
(canvas: HTMLCanvasElement)
packages/web/src/assets/scripts/components/gameLoop.ts:72
Methodconstructor
({ position, direction, moveSpeed, turnSpeedDegrees, radius, }: { position: Vector2;
packages/web/src/assets/scripts/components/gameLoop.ts:132
Methodconstructor
()
packages/web/src/assets/scripts/components/gameLoop.ts:188
Methodconstructor
()
packages/web/src/assets/scripts/components/carousel.ts:40
Methodconstructor
()
packages/web/src/assets/scripts/components/carousel.ts:113
Methodconstructor
()
packages/web/src/assets/scripts/components/carousel.ts:128
Functiondefinition
(children: string, term: string)
packages/web/lib/shortcodes/definition.ts:4
Functiondetails
(children: string, summary: string, open = false)
packages/web/lib/shortcodes/details.ts:3
MethoddisconnectedCallback
()
packages/web/src/assets/scripts/components/carousel.ts:61
Methoddot
* Returns the dot product of two vectors.
packages/web/src/assets/scripts/components/gameLoop.ts:60
Functioneleventy
(eleventyConfig)
packages/web/.eleventy.ts:42
FunctionfaviconShortcode
(src: string)
packages/web/lib/shortcodes/favicon.ts:10
FunctionfetchText
(url: string, duration: string)
packages/web/lib/shortcodes/fetchText.ts:3
MethodfromAngle
* Returns a new vector constructed from the given angle.
packages/web/src/assets/scripts/components/gameLoop.ts:53
FunctiongetAssetOutputPath
(inputPath: string)
packages/web/lib/filters.ts:145
FunctiongetBuildInfo
()
packages/web/src/_data/buildInfo.ts:3
FunctiongetPostsByCategory
(collection)
packages/web/lib/collections.ts:54
FunctionhandleChange
@param {Event} e
packages/web/src/_includes/js/themePicker.js:29
Methodheight
()
packages/web/src/assets/scripts/components/gameLoop.ts:81
Methodlength
Returns the Cartesian length of this vector.
packages/web/src/assets/scripts/components/gameLoop.ts:16
Functionnanoid
(length: number = 6, prefix = 'id-')
packages/web/lib/shortcodes/nanoid.ts:3
FunctionpathJoin
(...paths: string[])
packages/web/lib/filters.ts:123
FunctionpathParse
(srcPath: string, key: 'name' | 'dir')
packages/web/lib/filters.ts:121
Functionquote
(children: string, sourceName: string, sourceUrl: string)
packages/web/lib/shortcodes/quote.ts:7
Functionsetup
(build)
packages/web/build.ts:40
FunctionshowDialog
()
packages/web/src/assets/scripts/dialog.ts:12
Functionstart
(controller)
packages/api/comments/comments.ts:101
FunctiontoHtml
(markdownString: string)
packages/web/lib/filters.ts:44
Methodwidth
()
packages/web/src/assets/scripts/components/gameLoop.ts:77