LIST where file.ctime >= date(this.file.day) AND file.ctime < (date(this.file.day) + dur(1 day))
LIST where
file.mtime >= date(this.file.day)
AND
| javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
| use std::fs::remove_file; | |
| use std::{fs::File, io::Read}; | |
| use rustyline::{config::Configurer, Editor}; | |
| fn main() { | |
| test(1); | |
| test(100); | |
| } |
| use std::fs::File; | |
| use nu_errors::ShellError; | |
| use nu_plugin::{serve_plugin, Plugin}; | |
| use nu_protocol::{CallInfo, ReturnValue, Signature, SyntaxShape}; | |
| struct FromJson; | |
| impl Plugin for FromJson { | |
| fn config(&mut self) -> Result<Signature, ShellError> { |
| DEBUG 2018-10-04T19:08:08Z: cargo::core::registry: load/missing https://git.corp.com/tools/logging-helper#b0cb6965 | |
| DEBUG 2018-10-04T19:08:08Z: cargo::core::registry: loading source https://git.corp.com/tools/logging-helper#b0cb6965 | |
| DEBUG 2018-10-04T19:08:08Z: cargo::sources::config: loading: https://git.corp.com/tools/logging-helper#b0cb6965 | |
| TRACE 2018-10-04T19:08:08Z: cargo::core::source::source_id: loading SourceId; https://git.corp.com/tools/logging-helper#b0cb6965 | |
| Updating git repository `https://git.corp.com/tools/logging-helper` | |
| TRACE 2018-10-04T19:08:08Z: cargo::sources::git::source: updating git source `GitRemote { url: "https://git.corp.com/tools/logging-helper" }` | |
| DEBUG 2018-10-04T19:08:08Z: cargo::sources::git::utils: skipping gc as there's only 0 pack files | |
| DEBUG 2018-10-04T19:08:08Z: cargo::sources::git::utils: doing a fetch for https://git.corp.com/tools/logging-helper | |
| DEBUG 2018-10-04T19:08:08Z: cargo::sources::git::utils: initiating fetch of refs/heads/*:refs/heads/* from https://git.corp |
| def greater_than_5(x): | |
| return x > 5 |
| // From https://github.com/tailhook/quick-error | |
| #[macro_export] | |
| macro_rules! quick_error { | |
| ( $(#[$meta:meta])* | |
| pub enum $name:ident { $($chunks:tt)* } | |
| ) => { | |
| quick_error!(SORT [pub enum $name $(#[$meta])* ] | |
| items [] buf [] | |
| queue [ $($chunks)* ]); |
| { | |
| "builders": [ | |
| { | |
| "type": "docker", | |
| "image": "frolvlad/alpine-python3", | |
| "export_path": "image.tar" | |
| } | |
| ], | |
| "provisioners": [ | |
| { |
| provider "docker" { | |
| host = "unix:///var/run/docker.sock" | |
| } | |
| resource "docker_container" "foo" { | |
| image = "${docker_image.alpine.latest}" | |
| name = "foo" | |
| command = ["/bin/cat", "/etc/issue"] | |
| } |