Giter Site home page Giter Site logo

nerdfix's Introduction

👋 Hi there | 你好呀 (˵ •̀ ᴗ - ˵ ) ✧

Twitter Follow Reddit User Karma GitHub Followers Visitor Count

impl LoiChyan {
    pub fn new() -> Self {
        Self {
          sign: "Lion",
          // 星座: 狮子座
          role: "Student",
          // 职位: 学生
          lang: ["zh_CN", "en_US"],
          // 语言:中文/英文
        }
    }

    pub fn say_hi(&self) {
        println!("
            Thanks for dropping by, hope you find some of my work interesting!
        ");
        //  谢谢你的关注,希望你对我的工作感兴趣!
    }

    pub fn status(&self) {
        println!("
            1) English is not my first language, but I am striving to communicate
               my thoughts clearly and politely :)

            2) I am new to the world of open source, and any attention and suggestions
               would be highly appreciated!
        ");
        //  1) 我的母语并非英语,不过我会尽力清晰、友善地表达我的想法 :)
        //
        //  2) 在开源世界,我还是个新手,非常感谢你的关注和建议!
    }

    pub fn future_goal(&self) {
        println!("
            Deep dive into real-time search technology.
        ");
        //  深入研究实时搜索技术。
    }
}

😎 A little more about me | 关于我的碎碎念

  • 📚 A self-taught developer, loving and enjoying open source!
      一个自学的开发者,热爱开源!
  • ♎ A super fanboy of static types and functional programming
      一个静态类型 & 函数式编程的忠实粉丝
  • 🎮 A player of Overwatch, heroes never die!
      一个平平无奇的守望玩家,英雄不朽!
  • 😽 Spending a lot of time on funny memes lol
      沉迷梗图,无法自拔,哈哈哈
  • 🎧 Really into dream pop, shoegaze and folk music 🤘
      超喜欢梦幻流行、自赏摇滚和民谣 🤘

Life is tricky, stay in your magic :D
即使生活狡黠,也要保持快乐魔法 :D

🛠️ Languages and tools | 语言和工具


Code Time

Profile Views

Lines of code

🐱 My GitHub Data

📦 4.9 kB Used in GitHub's Storage

🏆 246 Contributions in the Year 2024

💼 Opted to Hire

📜 29 Public Repositories

🔑 3 Private Repositories

I'm an Early 🐤

🌞 Morning                825 commits         ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   35.20 % 
🌆 Daytime                1017 commits        ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   43.39 % 
🌃 Evening                499 commits         ⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   21.29 % 
🌙 Night                  3 commits           ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.13 % 

📅 I'm Most Productive on Thursday

Monday                   332 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   14.16 % 
Tuesday                  320 commits         ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   13.65 % 
Wednesday                327 commits         ⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   13.95 % 
Thursday                 409 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   17.45 % 
Friday                   398 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   16.98 % 
Saturday                 336 commits         ⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   14.33 % 
Sunday                   222 commits         ⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   09.47 % 

📊 This Week I Spent My Time On

🕑︎ Time Zone: Asia/Shanghai

💬 Programming Languages: 
Lua                      22 hrs 47 mins      ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀   97.11 % 
RPMSpec                  19 mins             ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   01.38 % 
Markdown                 15 mins             ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   01.07 % 
Text                     2 mins              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.19 % 
JSON                     2 mins              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.15 % 

🔥 Editors: 
Neovim                   23 hrs 26 mins      ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿   99.90 % 
VS Code                  1 min               ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.10 % 

🐱‍💻 Projects: 
pde                      22 hrs 8 mins       ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀   94.40 % 
astroui                  54 mins             ⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   03.89 % 
packages                 19 mins             ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   01.38 % 
AstroNvim                3 mins              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.24 % 
pizza                    0 secs              ⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   00.07 % 

💻 Operating System: 
Linux                    23 hrs 27 mins      ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿   100.00 % 

I Mostly Code in Rust

Rust                     10 repos            ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   47.62 % 
Lua                      5 repos             ⣿⣿⣿⣿⣿⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   23.81 % 
Shell                    1 repo              ⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   04.76 % 
Go                       1 repo              ⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   04.76 % 
Nix                      1 repo              ⣿⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀⣀   04.76 % 

Last Updated on 05/05/2024 23:11:23 UTC

These Readme stats are generated using the github action waka-readme-stats.

nerdfix's People

Contributors

loichyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nerdfix's Issues

no report output

Thank you for the package!

I'm using nerdfix on my popos linux system. I believe I am running it correctly and it appears to run correct (see message below) however it doesn't generate a report at all.

I am using:

nerdfix 0.3.1
cheat-sheet: b5bf856

What am I missing?

 nerdfix check -r R

