Coder Social home page Coder Social logo

deluks2006 / purr-fetch Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 8.0 75 KB

Idk why I made this...

Python 5.08% Rust 9.53% C++ 11.06% C 12.06% Java 9.49% Haskell 8.12% JavaScript 11.81% Shell 2.32% Go 5.17% Makefile 5.44% Assembly 19.92%
fetch linux system-fetch

purr-fetch's Introduction

Just a Nerd...

That guy that mainly codes in C/C++.

┌[deluks@baltazar]-(~)
└> about-fetch
deluks@baltazar
-----------------
Name: DeLuks
OS: Arch Linux / Windows 11
Languages: ["C", "ASM", "Python",
            "Go", "ST/SCL", "SQL"]

Interests: ["Malware Analysis", "Linux", "Windows Internals",
            "Malware Dev", "ASCII Art", "Driver Development"]

Uptime: 18 Years

Stats:


Skills

purr-fetch's People

Contributors

deluks2006 avatar einskatze avatar fs-99 avatar glitchingcore avatar itepastra avatar jayvesmir avatar piterdev avatar qwystal avatar tausif-fardin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

purr-fetch's Issues

Ruby

It's so red and shiny. I must have it

ASM

The other languages are too high level for my liking

Nix

I wonder if Nix, the language, can do this.

Go

It's almost like C, but with a GC and nice tooling

[Improvement] Use /etc/issue.net instead of /etc/issue

We could use /etc/issue.net instead of /etc/issue - on my Debian WSL Machine, it has less useless line breaks and it might fix the problem that Windows Terminal still displays "\n \l" as seen here.

Might work on it later.
Can someone check, if it's the same "behaviour" on their distro?

Perl

The glue language of the gods

Uptime value in fetch.rs

Issue

The uptime value in fetch.rs seems to differ from the value given by uptime command.
image

Possible reason

Purr-Fetch/fetch.rs

Lines 16 to 18 in a0895d2

let secs = upsecs % 60.0; // calculate the seconds
let mins = (upsecs / 60.0) % 60.0; // calculate the minutes
let uptime = format!("{mins:.0}m {secs:.1}s"); // mak it butiful

Possible solution

let secs = upsecs % 60.0; // calculate the seconds
let mins = (upsecs / 60.0); // calculate the minutes
let uptime = format!("{mins:.0}m {secs:.1}s"); // mak it butiful

or

let secs = upsecs % 60.0; // calculate the seconds
let mins = (upsecs / 60.0) % 60.0; // calculate the minutes
let hours = upsecs / (60.0 * 60.0); // calculate the hours
let uptime = format!("{hours:.0}h {mins:.0}m {secs:.1}s"); // mak it butiful

Nix flake

If we make a flake for every version, that's nice for nix users (me)

Lua

Factorio mods are made in Lua, it must be a great language

Elixir

Alchemy doesn't work, but the language might

Ocaml please

Haskell is too old-school, but I do want a functional version to use

Gleam

It's a language on the erlang VM, functional and for web dev

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.