Skip to content

Instantly share code, notes, and snippets.

use anyhow::Result;
use futures::{executor::ThreadPool, task::SpawnExt};
#[async_std::main]
async fn main() -> Result<()> {
let pool = ThreadPool::new()?;
let fut = async {
let resp = surf::get("https://google.com").await;
println!("{:?}", resp);
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
use std::mem::transmute;
use named_type::NamedType;
use named_type_derive::NamedType;
use std::collections::HashMap;
type Stored = Box<()>;
#[derive(Debug)]
pub struct AnyMap(HashMap<&'static str, Stored>);
#![recursion_limit = "1280"]
use std::marker::PhantomData;
struct Zero;
struct Succ<T> {
pred: PhantomData<T>,
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Clozapine
RDKit 3D
42 45 0 0 0 0 0 0 0 0999 V2000
-3.8764 -2.9678 -0.3091 C 0 0 0 0 0 0 0 0 0 0 0 0
-4.7465 -2.2072 0.4611 C 0 0 0 0 0 0 0 0 0 0 0 0
-4.2933 -1.0202 1.0378 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.9696 -0.5787 0.8449 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0886 -1.3636 0.0746 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.5599 -2.5565 -0.4933 C 0 0 0 0 0 0 0 0 0 0 0 0
benzene
RDKit 3D
12 12 0 0 0 0 0 0 0 0999 V2000
0.7943 -1.1490 0.0150 C 0 0 0 0 0 0 0 0 0 0 0 0
1.3607 0.1298 -0.0022 C 0 0 0 0 0 0 0 0 0 0 0 0
0.5898 1.2681 -0.0170 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.7866 1.1450 -0.0149 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3413 -0.1124 0.0019 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.5806 -1.2656 0.0170 C 0 0 0 0 0 0 0 0 0 0 0 0