Skip to content

Instantly share code, notes, and snippets.

View guigonzalezz's full-sized avatar
👺
ARISE!

Guilherme Gonzalez guigonzalezz

👺
ARISE!
View GitHub Profile
@guigonzalezz
guigonzalezz / jsonService.java
Last active June 11, 2022 23:16
Reading a JSON starting with a Array of Objects using org.json on SpringBoot
@Service
public class JsonService{
private final String MyJSON = "C:/Put your file path here";
private List<Person> people = new ArrayList<Person>();
@Autowired
public JsonService() {
try {
Path filePath = Path.of(MyJSON);
@guigonzalezz
guigonzalezz / primalgoritmo.ipynb
Last active May 19, 2022 23:24
Prim's Algorithm for Minimum and Maximum Spanning Tree using Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@guigonzalezz
guigonzalezz / cnn_cifar10.ipynb
Last active May 15, 2022 05:10
Neural network CNN(extra K-fold Cross Validation) with CIFAR-10 dataset
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@guigonzalezz
guigonzalezz / cleardb_heroku.sql
Created March 20, 2022 05:37
Why MySQL auto_increment jumps at 10 in ClearDB and how to preset to value 1
#documentation
#https://w2.cleardb.net/faqs/#general_16
#Show the value of auto_increment variable, which start with 10
SHOW VARIABLES LIKE 'auto_inc%';
#Set the value to 1
SET @@auto_increment_increment=1;
#If u want to make a certain table to start or jump over to a specific id do this