#GIT
- Modificado (modified);
- Preparado (staged/index)
- Consolidado (comitted);
| git clone <repo-address> | |
| git tag -l | |
| git checkout <tag-name> | |
| git branch -D master | |
| git checkout -b master |
├── app
│ ├── css
│ │ ├── **/*.css
│ ├── favicon.ico
│ ├── images
│ ├── index.html
│ ├── js
│ │ ├── **/*.js
│ └── partials/template| /** | |
| * Component that alerts if you click outside of it | |
| */ | |
| class OutsideAlerter extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.setWrapperRef = this.setWrapperRef.bind(this); | |
| this.handleClickOutside = this.handleClickOutside.bind(this); | |
| } |
| // Generate unique IDs for use as pseudo-private/protected names. | |
| // Similar in concept to | |
| // <http://wiki.ecmascript.org/doku.php?id=strawman:names>. | |
| // | |
| // The goals of this function are twofold: | |
| // | |
| // * Provide a way to generate a string guaranteed to be unique when compared | |
| // to other strings generated by this function. | |
| // * Make the string complex enough that it is highly unlikely to be | |
| // accidentally duplicated by hand (this is key if you're using `ID` |
| mssql: { | |
| client: 'mssql', | |
| connection: { | |
| host: Env.get('DB_HOST', ''), | |
| port: Env.get('DB_PORT', ''), | |
| user: Env.get('DB_USER', ''), | |
| password: Env.get('DB_PASSWORD', ''), | |
| database: Env.get('DB_DATABASE', ''), | |
| options: { | |
| encrypt: Env.get('DB_ENCRYPT', true) |
| var cfg = { | |
| authentication: { | |
| type: "default", | |
| options: { | |
| userName: _this.config.user, | |
| password: _this.config.password, | |
| } | |
| }, | |
| server: _this.config.server, | |
| options: (0, _assign2.default)({}, _this.config.options), |
| "workbench.colorCustomizations": { | |
| // Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast. | |
| "contrastActiveBorder": "", | |
| "contrastBorder": "", | |
| // Base Colors | |
| "focusBorder": "", | |
| "foreground": "", | |
| "widget.shadow": "", | |
| "selection.background": "", | |
| "descriptionForeground": "", |
| /* | |
| AWS implementation of SMS messaging | |
| A simple sample that can become a lib. | |
| */ | |
| // npm install aws-sdk -g | |
| const AWS = require('aws-sdk'); |