Coder Social home page Coder Social logo

dots's People

Contributors

betafcc avatar

Stargazers

 avatar

Watchers

James Cloos avatar

dots's Issues

Split installs.sh in chunks of independent dockerfiles

It's better for testing and for referencing individual parts of my setup, eg dockerfiles/python contains everything about pyenv, pipenv and jupyter setup

The first reason I noted for this is the confusion around apt-get dependencies, as of now, I don't know which is which

Also, a merged dockerfile can be made using any dockerfile-parser (saw one in npm for instance) and the pure-bash script can be easely made as well, maybe fusing and hoisting all the apt stuff and adding all the ENV to ~/.bashrc

Proper emacs bin wrapper

Should handle automatically resolving between normal emacs bin and emacsclient
Also add option to read buffer from stdin (how does this not exist already?)

  • handle buggy TERM and XLIB args
  • Call it emax and put it in PATH
  • Default to terminal mode
  • Add --stdin [mode] flag
    Just create a temporary file and open it, renaming the buffer to *stdin*
    Optional mode parameter to start in given major mode
  • Add -a [d | n | daemon | new]
    Without this flag, this wrapper must default to 'auto daemon' ie, open in emacsclient mode if a daemon is running, otherwise, open a new instance but do not initiate a hanging daemon.
    -a d to force the start of a daemon (and so, leave it running after closing)
    -a n to force the creation of an idependent instance (even if a daemon is running)

Wishlist/TODO

  • Infinite Bash history
  • Path setting centralization (as of today, I feel this is way superior than 'topical' path setting)
  • Personal bin folder centralized
  • Variable exporting centralization
  • no aliases (and document the problems I'm having with them)
  • .profile
  • sh/bash and interactive/login shell conditionals indicated and organized
  • C-l to clear+toggle alwaysontop or similar on bash
  • sync.sh script to fetch the settings files scattered though my system to their respective folder in this repo
  • fd + fzf integration

Refactors cliz to be more general-purpose

mental note: dont need to make a real project out of this, just do it in the current single file

cliz should be generalized to a configurable cli interface for python functions, the core is only the argument syntax:
cliz [processor...]
with processor being:
-<command> [args...]

eg:
cliz -sliding_window 4 -take 2 -map sum -sum

cliz should now be easily configurable with the following functions:

def comands() -> Dict[str, Callable]:
    '''Returns the namespace in which <command> will be looked up'''

def expand_args(*args : str) -> [str]:
    '''
    Expand macros in the args for each <command>
    eg: `cliz -map '$ ** 2'` will pass ['$ ** 2'] as `args`,
    and can be exanded to `lambda __macro_arg: __macro_arg ** 2` 
    '''

def scope() -> Dict[str, Any]:
    '''
    Returns the local variable in which 'args' will have acess
    eg: `cliz -map foo` the `foo` should come from here
    '''

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.