Giter VIP home page Giter VIP logo

dotfiles's People

Contributors

nui avatar

Watchers

 avatar

dotfiles's Issues

Prompt bug

when run this command, output is missing
</dev/urandom tr -dc '[:graph:]' | head -c 16

Merge ssh entrypoint into nmk.rs

ssh entrypoint was created long before the invent of rust's binary entrypoint. It's a time to remove it and merge it functionality into one unify entrypoint.

  • remove etc/ssh-entrypoint.sh
  • update etc/authorized_keys-options
  • add --ssh flag

Improve ssh entrypoint

If nmk is not present then ssh will fail to start a session.

  • add $GITROOT/ssh.sh to be an entrypoint for ssh session
  • ssh.sh will try to find nmk in know place, fall back to exec $SHELL

Merge bundle script

./bundle.sh and ./scripts/bundle-nmk-release should be merge into single script

Refactor nmk-update

Move update guard into nmk-update.py for the sake of maintenance wrapper script

nmkup

A single binary to setup nmk on remote machine

functionality

  • install/update entrypoint
  • install/update nmk

add init script like https://sh.rustup.rs

Alternative update & installation

Updating system depends on python installing on target machine, sometimes it not working unless that machine is restart.

Let create a new binary named nmkup which copy functionality of rustup. This binary will manage

  • nmk (the config)
  • entrypoint
  • nmkpkg
  • itself

nmk-inject fail

Python traceback

Traceback (most recent call last):
  File "restore-meta-data.py", line 11, in <module>
    base_metadata = json.loads(open(base_json_file).read())
FileNotFoundError: [Errno 2] No such file or directory: 'image/sha256:47af6ca8a14a27f98f16a1c1b3a5a875f5a8eeb48cbdb2353a1d8d7a3b3eaf9e/json'

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.