Skip to content

Instantly share code, notes, and snippets.

View monperrus's full-sized avatar

Martin Monperrus monperrus

View GitHub Profile
@monperrus
monperrus / export-nextcloud-notes-to-enex.py
Last active August 2, 2024 06:00
export Nextcloud Notes to the Enex file format for importing into Evernote or Joplin
#!/usr/bin/python3
# export Nextcloud Notes to the Enex file format for importing into Evernote or Joplin
#
# in Joplin use File > Import > ENEX - EverNote Export File (as Markdown)
#
# reference documentation about ENEX file format: https://evernote.com/blog/how-evernotes-xml-export-format-works
#
# Author: Martin Monperrus
# License: Public domain
# URL: https://gist.github.com/monperrus/93b5fe05025a726b13f64a971e9127c2

what is research taste?

"Research taste" is a term that refers to a researcher's ability to identify and pursue high-quality, impactful, and innovative research questions and projects. It encompasses several attributes:

  1. Judgment: The ability to discern which problems are worth solving and which questions are likely to lead to significant advancements in the field.
  2. Creativity: The capacity to think outside the box and come up with novel approaches and ideas.
  3. Knowledge: A deep understanding of the current state of the field, including key theories, methodologies, and findings.
  4. Intuition: An almost instinctive sense of what will work and what won't, often developed through experience.
  5. Relevance: The ability to choose research topics that are not only interesting but also relevant to current societal, scientific, or technological needs.
curl 'https://www.computer.org/csdl/api/v1/graphql' -X POST --data-raw '{"variables":{"articleId":"1WXSS1AygtG"},"query":"query ($articleId: String!) {\n issue: periodicalIssueByArticleId(articleId: $articleId) {\n id\n title\n year\n issueNum\n idPrefix\n pubType\n volume\n year\n label\n downloadables {\n hasCover\n __typename\n }\n __typename\n }\n article: articleById(articleId: $articleId) {\n id\n doi\n abstract\n abstracts {\n abstractType\n content\n __typename\n }\n normalizedAbstract\n title\n normalizedTitle\n fno\n hasPdf\n idPrefix\n keywords\n authors {\n givenName\n surname\n fullName\n affiliation\n __typename\n }\n replicability {\n isEnabled\n codeDownloadUrl\n codeRepositoryUrl\n __typename\n }\n showBuyMe\n showRecommendedArticles\n isOpenAccess\n issueNum\n pubDate\n pubType\n pages\n year\n issn\n isbn\
@monperrus
monperrus / bitmex.log
Created April 30, 2024 12:31
excepert of BitMex proof-of-reserve YAML file
height:
839754
blockhash:
0000000000000000000282707ec0ca6233e6dc44ee01e784a49bbfa1a98022cb
chain:
main
claim:
m: 3
n: 4
total:
@monperrus
monperrus / okx_por_2024041301.csv
Created April 30, 2024 11:04
OKx proof of reserve CSV (first lines)
coin amount
TONCOIN-NEW 42989694
BCHN 235624
ETH 1172412
UNI 11894747
FIL 66966103
USDC 198328589
EOS 90160677
DOT 23506117
ETC 5628678
@monperrus
monperrus / busctl.log
Created April 30, 2024 05:26
busctl tree org.freedesktop.systemd1
└─/org
└─/org/freedesktop
├─/org/freedesktop/LogControl1
└─/org/freedesktop/systemd1
├─/org/freedesktop/systemd1/job
│ └─/org/freedesktop/systemd1/job/7898
└─/org/freedesktop/systemd1/unit
├─/org/freedesktop/systemd1/unit/ModemManager_2eservice
├─/org/freedesktop/systemd1/unit/NetworkManager_2dwait_2donline_2eservice
├─/org/freedesktop/systemd1/unit/NetworkManager_2eservice
@monperrus
monperrus / 0x3fb60ad76992222e540200f1d514509845a1d195.sol
Created April 29, 2024 09:56
etherscan data of 0x3fb60ad76992222e540200f1d514509845a1d195.txt
>>>>>>creator_addr:
0x5f40c0104527c79ac98281acc8b3901d62f941c2
>>>>>>creator_trans_hash:
0xe1f43b4c16e93776ddba47b9e44eb490d47ff7efbc11bd3628b9f2c8952adca8
>>>>>>contract_name:
Contributor
>>>>>>compiler_version:
@monperrus
monperrus / Google Takeout for Chrome History.json
Created April 9, 2024 09:02
JSON Data format of Google Takeout for Chrome Browser History
{
"Browser History": [
{
"favicon_url": "https://cdn.semanticscholar.org/3467f6265edeea1b/img/darkmode/apple-touch-icon-152x152.png",
"page_transition": "LINK",
"title": "Research Dashboard | Semantic Scholar",
"ptoken": {},
"url": "https://www.semanticscholar.org/me/research",
"client_id": "haZcHX/Q4yroJPDOP3OmDw==",
"time_usec": 1712091511057699
@monperrus
monperrus / mlton.txt
Created March 17, 2024 06:33
mlton --help mlton-20210117-1.amd64-linux-glibc2.23/bin/mlton
$ mlton --help
MLton 20210117
usage: mlton [option ...] file.{c|mlb|o|sml} [file.{c|o|s|S} ...]
-align {8|4} object alignment
-as-opt <opt> pass option to assembler
-cc-opt <opt> pass option to C compiler
-codegen {native|amd64|c|llvm} which code generator to use
-const '<name> <value>' set compile-time constant
-default-ann <ann> set annotation default for mlb files
-default-type '<ty><N>' set default type
@monperrus
monperrus / errors.txt
Created March 17, 2024 05:43
abc compilation errors with mlton see https://github.com/monperrus/abc/
/tmp/mlton-20210117-1.amd64-linux-glibc2.23/bin/mlton -output abc.exe abc.mlb
Error: ../sml-lib/port/mlton.sml 3.19-3.22.
Variable in structure disagrees with signature (type): memorySize.
structure: val memorySize: _ -> [LargeInt.int]
defn at: ../sml-lib/port/mlton.sml 18.7-18.16
signature: val memorySize: _ -> [int]
spec at: ../sml-lib/port/port-sig.sml 25.7-25.16
Error: ckit/parser/util/old-pp.sml 63.20-63.83.
Variable in argument signature but not in structure: Device.ellipses.
signature: val Device.ellipses: {consumer: string -> unit,