Running the above generates the below output

 INFO nerdfix::runtime: Check input file 'R/utils-pipe.R'
 INFO nerdfix::runtime: Check input file 'R/contoso_dim_date.R'
 INFO nerdfix::runtime: Check input file 'R/contoso_dim_product.R'
 INFO nerdfix::runtime: Check input file 'R/contoso_dim_promotion.R'
 INFO nerdfix::runtime: Check input file R/contoso_dim_product_subcategory.R'
 INFO nerdfix::runtime: Check input file 'R/divide.R'
 INFO nerdfix::runtime: Check input file 'R/totalytd.R'
 INFO nerdfix::runtime: Check input file 'R/contoso_fact_sales.R'
 INFO nerdfix::runtime: Check input file 'R/contoso_dim_channel.R'
 INFO nerdfix::runtime: Check input file 'R/new_vs_returning.R'
 INFO nerdfix::runtime: Check input file 'R/abc.R'
 INFO nerdfix::runtime: Check input file 'R/count_plus.R'
 INFO nerdfix::runtime: Check input file 'R/show_in_excel.R'
 INFO nerdfix::runtime: Check input file 'R/time_intelligence.R'
 INFO nerdfix::runtime: Check input file 'R/datasets.R'
 INFO nerdfix::runtime: Check input file 'R/abc_graph.R'
 INFO nerdfix::runtime: Check input file 'R/calculate.R'
 INFO nerdfix::runtime: Check input file 'R/clean_file_names.R'
 INFO nerdfix::runtime: Check input file 'R/make_segmentation.R'

but then I'm returned to my command prompt without any additional outputs

Thoughts?

0.3.0 tests fail

Hello,

The tests fails with the latest release:

$ cargo test
    Finished test [unoptimized + debuginfo] target(s) in 0.05s
     Running unittests src/main.rs (target/debug/deps/nerdfix-f43ad6ff20021f57)

running 3 tests
test icon::tests::icon_from_str ... ok
test icon::tests::icon_to_str ... ok
test parser::tests::parser ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/cli.rs (target/debug/deps/cli-69cee76f507f960a)

running 3 tests
test check_with_input ... ok
test check_json ... ok
test check ... FAILED

failures:

---- check stdout ----
thread 'check' panicked at 'Unexpected stdout, failed fn(var)

