Skip to content

Instantly share code, notes, and snippets.

@alemantrix-settyl
alemantrix-settyl / app.js
Created September 7, 2023 16:10
Recursively render a react component based on an object keys (nested will work too)
import "./styles.css";
export default function App() {
let data = {
fqNumber: "FQ42523424",
fqStatus: "Active",
fqDate: "xyz date",
nested: {
test: "This is just a test value"
},
@alemantrix-settyl
alemantrix-settyl / perimeter.py
Created March 27, 2023 21:36
wakanda wakanda
file_name = input('Which data file do you want to use? ')
with open(file_name) as f:
content = f.readlines()
content_clean = []
for i in content:
temp = i.strip('\n')
content_clean.append(temp)
content_list = []
temp_int_list = []
for i in content_clean:
/*
* Copyright (C) 2019-2022 HERE Europe B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software