Skip to content

Instantly share code, notes, and snippets.

View leandromuto's full-sized avatar
🤷‍♂️
What's happening?

Leandro Muto Botassio leandromuto

🤷‍♂️
What's happening?
View GitHub Profile

Here's a little CSS snippet to create a simple header to link yesterday, tomorrow, and T-1Y notes to the daily note. If you don't know what I'm talking about, you can check the @TfTHacker repo where they create a customized dashboard or @FromSergio youtube video explaining how to activate CSS customization.

Here are the steps:

  1. Copy the CSS code from the first comment below and create a new file in the ./obsidian/snippets folder. The name of the file will be the name of the snippet;
  2. In the Obsidian app, open Settings -> Appearance -> CSS Snippets and toggle the previously created snippet;
  3. Create a draft markdown file and paste the markdown from the second comment;
    1. Change the internal notes link if you want
  4. Change to Reading View en voilá!
---
cssclass: dashboard
createdAt: 202301040002
modifiedAt: 202301061515
aliases: [Work-Life]
linter-yaml-title-alias: Work-Life
---
# Work-Life
---
cssclass: dashboard
createdAt: 202301040002
modifiedAt: 202301061515
aliases: [Work-Life]
linter-yaml-title-alias: Work-Life
---
# Work-Life
cssclass createdAt modifiedAt aliases linter-yaml-title-alias
dashboard
202301040002
202301061515
Work-Life
Work-Life

Work-Life

/* Updated 2022-02-28 */
.dashboard {
padding-left: 25px !important;
padding-right: 25px !important;
padding-top: 20px !important;
width: 100%;
grid-template-columns: 25% 25% 25% 25%;
}
@leandromuto
leandromuto / dashboard.css
Created January 6, 2023 15:10
obsidian home dashboard
/* Updated 2022-02-28 */
.dashboard {
padding-left: 25px !important;
padding-right: 25px !important;
padding-top: 20px !important;
width: 100%;
}
.dashboard .markdown-preview-section {
Tracker plugin: https://github.com/pyrochlore/obsidian-tracker
## Gym, Study and BuJo
``` tracker
searchType: frontmatter
searchTarget: gym, study, bujo
folder: Daily
datasetName: Gym, Study, Bujo
startDate: 2023-01-01
{
"profile": {
"content_settings": {
"exceptions": {
"javascript": {
"https://www.google.com.br,*": {
"setting": 2
},
},
},
HTTP Status 500 - Error while processing internal filterchain. Exception occurred at chain position: 8 of 12. Current filter: 'br.com.carrefour.storefront.filters.CartRestorationFilter@5fc0fec8'!; nested exception is de.hybris.platform.servicelayer.exceptions.SystemException: cannot find spring bean [abstractOrderDriveFoodAttributeHandler] configured for dynamic attribute [Cart.driveFood] from extension [carrefourmodel]
type Exception report
message Error while processing internal filterchain. Exception occurred at chain position: 8 of 12. Current filter: 'br.com.carrefour.storefront.filters.CartRestorationFilter@5fc0fec8'!; nested exception is de.hybris.platform.servicelayer.exceptions.SystemException: cannot find spring bean [abstractOrderDriveFoodAttributeHandler] configured for dynamic attribute [Cart.driveFood] from extension [carrefourmodel]
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletExcepti
log4j:ERROR Could not read configuration file [file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties].
java.io.FileNotFoundException: file:/Users/leandromuto/.m2/repository/com/keyrus/carrefourAutomation/core/1.0-SNAPSHOT/core-1.0-SNAPSHOT.jar!/config/log4j.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:372)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:403)
at com.selenium.framework.helper.LoggerHelper.getLogger(LoggerHelper.java:16)
at com.selenium.framework.helper.Generic.<clinit>(Generic.java:13)