从loop1开始
https://github.com/bczhc/rust/tree/master/apps/image-track
| POST http://www.xiaoyuananquantong.com/guns-vip-main/wap/test/create | |
| Accept: */* | |
| Accept-Language: en-US,en;q=0.9 | |
| Cache-Control: no-cache | |
| Connection: keep-alive | |
| Content-Length: 53 | |
| Content-Type: application/x-www-form-urlencoded;charset=UTF-8 | |
| Cookie: rememberMe=tnuKeMQDEM3PLbxOXeyTX+0eAZqo+hi+Pk4cDrmh24ALBCEjn16P/cTEsJ2BxhpLL/+qszyXzwHuzQMwsKv6xdjriQYHwhHC4lrmKdXGlha1CUzrcT6hRAi7djqQYgm3hFqPeyerlsblhPxwGN7ekr5Grz6U+MQ7F1HF389dQ2SNJ8IsIFPbXdFHd6EiZhzabebOQ3YKn0HZJpRdh35HiACdSx3K85NMCgchmk7o1Ye66mi5hv17f3Bk7xOWAB+18MoFbKv3DUKxQNrMWHRpyyZg2DXzJKwl5EwefIbyDDaEHNzwv7vAHTvXqNoba6W+XUyL3dwzCqKeHgNnkqR1jrVnmtPDDB7mgakfh6qfIFKWDd+ECpXvGwaMj1ZTxvO+fzOQ61K06eWhDmNRp8OoiVKFAMa5vvPrVjcINeHUr9wyzjKZZ5vPijd5TTlSbq70OtAU3aOnMGxrvGEqDQfSemsyvO2ufXTEm5F1cwQr5GkB4zSbdXXuebC/qDL6UWS4VPDTinAo2KkKgRGmNS5rWym2+po1qgyWol6+LM5bMingKblsCcofQABCeWseqFMaKSvEFtjUE20EbIbcTinOSIdMiUkVLmHxCvB/fTf5E8X6vwo6OmVN1xAMUo8943XFlXppiP70//a1udnSCrznHGkxTGlu9YkArE/4eNv2UvbrHbgKuaP72xyXMwiMEWQXNcPtm1fREwCyqq31l8rbDhqQ2mslC4z2HW5CR1a/pl8Jsy5XFpkQWytosuhf |
| #!/usr/bin/env python3 | |
| # noinspection PyUnresolvedReferences | |
| from paddlespeech.cli.asr.infer import ASRExecutor | |
| import fileinput | |
| import os.path | |
| import subprocess | |
| from pathlib import Path | |
| BASE_OUTPUT_DIR = './ppasr' |
| use alsa::nix::errno::Errno; | |
| use alsa::pcm::{Access, Format, HwParams}; | |
| use alsa::{Direction, ValueOr, PCM}; | |
| use byteorder::{ByteOrder, LittleEndian}; | |
| use std::fs::File; | |
| use std::io::{BufReader, ErrorKind, Read}; | |
| fn main() { | |
| let file = File::open("/dev/sr0").unwrap(); |
| use rusqlite::{params, Connection}; | |
| use std::collections::LinkedList; | |
| #[derive(Debug)] | |
| struct Diary { | |
| date: u32, | |
| content: String, | |
| } | |
| fn main() { |
| use std::process::Command; | |
| use gtk::prelude::*; | |
| use gtk::{Adjustment, Application, ApplicationWindow, Orientation, Scale}; | |
| fn main() { | |
| let app = Application::builder() | |
| .application_id("pers.zhc.screentemperature") | |
| .build(); | |
| app.connect_activate(|app| { |
| Manipulate[Module[{circleO$, circleR$, tangentP$}, circleO$ = {3 - 3*t, 3*t}; tangentP$ = resultF[t]; | |
| circleR$ = distance[circleO$, tangentP$]; Graphics[{Circle[{0, 0}, {2, 1}], Line[{{0, 3}, {3, 0}}], | |
| Point[circleO$], Circle[circleO$, circleR$], Point[tangentP$]}, PlotRange -> {{-2, 3}, {-1, 3}}, | |
| Frame -> True, GridLines -> Automatic]], {{t, 0.40900000000000003}, 0, 1}, | |
| Initialization :> | |
| {resultF[t_] := {Root[-64 + 128*t - 64*t^2 + (32 - 32*t)*#1 + (12 - 32*t + 20*t^2)*#1^2 + (-8 + 8*t)*#1^3 + | |
| #1^4 & , 2], (1/2)*Sqrt[4 - Root[-64 + 128*t - 64*t^2 + (32 - 32*t)*#1 + (12 - 32*t + 20*t^2)*#1^2 + | |
| (-8 + 8*t)*#1^3 + #1^4 & , 2]^2]}, distance[{x1_, y1_}, {x2_, y2_}] := | |
| Sqrt[(x1 - x2)^2 + (y1 - y2)^2]}] |
| U' F' D2 L B2 F2 L2 U2 B2 R D2 U2 R B' U' L D B U' R' | |
| y' z' // inspection | |
| U' R U' (B F') // FB | |
| r' U' M2' U R' U' R2 // SS | |
| U' R U M' U R' U' r U r' // SB | |
| U R U2' R2' F R F' U2 R' F R F' // CMLL | |
| U' M' // EO | |
| U M U2' M' U M' U2' M' U // ULUR | |
| M U2' M' U2' // EP |
| diff --git a/exercises/clippy/clippy1.rs b/exercises/clippy/clippy1.rs | |
| index bad4689..21271c8 100644 | |
| --- a/exercises/clippy/clippy1.rs | |
| +++ b/exercises/clippy/clippy1.rs | |
| @@ -6,12 +6,11 @@ | |
| // check clippy's suggestions from the output to solve the exercise. | |
| // Execute `rustlings hint clippy1` or use the `hint` watch subcommand for a hint. | |
| -// I AM NOT DONE | |
| #!/usr/bin/env ruby | |
| # 青年大学习 查询成绩单 更新laravel_session | |
| require 'net/http' | |
| LARAVEL_SESSION_FILE = './dxx-laravel_session' | |
| # @return [String] | |
| def read_laravel_session |