Code Monkey home page Code Monkey logo

automation-shortcuts's Introduction

๐Ÿ› โš™๏ธ๐Ÿ›  Automation for Dev's ๐Ÿ› โš™๏ธ๐Ÿ› 

A place for developers to use and contribute ways to help them in their daily dev life.

As per my post, to start this off, I will be documenting when and where I can automate work and provide shortcuts to make daily dev life just that little bit easier so that I/we can focus on the things that really matter.

How this will work

  1. New issue for each problem that could be solved with automation/shortcut
  2. Each issue will have the context and a solution to go with it.

How can you help?

  1. Provide solutions to the issue's already submitted
  2. Provide alternate solutions to the solutions already provided
  3. Provide new issues that arise in the work you do on a daily basis

automation-shortcuts's People

Contributors

danielvanc avatar

Watchers

 avatar  avatar  avatar

automation-shortcuts's Issues

Terminal shortcuts

Context to the problem
With all the commands we use in the Terminal, on a day to day basis, it would be allot easier to use more meaningful / smaller shortcuts to reduce memory load and well, less typing...

To Reproduce
Some typical examples include

  1. git commit -am "Some useful commit message"
  2. gatsby build && gatsby serve
  3. browser-sync start --server --files **/*.*

Solution
Some examples of what I use. To use, enter the alias name at the command prompt.

alias dev='code /Applications/MAMP/htdocs/dev'
alias work='/Applications/MAMP/htdocs/'
alias c='clear'
alias h='history'
alias lm='ls -GpF'
alias cy='npm run cypress'
alias gs='git status'
alias gc='git checkout'
alias gp='git push'
alias gpl='git pull'
alias gc='git commit -m'
alias ga='git add'
alias gaa='git add .'
alias ...='cd ../..'
alias bs='browser-sync start --server --files **/.'
alias zu='. ~/.zshrc'
alias p='parcel index.html'
alias ns='npm start'
alias ys='yarn start'
alias yb='yarn build'
alias yd='yarn develop'
alias nb='npm build'
alias nt='npm test'
alias yt='yarn test'
alias gbs='gatsby build && gatsby serve'
alias staging="ssh <user>@<ipaddress>"
alias prod="ssh <user>@<ipaddress>-p <port>"

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.