Skip to content
View LcJuves's full-sized avatar
πŸ‘‹
Love creation.
πŸ‘‹
Love creation.

Block or report LcJuves

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
LcJuves/README.md

Hi there πŸ‘‹

My feature programming languages

Rust ZIG Java Dart

/**
 * Created at 2020/8/22 20:40
 *
 * @author Liangcheng Juves
 */
fn main() {
    print!("hello,world\n");
}
/**
 * Created at 2020/9/15 15:14
 *
 * @author Liangcheng Juves
 */
use std::io::{stdout, Result, Write};
use std::thread::sleep;
use std::time::Duration;

fn main() -> Result<()> {
    const BAR_LAB: &str = "-\\|/";
    for perc in 0..=100 {
        print!(
            "\r {} \u{1b}[42m{}\u{1b}[0m [ {}% ] ",
            BAR_LAB.chars().nth(perc % 4).unwrap(),
            " ".repeat(perc / 2),
            perc
        );
        stdout().flush()?;
        sleep(Duration::from_micros(60_000));
    }
    println!();
    Ok(())
}
/**
 * Created at 2020/11/16 22:49
 *
 * @author Liangcheng Juves
 */
use std::io::{stdout, Result, Write};
use std::thread::sleep;
use std::time::{Duration, SystemTime, UNIX_EPOCH};

fn main() -> Result<()> {
    loop {
        print!(
            "\r{}",
            SystemTime::now()
                .duration_since(UNIX_EPOCH)
                .unwrap()
                .as_secs()
        );
        sleep(Duration::from_micros(300));
        stdout().flush()?
    }
}

Popular repositories Loading

  1. lcjuves lcjuves Public

    Show me something

    Shell 3 1

  2. blog blog Public

    My personal blog

    HTML 2

  3. macos-cross-compiler macos-cross-compiler Public

    Forked from tpoechtrager/osxcross

    Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)

    C++ 1

  4. linux-kernel linux-kernel Public

    Forked from torvalds/linux

    Linux kernel source tree

    C

  5. odb odb Public

    Provide shared resources to the outside world

    JavaScript

  6. llvm llvm Public

    Forked from llvm/llvm-project

    The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at…