You need to do this if you try this command:
ssh -T git@github.com
and you get something that says
git@github.com: Permission denied (public key).
You need to do this if you try this command:
ssh -T git@github.com
and you get something that says
git@github.com: Permission denied (public key).
https://github.com/nvie/gitflow https://formulae.brew.sh/formula/git-flow
For more info: https://gist.github.com/orclev/db21dc1d848c231ea729
brew install git-flow
import psycopg2 | |
import psycopg2.extras | |
from flask_csv import send_csv | |
@app.route("/fake", methods=["GET"]) | |
def fake(): | |
desde = "01/01/2020" | |
hasta = "25/05/2020" | |
tipo = "whatsapp" | |
SLACK_WORKSPACE_URL = app.config.get("SLACK_WORKSPACE_URL") |
// Catch valores nulos | |
disabledUsersOnLDAP.stream() | |
.map(User::getUsername) | |
.map(usersRepository::findEnabledByUsername) | |
.filter(Objects::nonNull) // <-- Util | |
.forEach(userEntity -> userEntity.setEnabled(false)); | |
// Obtener el número máximo de una lista | |
Integer lastPaysheetPaymentId = lst.stream() | |
.mapToInt(VwRecalculatedRent::getPaysheetPaymentDetailId) |
10/10/19 | |
^\d{1,2}\/\d{1,2}\/\d{4}$ | |
^\d{2}\/\d{2}\/\d{4}$ --> dd/MM/yyyy | |
^\d{1}\/\d{1}\/\d{4}$ --> d/M/yyyy | |
^\d{1}\/\d{2}\/\d{4}$ --> d/MM/yyyy | |
^\d{2}\/\d{1}\/\d{4}$ --> dd/M/yyyy | |
^\d{2}\/\d{2}\/\d{2}$ --> dd/MM/yy |
// Convertir un número negativo en positivo. // = 1 | |
Math.abs(-1); | |
// revisar que un objeto no sea nulo cuando es pasado como paramétro | |
Long days = getDateDiff(Objects.requireNonNull(Time.parseStringToDate(date)), today); | |
// Obtener el int de un mes a partir de una fecha. | |
java.util.Date date= new Date(); | |
Calendar cal = Calendar.getInstance(); | |
cal.setTime(date); |
// Convertir todo la data de una tabla en un array | |
table.data().toArray(); | |
// OBETENER UNA COLUMNA EN ESPECIFICO COMO ARRAY | |
var ids = table.column(0).data().toArray(); | |
// Boolean, si la tabla especificada es dt o no. | |
$.fn.DataTable.isDataTable('#table_permission_days'); | |
// Integer Para saber si la tabla esta vacía |
$('#selUser').select2('readonly', true); // DESHABILITANDO UN SELECT2 | |
// PASANDO UNA LISTA A UN SELECT2 | |
var ids = tableDetail.column(0).data().toArray(); | |
initAsyncSelect2('selUser', CONSTANTS.routes.users.list, CONSTANTS.lang.users.rolePlaceholder,false, function () { | |
return { idUsersWithRoles: JSON.stringify(ids) }; // getting the id's | |
}); |
//https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/NumberFormat | |
var number = 123456.789; | |
// En el alemán la coma se utiliza como separador decimal y el punto para los millares | |
alert(new Intl.NumberFormat("de-DE").format(number)); | |
// → 123.456,789 | |
// En la mayoría de los países de lengua arábiga se utilizan también símbolos arábigos | |
alert(new Intl.NumberFormat("ar-EG").format(number)); |