This file contains 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://google.com", | |
"name": "TON Manifest Test", | |
"iconUrl": "https://tonv.s3.us-east-2.amazonaws.com/ton.png" | |
} |
This file contains 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
term xterm-256color | |
background_opacity 1.0 | |
# font configurations | |
font_family JetBrainsMono Nerd Font | |
font_size 11.0 | |
bold_font auto | |
italic_font auto | |
bold_italic_font auto | |
disable_ligatures never |
This file contains 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 Image from "next/image"; | |
export enum Position { | |
LEFT, | |
RIGHT, | |
} | |
interface IFeatureSection { | |
illustrationPath: string; | |
title: string; |
This file contains 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
export const generateRandomString = (length: number):string => { | |
const allCaps: string[] = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P", "Q","R","S","T","U","V","W","X", "Y","Z"] | |
const allLower: string[] = allCaps.map(letter => letter.toLowerCase()) | |
const alphabet: string[] = [...allCaps, ...allLower] | |
let output: string= "" | |
for(let i = 0; i < length; i++){ | |
output += (alphabet[Math.floor(Math.random() * (alphabet.length + 1))]) | |
} |
This file contains 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
export const bubbleSort = (array: number[]): number[] => { | |
let aux: number; | |
for(let i = 1; i < array.length; i++){ | |
for(let j = 0; j < array.length - i; j++){ | |
if(array[j] > array[j+1]){ | |
aux = array[j]; | |
array[j] = array[j+1]; |