This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**laptop** | |
``` | |
$ findmnt | |
TARGET SOURCE FSTYPE OPTIONS | |
/ /dev/mapper/cryptroot[/@] btrfs rw,relatime,compress=lzo,ssd,space_cache,subvolid=257,subvol=/@ | |
├─/proc proc proc rw,nosuid,nodev,noexec,relatime | |
│ └─/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=397 | |
│ └─/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime | |
├─/sys sys sysfs rw,nosuid,nodev,noexec,relatime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use crate::storage::StoreableItem; | |
#[cfg(debug_assertions)] | |
use crate::wrapper::time; | |
use anyhow::bail; | |
use embedded_svc::http::client::{Client, Request, RequestWrite, Response}; | |
use embedded_svc::http::{SendHeaders, Status}; | |
use embedded_svc::io; | |
use esp_idf_svc::http::client::{EspHttpClient, EspHttpClientConfiguration}; | |
use log::{debug, error}; | |
use rust_decimal::Decimal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="UTF-8"/> | |
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700|Source+Code+Pro:300,400,700&display=swap"/> | |
</head> | |
<body style="margin:0"> | |
<div id="redoc"></div> | |
<script> | |
const SPEC = "%7B%22openapi%22:%223.0.2%22,%22info%22:%7B%22title%22:%22Example%20OpenAPI%20Specification%22,%22version%22:%220.0.0%22%7D,%22servers%22:%5B%7B%22url%22:%22http://127.0.0.1:7878%22%7D%5D,%22paths%22:%7B%22//ints%22:%7B%22post%22:%7B%22operationId%22:%22create_ints%22,%22requestBody%22:%7B%22content%22:%7B%22application/json%22:%7B%22schema%22:%7B%22$ref%22:%22%23/components/schemas/LotsOfInts%22%7D%7D%7D,%22required%22:true%7D,%22responses%22:%7B%22200%22:%7B%22description%22:%22OK%22,%22content%22:%7B%22application/json%22:%7B%22schema%22:%7B%22$ref%22:%22%23/components/schemas/LotsOfInts%22%7D%7D%7D%7D%7D%7D%7D,%22//strings%22:%7B%22post%22:%7B%22operationId%22:%22create_strings%22,%22requestBody%22:%7B%22content%22:%7B%22applicat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use gotham::{ | |
handler::HandlerError, | |
hyper::{Body, Response, StatusCode}, | |
router::builder::*, | |
state::State, | |
}; | |
async fn foo_handler(_state: &mut State) -> Result<Response<Body>, HandlerError> { | |
let mut res = Response::new(Body::empty()); | |
*res.status_mut() = StatusCode::NO_CONTENT; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; generated by Slic3r 1.3.1-dev (Build 66af505) on 2019-09-05 at 22:56:15 | |
; external perimeters extrusion width = 0.50mm (5.95mm^3/s) | |
; perimeters extrusion width = 0.50mm (8.92mm^3/s) | |
; infill extrusion width = 0.50mm (11.90mm^3/s) | |
; solid infill extrusion width = 0.60mm (4.59mm^3/s) | |
; top infill extrusion width = 0.40mm (2.27mm^3/s) | |
M107 | |
M190 S60 ; set bed temperature and wait for it to be reached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext.exposedVersion = '0.9.0' | |
ext.h2Version = '1.4.196' | |
ext.jacksonVersion = '2.9.0' | |
ext.kotlinVersion = '1.2.10' | |
ext.logbackVersion = '1.2.3' | |
repositories { | |
jcenter() | |
} |