Git Product home page Git Product logo

commands's Introduction

Commands

List of usefull shorthands found in the Internet

Windows

Windows version

  • In command prompt or powershell:
wmic os get caption
wmic os get osarchitecture
doskey nameofmacro="path/to/executable.bat"
doskey nameofalias="nameofcommand"

Python

  • MySQL

    • For install MySQL Database Connector: pip install mysql-python
    • For use it in Python program: import MySQLdb
  • Pip Package

    • For install fake data population scripts: pip install Faker
    • For install flask API framework: pip install flask
    • For install virtual env: pip -m install virtualenv
    • For install flask & Flask-REST: pip install Flask-RESTful
    • For Auth & Logging in Flask: pip install Flask-JWT
  • For create a new env python -m venv path/to/virtual/environment

Django

  • For start environment: path/to/env/scripts/activate.bat
  • For stop environment: path/to/env/scripts/deactivate.bat
  • For create a new project: django-admin startproject nameofproject
  • For run server in a project directory: python manage.py runserver
  • For create a new app inside a project: python manage.py startapp app_name
  • Create the SQL database from models: python manage.py migrate
  • Register the changes of Models to the app: python manage.py makemigrations nameofapp
  • Create a super user: python manage.py createsuperuser

NodeJS

  • For install React: npm install -g create-react-app
  • For install tachyons: npm install --save tachyons
  • For install Redux: npm install --save redux
  • For install the connector between React & Redux: npm install --save react-redux
  • For install the Middleware between Actions & Reducers in Redux: npm install --save-dev redux-logger
  • For install enzyme testing package: npm install --save enzyme-adapter-react-{version}
    • {version} means the number of the version of React project where we want to install on it.
  • For install styled-components library for React: npm install --save styled-components
  • For install font-awesome icons:
    • npm i --save @fortawesome/fontawesome-svg-core
    • npm i --save @fortawesome/free-solid-svg-icons
    • npm i --save @fortawesome/react-fontawesome
    • npm i --save @fortawesome/fontawesome-free-solid
    • npm i --save @fortawesome/fontawesome-free-brands
    • npm i --save @fortawesome/fontawesome-free-regular

ReactJS

  • Usage of font-awesome icons inside a component:
    - import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
    - import { faFacebook, faTwitter } from '@fortawesome/fontawesome-free-brands';
    - import { faEnvelope, faPhoneSquare } from '@fortawesome/fontawesome-free-solid';
    
    • JSX usage: <FontAwesomeIcon icon={faFacebook} />

commands's People

Contributors

rafaelrojascov avatar

Watchers

James Cloos avatar  avatar

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.