Giter VIP home page Giter VIP logo

myworkflow's People

Contributors

felipesdeveloper avatar

Watchers

 avatar  avatar

myworkflow's Issues

Atualizar settings do vscode

{
  "editor.autoIndent": false,
  "editor.fontSize": 15,
  "editor.formatOnPaste": false,
  "editor.tabCompletion": "on",
  "editor.tabSize": 2,
  "editor.renderWhitespace": "all",
  "editor.wordWrap": "on",
  "editor.rulers": [80, 120],
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },
  "eslint.validate": [
    {
      "language": "html",
      "autoFix": true
    },
    {
      "language": "javascript",
      "autoFix": true
    },
    {
      "language": "javascriptreact",
      "autoFix": true
    },
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "typescriptreact",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "explorer.autoReveal": false,
  "files.insertFinalNewline": true,
  "files.trimTrailingWhitespace": true,
  "javascript.updateImportsOnFileMove.enabled": "always",
  "search.exclude": {
    "/node_modules": true,
    "/bower_components": true,
    "**/dist": true
  },
  "workbench.colorTheme": "One Dark Pro",
  "workbench.iconTheme": "vscode-icons",
  "formate.verticalAlignProperties": false,
  "workbench.sideBar.location": "right",
  "typescript.updateImportsOnFileMove.enabled": "always",
  "editor.formatOnSaveMode": "modifications"
}

add snippets

{
	"functional component": {
		"prefix": "rfc",
		"body": [
			"import React from 'react';",
			"",
			"interface Props {",
			"  example: string;",
			"}",
			"",
			"const ${1:Name}: React.FC<Props> = (props: Props) => <>{props.example}</>;",
			"",
			"export default ${1};",
			"",
		]
	},
	"container component": {
		"prefix": "rcc",
		"body": [
			"import React from 'react';",
			"import { connect } from 'react-redux';",
			"import { ${1:AppStateInterface} } from '../../store';",
			"",
			"interface StateProps {",
			"  example: string;",
			"}",
			"",
			"const ${2:Name}: React.FC<StateProps> = (props: StateProps) => <>{props.example}</>;",
			"",
			"const mapStateToProps = (state: ${1}): StateProps => ({",
			"  example: state.example,",
			"});",
			"",
			"export default connect(mapStateToProps)(${2});",
			"",
		]
	},
	"styled components": {
		"prefix": "stld",
		"body": [
			"import styled from 'styled-components';",
			"",
			"export const ${1:Name} = styled.${2:tagName}`",
			"${3}",
			"`;",
			"",
		]
	},
	"import export component": {
		"prefix": "iexpt",
		"body": [
			"export { ${2:default} } from './${1:ComponentName}';",
			""
		]
	},
	"import": {
		"prefix": "impt",
		"body": [
			"import {${2}} from './${1}';",
			""
		]
	},
}

add alias

alias dev="git checkout develop"
alias mas="git checkout master"

Servidor

Com o plugin Live Server, conseguimos criar um servidor com base no arquivo ou pasta que vc está

gitconfig

; I removed the [user] block on purpose so other people don't copy it by mistake
; you will need to set these values
[apply]
    whitespace = fix
[color]
    ui = auto
[color "branch"]
    current = yellow reverse
    local = yellow
    remote = green
[color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red bold
    new = green bold
[color "status"]
    added = yellow
    changed = green
    untracked = cyan
[diff]
    tool = vimdiff
[merge]
    log = true
    tool = vimdiff
[difftool]
    prompt = false
[push]
    ; "simple" avoid headaches, specially if you use `--force` w/o specifying branch
    ; see: http://stackoverflow.com/questions/13148066/warning-push-default-is-unset-its-implicit-value-is-changing-in-git-2-0
    default = simple
[url "git://github.com/"]
    insteadOf = "github:"
[url "[email protected]:"]
    insteadOf = "gh:"
    pushInsteadOf = "github:"
    pushInsteadOf = "git://github.com/"
[core]
    ; setting the editor fixes git commit bug http://tooky.co.uk/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html
    editor = /usr/local/bin/vim
[alias]
    ; basic logging for quick browsing
    ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%cn]" --decorate
    ; shortcuts
    cp = cherry-pick
    st = status
    cl = clone
    cm = commit
    ch = checkout
    br = branch
    d = diff --cached
    f = fetch origin
    fh = !git fetch origin && git reset --hard FETCH_HEAD
    alias = config --get-regexp alias
[user]
	email = [email protected]
	name = Felipe Sousa
``'

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.