Skip to content

Instantly share code, notes, and snippets.

View lccalluchi's full-sized avatar
:shipit:
Stay cool

Luis Dev lccalluchi

:shipit:
Stay cool
  • Perú - Arequipa
View GitHub Profile
/*
* Autor: Luis Alberto Ccalluchi Lopez
*
* ============================================================================
* COMPILACIÓN:
* ============================================================================
*
* g++ -o minimizar_afd main.cpp
*
* ============================================================================
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <set>
#include <map>
#include <vector>
#include <queue>
#include <algorithm>
pipeline {
agent any
environment {
REPO_DIR = '/home/projects/dock-fastmvp' // Ruta completa a tu proyecto
}
stages {
stage('Prepare Repository') {
steps {
script {
// Verificar si el directorio existe, y si no, crearlo
import React from "react";
import { FieldError, SubmitHandler, useForm } from "react-hook-form";
import {
numberAutoFormat,
isNotDate,
dateAutoFormat,
} from "../../../../../../utilities";
type Inputs = {
name: string;
@lccalluchi
lccalluchi / index.css
Created October 17, 2023 14:18
Estilos para formulario - Payme “Pay-me flex”
div.flex-capture div.field>label {
display: block;
}
div.flex-capture form {
font-family: var(--font-upch);
}
div.flex-capture .submit>button:disabled {
background: #ced4da !important;
border: 1px solid #ced4da !important;
@lccalluchi
lccalluchi / recomendada.Dockerfile
Created May 15, 2022 14:49 — forked from Klerith/recomendada.Dockerfile
NextJS - Dockerfile - Configuración simple y recomendada
# Fuente: https://github.com/vercel/next.js/blob/canary/examples/with-docker/README.md
# Install dependencies only when needed
FROM node:16-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
#include<iostream>
#include<glad/glad.h>
#include<GLFW/glfw3.h>
int main()
{
// Inicializar GLFW
glfwInit();
const data = [
{ x: 4.75, y: 4 },
{ x: 4.5, y: 3 },
{ x: 5, y: 5 },
{ x: 4.25, y: 2 },
{ x: 4, y: 1 },
];
function main() {
let xy = 0;
@extends('adminlte::page')
@section('title', 'Grupo Colitas Arequipa')
@section('content_header')
<h1>Listado de Posts</h1>
@stop
@livewireScripts // Agrega los sripts de liveWire
#include <atomic>
#include <iostream>
#include <math.h>
using namespace std;
template <typename T>
T fetch_pow(atomic<T> &, T);
int main()
{