This file contains 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
$(window).resize(function () { | |
if ($(window).width() < 992) { | |
} | |
}); |
This file contains 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
//Remove push effect in a button on IE 11 | |
button { | |
&:active { | |
position: relative; | |
top: -1px; | |
left: -1px; | |
} | |
} |
This file contains 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
https://byteslivres.com.br/blog/exibir-branch-atual-git-no-terminal-linux/ |
This file contains 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
#whatever:after { | |
content:"\24B6"; | |
display: inline-block; | |
-webkit-transform: rotate(30deg); | |
-moz-transform: rotate(30deg); | |
-o-transform: rotate(30deg); | |
-ms-transform: rotate(30deg); | |
transform: rotate(30deg); | |
} |
This file contains 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
@mixin ie() { | |
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
@content; | |
} | |
} | |
.className { | |
display: inline-block; | |
@include ie() { |
This file contains 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
1. Chamar imagem no .jsx: | |
import foto6 from '../images/foto6.jpg' | |
<img src={foto6} className="img-fluid" /> | |
2. Importar componente em pagina: | |
import React, { Component } from 'react' | |
import Content from '../content/content' |
This file contains 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
- Crie uma pasta no c: com o nome "mongodb" e instale nessa pasta | |
- Crie o diretorio vazio na raiz do c: "data/db" | |
- rode o mongo e depois o mongod no CMD e seja feliz \o/ |
This file contains 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
#mongoimport | |
#Siga os seguintes passos no prompt de comando: | |
#Entre no diretorio C:\mongodb\bin> | |
#Execute o comando mongoimport.exe | |
C:\mongodb\bin>mongoimport.exe | |
#instancie o mongoimport.exe e passe o caminho onde está localizado o arquivo json: |
This file contains 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
// PARA INICIAR NODE, ABRA O CMD, DIGITE: | |
node | |
//para verificar versão | |
node -v | |
//CRIAR SERVIDOR | |
var http = require('http'); | |
var arquivo = require('fs'); | |
var url = require('url'); |
This file contains 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
f1ss1on commented: | |
OK, after playing around a bit, and using suggestions from PendragonDevelopment and nuVoid, I was able to get it working properly on Windows 7 x86 and Windows 7 x64. The steps for doing it are correct. | |
First you need to make sure you have Java installed. If not, go to http://java.com/en/download/chrome.jsp?locale=en, and install. | |
Next open the [ScoutInstallDir]\javascripts\app\process_interaction.js and change line 95 to have the path exactly as follows: | |
Windows 7 x86 "C:\\Program Files\\Java\\jre7\\bin\\java.exe" (NOTE: THE PATH NEEDS TO HAVE DOUBLE BACKSLASHES IN IT.) | |
Windows 7 x64 "C:\\Program Files (x86)\\Java\\jre7\\bin\\java.exe" | |
Now You should be golden. |
NewerOlder