mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-24 01:51:51 +01:00
Normalize code style and logging levels throughout project
Fixed minor inconsistencies in syntax, formatting, and logging levels across various files. Updated newline handling, adjusted console log types, and improved code organization for better readability and maintainability.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { type Activity, IDEs } from '~~/types'
|
||||
import type { Activity } from '~~/types'
|
||||
import { IDEs } from '~~/types'
|
||||
|
||||
const { data: activity, refresh } = await useAsyncData<Activity>('activity', () => $fetch('/api/activity'))
|
||||
useIntervalFn(async () => await refresh(), 5000)
|
||||
@@ -38,11 +39,11 @@ const getActivity = computed(() => {
|
||||
ago: locale.value === 'en'
|
||||
? timeAgo
|
||||
: timeAgo
|
||||
.replace('ago', '')
|
||||
.replace('hours', 'heures')
|
||||
.replace('minutes', 'minutes')
|
||||
.replace('seconds', 'secondes')
|
||||
.trim(),
|
||||
.replace('ago', '')
|
||||
.replace('hours', 'heures')
|
||||
.replace('minutes', 'minutes')
|
||||
.replace('seconds', 'secondes')
|
||||
.trim(),
|
||||
formated: {
|
||||
date: formatDate(timestamps.start, 'DD MMM YYYY'),
|
||||
time: formatDate(timestamps.start, 'HH:mm:ss'),
|
||||
|
||||
@@ -54,7 +54,7 @@ export function useVisitors() {
|
||||
}
|
||||
|
||||
const handleClose = (event: CloseEvent) => {
|
||||
console.log('Visitors WebSocket closed:', event.code, event.reason)
|
||||
console.warn('Visitors WebSocket closed:', event.code, event.reason)
|
||||
isConnected.value = false
|
||||
wsRef.value = null
|
||||
|
||||
@@ -80,7 +80,7 @@ export function useVisitors() {
|
||||
ws.close()
|
||||
return
|
||||
}
|
||||
console.log('Stats WebSocket connected')
|
||||
console.warn('Stats WebSocket connected')
|
||||
isConnected.value = true
|
||||
isLoading.value = false
|
||||
error.value = null
|
||||
|
||||
@@ -31,4 +31,3 @@ As well as programming, I enjoy :hover-text{hover="Sport allows me to burn off e
|
||||
:hover-text{hover="Travelling frees me and gets me away from it all ✈️" text="travelling"}. My passion, commitment and
|
||||
eagerness to learn and progress are the qualities that enable me to succeed in my :hover-text{hover="Career already
|
||||
begun and far from over 😎" text="career"} and :hover-text{hover="Only 2 years of study left 💪" text="studies"}.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ description: I'm Arthur, a Mathematics lover and IA enthusiast. I'm currently st
|
||||
|
||||
Hola ! Soy Arthur Danjou, estudiante de matemáticas especializado en Estadística en la Universidad Paris-Dauphine, en Fracia.
|
||||
|
||||
Con una :hover-text{hover="la tecnología avanza demasiado rápido 🤯" position="top" text="comprensión profunda"}, de las tecnologías emergentes, me sitúo en el centro de un ámbito en plena expansión.
|
||||
Con una :hover-text{hover="la tecnología avanza demasiado rápido 🤯" position="top" text="comprensión profunda"}, de las tecnologías emergentes, me sitúo en el centro de un ámbito en plena expansión.
|
||||
Mi formación en :hover-text{hover="las matemáticas son mi mayor pasión Σ"
|
||||
position="right" text="matemáticas"}
|
||||
me permite comprender ampliamente los conceptos y las teorías que gobiernan las dichas
|
||||
@@ -24,10 +24,10 @@ las diferentes necesidades de los proyectos matemáticos, y proponer las mejores
|
||||
:prose-icon[Docker]{icon="docker-icon" color="sky"},
|
||||
:prose-icon[Redis]{icon="redis" color="red"},
|
||||
:prose-icon[MySQL]{icon="mysql-icon" color="zinc"} and
|
||||
:prose-icon[Git]{icon="git-icon" color="orange"} que :hover-text{hover="odas estas tecnologías se complementan 📎" text="completan"} mis competencias.
|
||||
:prose-icon[Git]{icon="git-icon" color="orange"} que :hover-text{hover="odas estas tecnologías se complementan 📎" text="completan"} mis competencias.
|
||||
|
||||
Estoy :hover-text{hover="me gusta estar siempre al día 🖥️" position="top" text="constantemente"} aprendiendo cosas nuevas, desde la tecnología hasta las finanzas, pasando por el emprendimiento.
|
||||
Me gusta :hover-text{hover="me encanta compartir y ayudar a los demás 🫂" text="compartir"} mis conocimientos y aprender nuevos teoremas y tecnologías.
|
||||
Estoy :hover-text{hover="me gusta estar siempre al día 🖥️" position="top" text="constantemente"} aprendiendo cosas nuevas, desde la tecnología hasta las finanzas, pasando por el emprendimiento.
|
||||
Me gusta :hover-text{hover="me encanta compartir y ayudar a los demás 🫂" text="compartir"} mis conocimientos y aprender nuevos teoremas y tecnologías.
|
||||
Soy una persona :hover-text{hover="busco cosas nuevas que descubrir 🔍" text="curiosa"} y con el deseo de seguir aprendiendo y creciendo a lo largo de toda mi vida.
|
||||
|
||||
A parte de la programación, me gusta el :hover-text{hover="el deporte me permite gastar mi energía 🏋️♂️" text="deporte"}
|
||||
|
||||
@@ -37,4 +37,4 @@ Outre la programmation, j'aime le :hover-text{hover="Le sport me permet de dépe
|
||||
et :hover-text{hover="Les voyages me libèrent et m'évadent ✈️" text="voyager"}.
|
||||
Ma passion, mon engagement et mon envie d'apprendre et de progresser sont les qualités qui me permettent de réussir dans
|
||||
ma :hover-text{hover="Carrière déjà commencée et loin d'être terminée 😎" text="carrière"} et mes :hover-text{hover="Il
|
||||
ne me reste que 2 ans d'études 💪" text="études"}.
|
||||
ne me reste que 2 ans d'études 💪" text="études"}.
|
||||
|
||||
@@ -22,4 +22,4 @@ tags:
|
||||
- **Langage** → [Typescript](https://www.typescriptlang.org/)
|
||||
- **Deployment** → [NuxtHub](https://hub.nuxt.com/)
|
||||
- **Styling** → [Sass](https://sass-lang.com/) & [Tailwind CSS](https://tailwindcss.com/)
|
||||
- **Package Manager** → [pnpm](https://pnpm.io/)
|
||||
- **Package Manager** → [pnpm](https://pnpm.io/)
|
||||
|
||||
@@ -12,7 +12,7 @@ tags:
|
||||
|
||||
This is the report for the Monte Carlo Methods Project. The project was done as part of the course `Monte Carlo Methods` at the Paris-Dauphine University. The goal was to implement different methods and algorithms using Monte Carlo methods in R.
|
||||
|
||||
Methods and algorithms implemented:
|
||||
Methods and algorithms implemented:
|
||||
- Plotting graphs of functions
|
||||
- Inverse c.d.f. Random Variation simulation
|
||||
- Accept-Reject Random Variation simulation
|
||||
@@ -23,4 +23,4 @@ Methods and algorithms implemented:
|
||||
You can find the code here: [Monte Carlo Project Code](https://github.com/ArthurDanjou/Studies/blob/0c83e7e381344675e113c43b6f8d32e88a5c00a7/M1/Monte%20Carlo%20Methods/Project%201/003_rapport_DANJOU_DUROUSSEAU.rmd)
|
||||
|
||||
<iframe src="/portfolio/monte-carlo-project/Report.pdf" width="100%" height="1000px">
|
||||
</iframe>
|
||||
</iframe>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
slug: python-data-ml
|
||||
title: Python Data & ML
|
||||
description: 🧠 A repository dedicated to learning and practicing Python libraries for machine learning.
|
||||
description: 🧠 A repository dedicated to learning and practicing Python libraries for machine learning.
|
||||
publishedAt: 2024/11/01
|
||||
readingTime: 1
|
||||
tags:
|
||||
@@ -13,7 +13,7 @@ tags:
|
||||
---
|
||||
|
||||
[Python Data & ML](https://github.com/ArthurDanjou/Python-Data-Machine-Learning) is a repository dedicated to learning and practicing Python libraries for machine learning. It includes a variety of projects and exercises that cover the following topics.
|
||||
This project explores tools like NumPy, Pandas, scikit-learn, and others to understand and master key machine learning concepts. Perfect for strengthening skills in data processing, modeling, and algorithm optimization.
|
||||
This project explores tools like NumPy, Pandas, scikit-learn, and others to understand and master key machine learning concepts. Perfect for strengthening skills in data processing, modeling, and algorithm optimization.
|
||||
|
||||
The goal is to improve my level of understanding of machine learning and data science concepts, as well as to practice Python programming and using libraries like NumPy, Pandas, scikit-learn, etc., to manipulate and analyze data, during my free time.
|
||||
|
||||
@@ -29,4 +29,3 @@ The goal is to improve my level of understanding of machine learning and data sc
|
||||
- [TensorFlow](https://www.tensorflow.org/)
|
||||
- [Keras](https://keras.io/)
|
||||
- [PyTorch](https://pytorch.org/)
|
||||
|
||||
|
||||
@@ -15,4 +15,4 @@ This is the French version of the report for the Schelling Segregation Model pro
|
||||
You can find the code here: [Schelling Segregation Model Code](https://github.com/ArthurDanjou/Studies/blob/e1164f89bd11fc59fa79d94aa51fac69b425d68b/L3/Projet%20Num%C3%A9rique/Segregation.ipynb)
|
||||
|
||||
<iframe src="/portfolio/schelling/Projet.pdf" width="100%" height="1000px">
|
||||
</iframe>
|
||||
</iframe>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "artsite",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.5.0",
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
|
||||
Reference in New Issue
Block a user