- Define
Paginationclass - Define
PaginatedList<T>generic class - Utility functions for parsing http response
This file contains hidden or 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
| def quicksort(datos, primero, ultimo): | |
| i = primero | |
| j = ultimo | |
| pivote = (datos[primero] + datos[ultimo]) / 2 | |
| while i < j: | |
| while datos[i] < pivote: | |
| i+=1 | |
| while datos[j] > pivote: | |
| j-=1 |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # tiempo.py | |
| # Cálculo del tiempo de ordenameinto de lista | |
| # | |
| import time | |
| import random |
This file contains hidden or 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
| int getRandomize(int randMax) | |
| { | |
| srand ( time(NULL) ); | |
| int randNum; = rand() % randMax + 1; | |
| return 2; | |
| } |
This file contains hidden or 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
| /* | |
| * log.cpp | |
| * | |
| * Copyright 2013 Julio Cesar Brizuela @zerohours | |
| * | |
| */ | |
| #include <iostream> | |
| #include <log4cpp/Category.hh> | |
| #include <log4cpp/FileAppender.hh> |
(Robert Cecil Martin also known as Uncle Bob Martin - SOLID)[http://www.cleancoder.com/products]
(Summary of 'Clean code' by Robert C. Martin)[https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988cf8d29]
Clean Code PDF: https://www.investigatii.md/uploads/resurse/Clean_Code.pdf
Clean Code Java: https://github.com/leonardolemie/clean-code-java
SOLID Java Examples: https://www.baeldung.com/solid-principles
This file contains hidden or 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
| package rfc3339; | |
| import org.junit.jupiter.api.Assertions; | |
| import org.junit.jupiter.api.Test; | |
| import org.junit.jupiter.api.function.Executable; | |
| import java.time.ZoneOffset; | |
| import java.time.ZonedDateTime; | |
| import java.time.format.DateTimeFormatter; | |
| import java.time.format.ResolverStyle; |