Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup : aoc input put in in/aoc . bugfix . revert #10

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/includes/Aoc1501.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, useEffect } from 'react'
import { FetchData, LenNStrsFromLine } from '../helpers/Helpers'

const URL:string =
'https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/1501.in'
'https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/1501.in'

const santaArray: string[] =
['🎅🏻', '🧑🏻‍🎄', '🤶🏻', '🦌', '🛷', '🎄',
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc1502.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine } from "../helpers/Helpers"

const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/1502.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/1502.in"

var Aoc1501 = () => {
const [lines, setLines] = useState<string[]>( [] )
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc1608.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine, Deepcopy2DArray } from "../helpers/Helpers"

const URL:string =
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/1608.in"
"https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/1608.in"

const charSet = ['○', '¾', '⅞', '░', '▒', '▓']//, '█']
const symbol = charSet[Math.floor(Math.random() * charSet.length)]
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc1802.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine } from "../helpers/Helpers"

const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/1802.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/1802.in"

const special3 = "🟡"
const special2 = "🔵"
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc1803.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine, /*Deepcopy2DArray*/ } from "../helpers/Helpers"

const URL:string =
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/1803.in"
"https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/1803.in"

var Aoc1803 = () => {

Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2003.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine, /*Deepcopy2DArray,*/ } from "../helpers/Helpers"

const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2003.in"
const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2003.in"
const symbolArr = ['█', '⬤', '🔵', '🟡', '🟢', '🌕',
'🎾', '⭕', '🈵', '🈶', '🍊', '🦁', '🐯']
const symbol = symbolArr[Math.floor(Math.random() * symbolArr.length)]
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2011.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine } from "../helpers/Helpers"

const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2011.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2011.in"

var Aoc2011 = () => {
const [lines, setLines] = useState<string[]>([])
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2105.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from "../helpers/Helpers"

const URL: string =
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2105.in"
"https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2105.in"

var Aoc2105 = () => {
const [lines, setLines] = useState<string[]>([])
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2210.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine } from "../helpers/Helpers"

const URL:string =
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2210.in"
"https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2210.in"

const denseChars:string[] =
['@']//, '▓', '✲', '✳', '✴', '✵', '✶', '✷', '✸', '✹', '✺', '✻', '✼', '✽', '✾', '✿', '❀']
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2212.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine } from "../helpers/Helpers"

const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2212.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2212.in"

const symbolArr = ["○", '✲', '✳', '✵', '✶', '✻', '✼']
const symbol = symbolArr[Math.floor(Math.random() * symbolArr.length)]
Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2222.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
// Deepcopy2DArray,
} from "../helpers/Helpers"

const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2222.in"
const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2222.in"
const chrs: string[] = ['○', '▓', '▒', '#']//, 'x', '✲', '✳', '✵', '✶', '✻', '✼']
const chr: string = chrs[Math.floor(Math.random() * chrs.length)]

Expand Down
2 changes: 1 addition & 1 deletion src/includes/Aoc2223.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { FetchData, LenNStrsFromLine } from "../helpers/Helpers"

const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2223.1"
const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/main/aoc/2223.1"

var Aoc2223 = () => {
const [lines, setLines] = useState<string[]>([])
Expand Down