Skip to content

Instantly share code, notes, and snippets.

View jerome-benoit's full-sized avatar
🎯
Focusing

Jérôme Benoit jerome-benoit

🎯
Focusing
View GitHub Profile
@jerome-benoit
jerome-benoit / CircularArray.md
Last active September 3, 2022 22:07
TypeScript circular array module
View CircularArray.md
/**
 * Default circular array size.
 */
export const DEFAULT_CIRCULAR_ARRAY_SIZE = 2000

/** Array with a maximum length shifting items when full. */
export class CircularArray<T> extends Array<T> {
  /** @inheritdoc */
  public size: number
@jerome-benoit
jerome-benoit / Update-AUPackages.md
Last active November 7, 2020 12:16
Update-AUPackages Report #powershell #chocolatey
View Update-AUPackages.md