npm install --save-dev @commitlint/cli @commitlint/config-conventional
commitlint.config.js
module.exports = {
extends: ['@commitlint/config-conventional']
}
#define MaxCola 100 | |
class Cola | |
{ | |
private: | |
int num_datos; | |
char vector[MaxCola]; | |
public: | |
Cola(); |
import random | |
n_random = random.randint(1, 250) | |
times = 0 | |
list = [] | |
n = 0 | |
while n != n_random and times < 13: | |
n = int(input("Ingresa el número: ")) | |
list.append(n) | |
import java.util.Scanner; | |
public class Examen { | |
public static void main(String[] args) { | |
int t = 3, opc, salary; | |
String name, workerType; | |
Scanner sc = new Scanner(System.in); | |
while (t-->0) { | |
System.out.println(""" |
#include <vector> | |
#include <iostream> | |
#define vii vector< vector<int> > | |
using namespace std; | |
void create_graph(int nodes, vii &graph) | |
{ | |
for (int i = 0; i < nodes; i++) |
npm install --save-dev @commitlint/cli @commitlint/config-conventional
commitlint.config.js
module.exports = {
extends: ['@commitlint/config-conventional']
}
{ | |
"arrowParens": "always", | |
"bracketSameLine": false, | |
"bracketSpacing": true, | |
"embeddedLanguageFormatting": "auto", | |
"htmlWhitespaceSensitivity": "css", | |
"insertPragma": false, | |
"jsxSingleQuote": true, | |
"printWidth": 80, | |
"proseWrap": "preserve", |
// | |
// Created by thisismyemm4 on 13/04/23. | |
// | |
#include <bits/stdc++.h> | |
// ─╔╗╔╗────────────────╔═══╗─────╔═══╦═╗╔═╗╔═╗ | |
// ╔╝╚╣║────────────────║╔══╝─────║╔═╗║║╚╝║║║╔╝ | |
// ╚╗╔╣╚═╦╦══╦╦══╦╗╔╦╗─╔╣╚══╦╗╔╦╗╔╣║─║║╔╗╔╗╠╝╚╦══╗ | |
// ─║║║╔╗╠╣══╬╣══╣╚╝║║─║║╔══╣╚╝║╚╝║╚═╝║║║║║╠╗╔╣══╣ | |
// ─║╚╣║║║╠══║╠══║║║║╚═╝║╚══╣║║║║║║╔═╗║║║║║║║║╠══║ |
import java.io.BufferedInputStream; | |
import java.io.PrintWriter; | |
public class Tecno02 { | |
public static void main(String[] args) throws Exception { | |
PrintWriter pw = new PrintWriter(System.out); | |
FastScanner sc = new FastScanner(); | |
int d = 0, r = 0; | |
int f = sc.nextInt(); |
package com.ob.restapp.config; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.web.servlet.view.InternalResourceViewResolver; | |
import springfox.documentation.builders.PathSelectors; | |
import springfox.documentation.builders.RequestHandlerSelectors; | |
import springfox.documentation.service.ApiInfo; | |
import springfox.documentation.spi.DocumentationType; | |
import springfox.documentation.spring.web.plugins.Docket; |
import pathlib | |
def rename_file(book_name, new_book_name): | |
path = pathlib.Path('.') | |
for file in path.iterdir(): | |
if file.name.__contains__(book_name): | |
try: | |
new_file_name = f'{new_book_name} {file.name[-8:-5]}{file.suffix}' |