Skip to content

Instantly share code, notes, and snippets.

View Mara-Li's full-sized avatar
😽
Got a new job!

Lisandra Mara-Li

😽
Got a new job!
  • Lyon (France)
  • 09:20 (UTC +02:00)
  • X @Mara__Li
View GitHub Profile
{
"basics": {
"name": "Lisandra Simonetti",
"headline": "Attachée de recherche clinique",
"email": "simonetti.lisandra@icloud.com",
"phone": "0619672123",
"location": "Villeurbanne",
"url": {
"label": "",
"href": ""
@Mara-Li
Mara-Li / README.md
Last active December 21, 2023 17:48
Discord — Canary & Powershell autorun-update
@Mara-Li
Mara-Li / settings.ts
Created July 31, 2023 15:22 — forked from Fevol/settings.ts
Tabulated settings page
export class SampleSettingTab extends PluginSettingTab {
plugin: MyPlugin;
settingsPage: HTMLElement;
YOUR_TABS = {
'first-tab-id': {
name: 'First tab',
icon: 'coffee',
},
'second-tab-id': {
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
@Mara-Li
Mara-Li / FollowMe.md
Created December 24, 2022 10:42
Canvas — Insert the filepath in the body so you can stylize each one differently

Put the previous file in your configured folder and active it. Felicitation! Each canvas will get the following class & attribute : .canvas-file[data-canvas-file*="filepath"].

You can now stylize it using these state. For example, to change the canvas-color for a file named ProjectOne :

body.canvas-file[data-canvas-file*="ProjectOne"] {
    --canvas-color-1: 138,97,189 ; /* Mapple Street*/
    --canvas-color-2: 110,151,23; /*Oak Street*/
    --canvas-color-3: var(--color-yellow-rgb); 
 --canvas-color-4: 154,80,40; /* Pine Street*/
@Mara-Li
Mara-Li / birthday.py
Last active May 6, 2022 18:22
(Fr) Génère une date d'anniversaire aléatoirement, possiblement à partir d'un âge, d'une année ...
import argparse
import datetime
import random
import sys
def birthday(year=None, age=None, mode="numeric"):
"""
Génère une date d'anniversaire aléatoirement.
Parameters
----------

Hi 👋, I'm Mara-Li

A student who love programming

mara-li

mara-li

mara__li

  • 🌱 I’m currently learning Python and Typescript
@Mara-Li
Mara-Li / FastStart-GenerateListOfInstalledPlugins
Last active April 6, 2022 07:53
FastStart Script for Obsidian (improved by python)
<%*
let plugins="- [ ] " + Object.values(app.plugins.manifests).map(p=>p.id).sort((a,b)=>a.localeCompare(b)).join('\n- [ ] ');
plugins = plugins.split('\n');
let long_delay = tp.file.find_tfile("FastStart-Plugins-LongDelay");
long_delay = await app.vault.read(long_delay)
long_delay=long_delay.split('\n');
let short_delay=tp.file.find_tfile("FastStart-Plugins-ShortDelay");
short_delay = await app.vault.read(short_delay)
short_delay=short_delay.split('\n');
/*
THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
if you want to view the source visit the plugins github repository
*/
'use strict';
var obsidian = require('obsidian');
/*! *****************************************************************************
---
folder: school
obsidianUIMode: preview
share: false
flux: true
created: 27-09-2021
category: Épidémiologie
alias: Case Report
sr-due: 2021-12-09
sr-interval: 38