Skip to content

Commit

Permalink
cleanup : aoc input put in in/aoc . bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
nuoxoxo committed Sep 9, 2023
1 parent 90f5478 commit b4cb166
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
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/main/aoc/1501.in'
'https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/1502.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/1608.in"
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/1802.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/1803.in"
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2003.in"
const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2011.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2105.in"
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2210.in"
"https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2212.in"
const URL:string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2222.in"
const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/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/main/aoc/2223.1"
const URL: string = "https://raw.githubusercontent.com/nuoxoxo/in/aoc/main/2223.1"

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

0 comments on commit b4cb166

Please sign in to comment.