main
iOS 3 years ago
parent 08fd2d0456
commit 0391077c02

@ -13,7 +13,7 @@
{ {
"path": "/", "path": "/",
"date": "2022-01-09", "date": "2022-01-09",
"size": 693438 "size": 697479
} }
], ],
"activityHistory": [ "activityHistory": [
@ -26,7 +26,7 @@
}, },
{ {
"date": "2022-01-09", "date": "2022-01-09",
"value": 2452 "value": 7249
} }
] ]
} }

File diff suppressed because one or more lines are too long

@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "01.02 Home/@Main Dashboard.md", "file": "03.01 Reading list/@Reading master.md",
"mode": "preview" "mode": "preview"
} }
} }
@ -76,7 +76,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "01.02 Home/@Main Dashboard.md", "file": "03.01 Reading list/@Reading master.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -141,7 +141,7 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "01.02 Home/@Main Dashboard.md", "file": "03.01 Reading list/@Reading master.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} }
@ -151,15 +151,15 @@
}, },
"active": "0204ce7a98b762a7", "active": "0204ce7a98b762a7",
"lastOpenFiles": [ "lastOpenFiles": [
"03.01 Reading list/@Reading master.md",
"01.02 Home/@Main Dashboard.md", "01.02 Home/@Main Dashboard.md",
"00.01 Admin/Button gallery.md", "00.02 Inbox/Civilizations.md",
"00.01 Admin/URL characters.md", "03.01 Reading list/Dans les forêts de Sibérie.md",
"00.03 News/News.md",
"05.01 Computer setup/Storage and Syncing.md",
"00.01 Admin/Obsidian plugins.md", "00.01 Admin/Obsidian plugins.md",
"00.01 Admin/Test sheet.md", "00.01 Admin/Test sheet.md",
"02.03 Zürich/@Sport Zürich.md", "00.01 Admin/React/Weather.md",
"01.02 Home/Life mementos.md", "00.01 Admin/React/Clock.md"
"00.02 Inbox/Dans les forêts de Sibérie.md",
"00.01 Admin/React/Clock.md",
"01.02 Home/@Shopping list.md"
] ]
} }

@ -65,6 +65,12 @@ https://github.com/nothingislost/obsidian-cooklang-importer
   
**React**
[www.skypack.dev/view/vue-weather-widget](https://www.skypack.dev/view/vue-weather-widget)
[www.skypack.dev/view/openweather-apis](https://www.skypack.dev/view/openweather-apis)
 
--- ---
   

@ -7,9 +7,9 @@ useEffect(() => {
}); });
return ( return (
<div> <div>
<h6>Today</h6> <h4>Today</h4>
<p><b>{date.toLocaleDateString()}</b></p> <p><b>{date.toLocaleDateString()}</b></p>
<h6>Time</h6> <h4>Time</h4>
<p><b>{date.toLocaleTimeString()}</b></p> <p><b>{date.toLocaleTimeString()}</b></p>
</div> </div>
); );

@ -0,0 +1,101 @@
import weather from 'https://cdn.skypack.dev/openweather-apis';
import vueWeatherWidget from 'https://cdn.skypack.dev/vue-weather-widget';
weather.setLang('en');
//weather.setCityId(4367872);
weather.setCity('Zürich, CH');
weather.setUnits('metric');
weather.setAPPID('e242774170c5404aac3dcfe4d3686fd0');
// get the Temperature
weather.getTemperature(function(err, temp){
console.log(temp);
});
// get the Atm Pressure
weather.getPressure(function(err, pres){
console.log(pres);
});
// get the Humidity
weather.getHumidity(function(err, hum){
console.log(hum);
});
// get the Description of the weather condition
weather.getDescription(function(err, desc){
console.log(desc);
});
// get all the JSON file returned from server (rich of info)
weather.getAllWeather(function(err, JSONObj){
console.log(JSONObj);
});
// Adds support for the onecall api endpoint.
weather.getWeatherOneCall = function(err, data){
};
// get 3 days forecast
weather.getWeatherForecastForDays(3, function(err, obj){
console.log(obj);
});
// get a simple JSON Object with temperature, humidity, pressure and description
weather.getSmartJSON(function(err, smart){
console.log(smart);
});
Vue(() => {
<template>
<vue-weather api-key="e242774170c5404aac3dcfe4d3686fd0" units="fr" />
<vue-weather api-key="e242774170c5404aac3dcfe4d3686fd0" use-dark-sky-api units="fr" />
</template>
default {
components: {
vueWeatherWidget,
},
};
});
return (
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"
></script>
<script
type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.4.0/vue.js"
></script>
<!-- vue-weather-widget -->
<script type="text/javascript" src="vue-weather-widget.js"></script>
<link href="vue-weather-widget.css" rel="stylesheet" />
<!-- Vue app -->
<div id="app">
<weather
api-key="e242774170c5404aac3dcfe4d3686fd0"
latitude="47.3667"
longitude="8.55"
language="en"
units="fr"
>
</weather>
</div>
new Vue({
el: "#app",
components: {
weather: VueWeatherWidget,
},
});
);

