git config --global core.editor "subl -n -w"
git config --global merge.tool "smerge"
git config --global mergetool.smerge.cmd 'smerge mergetool "$BASE" "$LOCAL" "$REMOTE" -o "$MERGED"'
git config --global diff.tool smerge
git config --global difftool.smerge.cmd 'smerge "$BASE" "$LOCAL" "$REMOTE" -o "$MERGED"'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<label for="phone">Telefone <span class="required">*</span></label> | |
<input type="text" class="form-control" id="phone" name="phone" placeholder="(99) 9999-9999" pattern="(\([0-9]{2}\))\s([9]{1})?([0-9]{4})-([0-9]{4})" title="Número de telefone precisa ser no formato (99) 9999-9999" required="required" /> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by: moehlone | |
* https://gist.github.com/moehlone/bed7dd6cb38fc55bd640 | |
*/ | |
/** | |
* Creates a read/writable property which returns a function set for write/set (assignment) | |
* and read/get access on a variable | |
* | |
* @param {Any} value initial value of the property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------------------------ | |
** WEB SAFE COLORS | |
Array JavaScript com todos os nomes das cores seguras | |
para web, da HTML. | |
** extraído por Thiago Teles | |
** twitter: @Black_codenauta | |
** https://www.w3schools.com/colors/color_tryit.asp (source) | |
-------------------------------------------------------------*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp'), | |
babel = require('gulp-babel'), | |
clean = require('gulp-clean'), | |
cssnano = require('gulp-cssnano'), | |
autoprefixer = require('gulp-autoprefixer'), | |
htmlmin = require('gulp-htmlmin'), | |
svgo = require('gulp-svgo'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'); |
$ ember install ember-cli-postcss # Install ember-cli-postcss
$ npm install --save-dev tailwindcss # Install tailwindcss
$ npx tailwind init app/styles/tailwind.config.js # Optional: Generate a Tailwind config file for your project
$ npm install -save-dev postcss-import # Optional: If you want to use the @import statement