npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cptit-submit

v1.0.9

Published

(by n0xgg04)

Downloads

446

Readme

CODE PTIT SUBMIT

(by n0xgg04)

Này để làm gì?

À, khi làm code ptit, có phải bạn phải save file, sau đó qua trang code ptit nộp và chờ kết quả có phải không? Nếu bạn thấy điều này bình thường, không quá nhọc thì tool này không dành cho bạn... Tool này giúp bạn submit code lên codeptit chỉ cần code bạn có dòng đầu tiên chứa mã bài và tên code có chứa main. Ví dụ main.py, main.java

Ví dụ:

main.py

#PY10123

...code 

Để nộp code, bạn chỉ cần

npx cptit-submit

Lần đầu sử dụng, tool sẽ yêu cầu bạn cung cấp thông tin đăng nhập. Đăng nhập vào thôi!

Nếu trong kỳ học, bạn có hơn 1 môn code, bạn sẽ cần chọn khoá (course) để tool biết sẽ nộp vào môn học nào. Sử dụng mũi tên lên xuống trên bàn phím để lựa chọn, ấn Enter để xác nhận.

Kiểu:

? Select target course:
  Default: Học kỳ 1 năm học 2024 - 2025
❯ Lập trình hướng đối tượng - Nhóm 12
  Lập trình với Python - Nhóm 08
  Thuật toán và ứng dụng nâng cao - Nhóm THUẬT TOÁN NÂNG CAO - 2024

Oke và chờ kết quả thôi... Ví dụ:

Login to B22DCCN021...!
COURSE: Lập trình với Python - Nhóm 08
⠙ Submiting PY01005...
⠇ Submiting PY01005...
Submited PY01005
┌──────────┬────────────────────┬───────────────┬──────────┬──────────┬──────────┬──────────┬───────────────┐
│ Problem  │ Problem Name       │ Date          │ Time     │ Result   │ Memory   │ Run Time │ Compiler      │
├──────────┼────────────────────┼───────────────┼──────────┼──────────┼──────────┼──────────┼───────────────┤
│ PY01005  │ SỐ MAY MẮN         │ 2024-09-02    │ 23:42:58 │ IR       │ 9388Kb   │ 0.03s    │ Python 3      │
└──────────┴────────────────────┴───────────────┴──────────┴──────────┴──────────┴──────────┴───────────────┘

Từ lần 2, nếu muốn submit bài đó tiếp, chỉ cần ấn mũi tên lên ở terminal và ấn Enter, tool sẽ khi nhớ môn học, và chỉ hỏi lại khi bạn reset để đổi môn.

Chọn lại course:

Chạy lệnh:

npx cptit-submit -c

Đăng nhập tài khoản khác :

Chạy lệnh:

npx cptit-submit -r

Code hơi bẩn do tớ bận vler, rảnh rảnh code cho vui thôi nên đừng soi làm gì:))