command=`"/home/sanpi/projects/arch/nerdfix/src/nerdfix-0.3.0/target/debug/nerdfix" "check" "tests/test-data.txt"`
code=0
stdout=<84 lines total>
```
\u{1b}[0m\u{1b}[1m\u{1b}[38;5;10mnote\u{1b}[0m\u{1b}[1m: Found obsolete icon U+F752\u{1b}[0m
  \u{1b}[0m\u{1b}[34m┌─\u{1b}[0m tests/test-data.txt:1:27
  \u{1b}[0m\u{1b}[34m│\u{1b}[0m
\u{1b}[0m\u{1b}[34m1\u{1b}[0m \u{1b}[0m\u{1b}[34m│\u{1b}[0m nf-mdi-folder_multiple = \"\u{1b}[0m\u{1b}[32m\u{f752}\u{1b}[0m\"
  \u{1b}[0m\u{1b}[34m│\u{1b}[0m                           \u{1b}[0m\u{1b}[32m^\u{1b}[0m \u{1b}[0m\u{1b}[32mIcon \'nf-mdi-folder_multiple\' is marked as obsolete\u{1b}[0m
  \u{1b}[0m\u{1b}[34m│\u{1b}[0m
  \u{1b}[0m\u{1b}[34m=\u{1b}[0m You could replace it with:
        1. \u{f0253} U+F0253 nf-md-folder_multiple
        2. \u{f13d3} U+F13D3 nf-md-folder_star_multiple
        3. \u{f0254} U+F0254 nf-md-folder_multiple_image
        4. \u{f147e} U+F147E nf-md-folder_multiple_plus

\u{1b}[0m\u{1b}[1m\u{1b}[38;5;10mnote\u{1b}[0m\u{1b}[1m: Found obsolete icon U+F719\u{1b}[0m
  \u{1b}[0m\u{1b}[34m┌─\u{1b}[0m tests/test-data.txt:4:29
  \u{1b}[0m\u{1b}[34m│\u{1b}[0m
\u{1b}[0m\u{1b}[34m4\u{1b}[0m \u{1b}[0m\u{1b}[34m│\u{1b}[0m nf-mdi-file_document_box = \"\u{1b}[0m\u{1b}[32m\u{f719}\u{1b}[0m\"
  \u{1b}[0m\u{1b}[34m│\u{1b}[0m                             \u{1b}[0m\u{1b}[32m^\u{1b}[0m \u{1b}[0m\u{1b}[32mIcon \'nf-mdi-file_document_box\' is marked as obsolete\u{1b}[0m
  \u{1b}[0m\u{1b}[34m│\u{1b}[0m
  \u{1b}[0m\u{1b}[34m=\u{1b}[0m You could replace it with:
        1. \u{f0219} U+F0219 nf-md-file_document
```
<24 lines omitted>
```
         2. \u{e65d} U+E65D nf-seti-git
         3. \u{f1d3} U+F1D3 nf-fa-git
         4. \u{e702} U+E702 nf-dev-git

\u{1b}[0m\u{1b}[1m\u{1b}[38;5;10mnote\u{1b}[0m\u{1b}[1m: Found obsolete icon U+F9E8\u{1b}[0m
   \u{1b}[0m\u{1b}[34m┌─\u{1b}[0m tests/test-data.txt:14:15
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m
\u{1b}[0m\u{1b}[34m14\u{1b}[0m \u{1b}[0m\u{1b}[34m│\u{1b}[0m nf-mdi-tab = \"\u{1b}[0m\u{1b}[32m裡\u{1b}[0m\"
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m               \u{1b}[0m\u{1b}[32m^^\u{1b}[0m \u{1b}[0m\u{1b}[32mIcon \'nf-mdi-tab\' is marked as obsolete\u{1b}[0m
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m
   \u{1b}[0m\u{1b}[34m=\u{1b}[0m You could replace it with:
         1. \u{f04e9} U+F04E9 nf-md-tab
         2. \u{f523} U+F523 nf-oct-tab
         3. \u{f04eb} U+F04EB nf-md-table
         4. \u{f0ba0} U+F0BA0 nf-md-gitlab

\u{1b}[0m\u{1b}[1m\u{1b}[38;5;10mnote\u{1b}[0m\u{1b}[1m: Found obsolete icon U+FC0A\u{1b}[0m
   \u{1b}[0m\u{1b}[34m┌─\u{1b}[0m tests/test-data.txt:17:27
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m
\u{1b}[0m\u{1b}[34m17\u{1b}[0m \u{1b}[0m\u{1b}[34m│\u{1b}[0m nf-mdi-rhombus_outline = \"\u{1b}[0m\u{1b}[32mﰊ\u{1b}[0m\"
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m                           \u{1b}[0m\u{1b}[32m^\u{1b}[0m \u{1b}[0m\u{1b}[32mIcon \'nf-mdi-rhombus_outline\' is marked as obsolete\u{1b}[0m
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m
   \u{1b}[0m\u{1b}[34m=\u{1b}[0m You could replace it with:
         1. \u{f070c} U+F070C nf-md-rhombus_outline
         2. \u{f0ba6} U+F0BA6 nf-md-help_rhombus_outline
         3. \u{f11cf} U+F11CF nf-md-alert_rhombus_outline
         4. \u{f14dd} U+F14DD nf-md-rhombus_split_outline

\u{1b}[0m\u{1b}[1m\u{1b}[38;5;10mnote\u{1b}[0m\u{1b}[1m: Found obsolete icon U+F554\u{1b}[0m
   \u{1b}[0m\u{1b}[34m┌─\u{1b}[0m tests/test-data.txt:20:29
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m
\u{1b}[0m\u{1b}[34m20\u{1b}[0m \u{1b}[0m\u{1b}[34m│\u{1b}[0m nf-mdi-arrow_right_thick = \"\u{1b}[0m\u{1b}[32m\u{f554}\u{1b}[0m\"
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m                             \u{1b}[0m\u{1b}[32m^\u{1b}[0m \u{1b}[0m\u{1b}[32mIcon \'nf-mdi-arrow_right_thick\' is marked as obsolete\u{1b}[0m
   \u{1b}[0m\u{1b}[34m│\u{1b}[0m
   \u{1b}[0m\u{1b}[34m=\u{1b}[0m You could replace it with:
         1. \u{f0055} U+F0055 nf-md-arrow_right_thick
         2. \u{f09c6} U+F09C6 nf-md-arrow_top_right_thick
         3. \u{f19b0} U+F19B0 nf-md-arrow_right_thin
         4. \u{f09ba} U+F09BA nf-md-arrow_bottom_right_thick

```

stderr=""
', /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/ops/function.rs:250:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    check

test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s

error: test failed, to rerun pass `--test cli`

Autofix yes flag does not seem to be working

Hi,

I'm using

$ nerdfix --version
nerdfix 0.2.3
cheat-sheet: 634e151

To autofix a file containing icons at /tmp/all2 by running nerdfix fix -y /tmp/all2 but it seems to prompt me interactively no matter what I try.

Add support for checking folders

Thanks for this useful project! What do you think about adding support for folders when using the nerdfix check / nerdfix fix commands in which case the command would be applied to all the files in the directory recursively? This would allow something like nerdfix check ~/.local/share/nvim to check all Nvim configuration files.

Suggest replacement for F719

First of all I want to say thank you for this great tool! 🥇
This really helps Nerd Fonts to help others with the painful transition to the new codepoints.
I would add you as contributor to Nerd Font, if you agree.

On this Issue topic:
Via Gitter I just had the question where F719 is. This is what nerdfix says:

image

The direct replacement for F719 (file_document_box) is F021A (text_box).
(They renamed the icon.)

I do not know if nerdfix has the possibility to handle pairs that have not-similar names, so maybe this is not possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.