Skip to content

Instantly share code, notes, and snippets.

View gusanthiago's full-sized avatar

Gustavo Santos Thiago gusanthiago

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
=__ Gerenciamento de Ambientes __
Listar os ambientes criados:
$ conda info --envs
Criar um novo ambiente:
$ conda create --name <nome> <pacote_1> <pacote_2> ...
Clonar um ambiente existente:
$ conda create --name <nome> --clone <ambiente_previamente_criado>
node('php') {
stage('Check Java version') {
sh 'java -version'
}
stage('Current time') {
sh 'date'
}
}
## Server
server.port=8082
server.servlet.context-path=/springRestSecurity
## Logging
# Show sql statement
logging.level.org.hibernate.SQL=debug
# Show sql values
logging.level.org.hibernate.type.descriptor.sql=trace
const insertNewElementInOrderedArray = (orderedArray, newElement) => {
const size = orderedArray.length;
if (size === 0) {
return [newElement];
}
if (newElement < orderedArray[0]) {
orderedArray.unshift(newElement);
return orderedArray;
}
for (let i=1; i < size; i++) {
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
map<string, bool> queenMap;
int getSquaresInDirection(int n, int iQueen, int jQueen, pair<int, int> direction) {