@ -8,6 +8,10 @@ JSXExample: "Hello JSX!"
`jsx- <WithFrontMatter render={({JSXExample})=><h1>The value of hello is "{JSXExample}"</h1>}/>` `jsx- <WithFrontMatter render={({JSXExample})=><h1>The value of hello is "{JSXExample}"</h1>}/>`
```jsx:
<Weather />
```
[Forum](https://forum.obsidian.md) [Forum](https://forum.obsidian.md)

@ -0,0 +1,89 @@
---
Tag: ["Novel", "HistoricFiction"]
Date: 2022-01-09
DocType: "Source"
Hierarchy: "NonRoot"
TimeStamp:
location:
Source:
Type: "Book"
Author: "Laurent Binet"
Language: FR
Published: 2010
Link: https://www.babelio.com/livres/Binet-Civilizations/1147797
Read:
Cover: https://img.over-blog-kiwi.com/0/93/28/90/20200112/ob_d06175_civilizations-binet.jpg
CollapseMetaTable: yes
---
Parent:: [[@Reading master|Reading list]]
ReadingState:: In progress
---
&emsp;
```button
name Edit Source parameters
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
^button-SourceEdit
```button
name Save
type command
action Save current file
id Save
```
^button-TNSave
&emsp;
# Civilizations
&emsp;
```ad-abstract
title: Summary
collapse: open
Lien : On a bien envie d'en savoir plus, après s'être un peu ennuyé sur la partie invasion des Vikings, et beaucoup sur les aventures de Christophe Colomb.
```
&emsp;
```toc
style: number
```
&emsp;
---
&emsp;
### Cover
&emsp;
```dataviewjs
dv.el("span", "![](" + dv.current().Source.Cover + ")")
```
&emsp;
---
&emsp;
### Notes
&emsp;
Loret ipsum
&emsp;
&emsp;

@ -12,13 +12,13 @@ Source:
Language: FR Language: FR
Published: 2011 Published: 2011
Link: https://fr.wikipedia.org/wiki/Dans_les_for%C3%AAts_de_Sib%C3%A9rie Link: https://fr.wikipedia.org/wiki/Dans_les_for%C3%AAts_de_Sib%C3%A9rie
Read: Read: 2022-01-09
Cover: https://static.fnac-static.com/multimedia/Images/FR/NR/bc/ea/48/4778684/1507-0/tsp20191019070329/Dans-les-forets-de-Siberie.jpg Cover: https://static.fnac-static.com/multimedia/Images/FR/NR/bc/ea/48/4778684/1507-0/tsp20191019070329/Dans-les-forets-de-Siberie.jpg
CollapseMetaTable: yes
--- ---
Parent:: [[@Reading master|Reading list]] Parent:: [[@Reading master|Reading list]]
ReadingState:: In progress
--- ---
@ -84,5 +84,19 @@ dv.el("span", "![](" + dv.current().Source.Cover + ")")
- [ ] [[Dans les forêts de Sibérie]]: Reprendre la liste de livres, pages 33-35 - [ ] [[Dans les forêts de Sibérie]]: Reprendre la liste de livres, pages 33-35
&emsp;
```ad-quote
title: p88, édition Folio
> Le luxe n'est pas un état mais le passage d'une ligne, le seuil où, soudain, disparait toute souffrance.
```
&emsp;
```ad-quote
title: John Burroughs, p225, édition Folio
> Le ton avec lequel nous parlons au monde est celui qu'il emploie avec nous. Qui donne le meilleur reçoit le meilleur.
```
&emsp; &emsp;
&emsp; &emsp;

Binary file not shown.
Loading…
Cancel
Save