From 113c4fbd0c7ccce5b78f1b35a46c5efb72b0174e Mon Sep 17 00:00:00 2001 From: matze Date: Wed, 15 Mar 2023 17:44:12 +0100 Subject: [PATCH] [logseq-plugin-git:commit] 2023-03-15T16:44:12.371Z --- .../2023-03-15T16_44_07.382Z.Desktop.md | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 logseq/bak/journals/2023_01_23/2023-03-15T16_44_07.382Z.Desktop.md diff --git a/logseq/bak/journals/2023_01_23/2023-03-15T16_44_07.382Z.Desktop.md b/logseq/bak/journals/2023_01_23/2023-03-15T16_44_07.382Z.Desktop.md new file mode 100644 index 00000000..ee651059 --- /dev/null +++ b/logseq/bak/journals/2023_01_23/2023-03-15T16_44_07.382Z.Desktop.md @@ -0,0 +1,51 @@ +id:: 63dd10d0-01d5-4d70-bd19-e86c04a161a1 + + - https://docs.google.com/document/d/16DLDEhtNiugD5Bp1ICCdfLc_hmNuU4qNRyLkRqM06Ew/edit + - subjunctive mood + - express strong wish / recommendation + - very formal more in a.e. than b.e + - used (primarily) in writing + - The verb is in the base form for all subjects. + - The verb is in the base form even if the first verb is in the past. + *He suggested that I go to the event.* + - The word *that* is optional. + *He insisted that I be there.** + **He insisted I be there.* + - The verbs above can be used with other structures as well. + - bare infinitive + id:: a55e39ce-e45f-4aba-93a6-c946b2fbd120 + - ``` + My supervisor suggested (that) we have fewer meetings. + Our teacher recommends (that) we speak in English every day. + I ask that he be on time. + It is important (that) we be on time. + ``` + - advise (that)… + ask (that)… + demand (that)… + insist (that)… + propose (that)… + recommend (that)… + request (that)… + suggest (that)… + urge (that)… + It is crucial (that)… + it is essential (that)… + It is important (that)… + - Example Sentences: + - I urge that we resolve this asap + We propose to improve feature + I advise we spend less time in meetings +- +- Check Mime Type [[Code Snippet]] [[Java]] + - ``` java + public static void main(String[] args) throws IOException { + final File file = new File("c:\\tmp\\tst.csv"); + System.out.println(new FileDataSource(file).getContentType()); + System.out.println(Files.probeContentType(file.toPath())); + System.out.println(file.toURL().openConnection().getContentType()); + System.out.println(URLConnection.guessContentTypeFromName(file.getName())); + System.out.println(URLConnection.getFileNameMap().getContentTypeFor(file.getName())); + System.out.println(new MimetypesFileTypeMap().getContentType(file.getName())); + } + ``` \ No newline at end of file